public class JSONBusinessDataAttributeDTO extends BusinessDataAttributeDTO implements JSONBusinessAttributeDTO<BusinessDataAttribute,Object>
BusinessDataAttributeDTO to create JSON object for the ui side.acceptedFileTypes, decimalPlace, fileUpload, interval, maxValue, minValue, precision, range, roundingMode, uploadFolder, valuetypeattribute, calculation, costingRelevant, delayedUpdate, dimensionPossibeValueHeight, dimensionPossibleValueWidth, dimensionSelectionHeight, dimensionSelectionWidth, dynamicAttribute, dynamicAttributeMatrixColumnNumber, dynamicAttributeMatrixRowNumber, dynamicAttributeName, enumerable, error, getAttribute, getPosition, getValue, group, hasUIControl, hidden, ignoreValidationCheck, isHidden, isLink, length, mandatory, multiValued, orderRelevant, position, pricingRelevant, quoteRelevant, readOnly, subGroup, synchronizeAllowed, value| Constructor and Description |
|---|
JSONBusinessDataAttributeDTO() |
JSONBusinessDataAttributeDTO(BusinessDataAttributeDTO bdaDTO)
Instantiates a new JSON business data attribute dto.
|
| Modifier and Type | Method and Description |
|---|---|
static JSONBusinessDataAttributeDTO |
create(Map<String,URI> attribute)
JSON creator.
|
String |
getAcceptedFileTypes() |
BusinessDataAttribute |
getAttribute()
Gets the attribute.
|
Integer |
getDecimalPlace()
Gets the decimal place.
|
String |
getDynamicAttributeName()
Get Dynamic Attribute Name ${tags}
|
Boolean |
getFileUpload() |
List<String> |
getGroup()
Gets the group.
|
BigDecimal |
getInterval()
Gets the interval.
|
BigDecimal |
getMaxValue()
Gets the upper boundary.
|
BigDecimal |
getMinValue()
Gets the lower boundary.
|
Integer |
getPosition()
Gets the position.
|
Integer |
getPrecision()
Gets the precision.
|
List<Object> |
getRange()
Gets the range.
|
String |
getRoundingMode()
Gets the rounding mode.
|
List<String> |
getSubGroup()
Gets the sub group.
|
String |
getUploadFolder() |
List<Object> |
getValue()
Gets the value.
|
Type |
getValuetype()
Gets the valuetype.
|
boolean |
isCalculation() |
boolean |
isDynamicAttribute()
Is attribute a DA
|
boolean |
isEnumerable() |
boolean |
isHidden()
Checks if is hidden.
|
boolean |
isLink()
Checks if is link.
|
boolean |
isMandatory()
Checks if is mandatory.
|
boolean |
isMultiValued()
Checks if is multi valued.
|
boolean |
isReadOnly()
Checks if is read only.
|
boolean |
isSynchronizeAllowed()
Check if it is needed to update immediately.
|
void |
setAttribute(BusinessDataAttribute attribute)
Sets the attribute.
|
void |
setEnumerable(boolean enumerable) |
void |
setGroup(List<String> group)
Sets the group.
|
void |
setHidden(boolean hidden)
Sets the hidden.
|
void |
setInterval(BigDecimal interval)
Sets the interval.
|
void |
setLink(boolean isLink)
Sets the link.
|
void |
setMandatory(boolean mandatory)
Sets the mandatory.
|
void |
setMultiValued(boolean multiValued)
Sets the multi valued.
|
void |
setPosition(Integer position)
Sets the position.
|
void |
setPrecision(Integer precision)
Sets the precision.
|
void |
setRange(List<Object> range)
Sets the range.
|
void |
setReadOnly(boolean readOnly)
Sets the read only.
|
void |
setSubGroup(List<String> subGroup)
Set the sub group.
|
void |
setValue(List<Object> value)
Sets the value.
|
void |
setValuetype(Type valuetype)
Sets the valuetype.
|
String |
toString()
To string.
|
equals, hashCodedynamicAttributeName, getDynamicAttributeMatrixColumnNumber, getDynamicAttributeMatrixRowNumber, getError, getHasUIControl, getLength, isCostingRelevant, isDelayedUpdate, isOrderRelevant, isPricingRelevant, isQuoteRelevantgetError, getL10nKey, getRichTextDescriptionpublic JSONBusinessDataAttributeDTO()
public JSONBusinessDataAttributeDTO(BusinessDataAttributeDTO bdaDTO)
bdaDTO - the bda dtopublic static JSONBusinessDataAttributeDTO create(Map<String,URI> attribute)
attribute - the attributepublic String getAcceptedFileTypes()
public BusinessDataAttribute getAttribute()
getAttribute in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>getAttribute in class BusinessAttributeDTO<BusinessDataAttribute,Object>public Integer getDecimalPlace()
public String getDynamicAttributeName()
JSONBusinessAttributeDTOgetDynamicAttributeName in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public Boolean getFileUpload()
public List<String> getGroup()
JSONBusinessAttributeDTOgetGroup in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public BigDecimal getInterval()
public BigDecimal getMaxValue()
public BigDecimal getMinValue()
public Integer getPosition()
getPosition in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public Integer getPrecision()
public String getRoundingMode()
public List<String> getSubGroup()
JSONBusinessAttributeDTOgetSubGroup in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public String getUploadFolder()
public List<Object> getValue()
getValue in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>getValue in class BusinessAttributeDTO<BusinessDataAttribute,Object>public Type getValuetype()
public boolean isCalculation()
isCalculation in class BusinessAttributeDTO<BusinessDataAttribute,Object>public boolean isDynamicAttribute()
JSONBusinessAttributeDTOisDynamicAttribute in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>isDynamicAttribute in class BusinessAttributeDTO<BusinessDataAttribute,Object>public boolean isEnumerable()
isEnumerable in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public boolean isHidden()
isHidden in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public boolean isLink()
isLink in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public boolean isMandatory()
isMandatory in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public boolean isMultiValued()
isMultiValued in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public boolean isReadOnly()
isReadOnly in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public boolean isSynchronizeAllowed()
JSONBusinessAttributeDTOisSynchronizeAllowed in interface JSONBusinessAttributeDTO<BusinessDataAttribute,Object>public void setAttribute(BusinessDataAttribute attribute)
attribute - the new attributepublic void setEnumerable(boolean enumerable)
public void setHidden(boolean hidden)
hidden - the new hiddenpublic void setInterval(BigDecimal interval)
interval - the new intervalpublic void setLink(boolean isLink)
link - the new linkpublic void setMandatory(boolean mandatory)
mandatory - the new mandatorypublic void setMultiValued(boolean multiValued)
multiValued - the new multi valuedpublic void setPosition(Integer position)
position - the new positionpublic void setPrecision(Integer precision)
precision - the new precisionpublic void setReadOnly(boolean readOnly)
readOnly - the new read onlypublic void setSubGroup(List<String> subGroup)
subGroup - public void setValuetype(Type valuetype)
valuetype - the new valuetypepublic String toString()
toString in class BusinessAttributeDTO<BusinessDataAttribute,Object>