public class JSONBusinessRelationAttributeDTO extends BusinessRelationAttributeDTO implements JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
BusinessRelationAttributeDTO
.isUseLookupTable, range, rangeDto, useLookupTable, useLookupTableColumn, useLookupTableLocalisationColumn, useScriptForRangeValues, useThumbnail, valueDto
attribute, 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, valueImageUrls
Constructor and Description |
---|
JSONBusinessRelationAttributeDTO() |
JSONBusinessRelationAttributeDTO(BusinessRelationAttributeDTO bdaDTO)
Instantiates a new JSON business relation attribute dto.
|
Modifier and Type | Method and Description |
---|---|
static JSONBusinessRelationAttributeDTO |
create(Map<String,URI> attribute)
JSON Creator.
|
BusinessRelationAttribute |
getAttribute()
Gets the attribute.
|
String |
getDynamicAttributeName()
Get Dynamic Attribute Name ${tags}
|
List<String> |
getGroup()
Gets the group.
|
Integer |
getPosition()
Gets the position.
|
List<BusinessType> |
getRange()
Gets the range.
|
List<BusinessObjectDTO> |
getRangeDto()
Gets the value dto.
|
List<String> |
getSubGroup()
Gets the sub group.
|
String |
getUseScriptForRangeValues() |
List<BusinessObject> |
getValue()
Gets the value.
|
List<BusinessObjectDTO> |
getValueDto()
Gets the value dto.
|
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.
|
Boolean |
isUseThumbnail() |
void |
setAttribute(BusinessRelationAttribute attribute)
Sets the attribute.
|
void |
setEnumerable(boolean enumerable) |
void |
setGroup(List<String> group)
Sets the group.
|
void |
setHidden(boolean hidden)
Sets the hidden.
|
void |
setMandatory(boolean mandatory)
Sets the mandatory.
|
void |
setMultiValued(boolean multiValued)
Sets the multi valued.
|
void |
setPosition(Integer position)
Sets the position.
|
void |
setRange(List<BusinessType> range)
Sets the range.
|
void |
setRangeDto(List<BusinessObjectDTO> value) |
void |
setReadOnly(boolean readOnly)
Sets the read only.
|
void |
setSubGroup(List<String> subGroup)
Sets the sub group.
|
void |
setValue(List<BusinessObject> value)
Sets the value.
|
void |
setValueDto(List<BusinessObjectDTO> value)
Sets the value dto.
|
String |
toString()
To string.
|
equals, hashCode
dynamicAttributeName, getDynamicAttributeMatrixColumnNumber, getDynamicAttributeMatrixRowNumber, getError, getHasUIControl, getLength, isCalculation, isCostingRelevant, isDelayedUpdate, isOrderRelevant, isPricingRelevant, isQuoteRelevant
getError, getL10nKey, getRichTextDescription
public JSONBusinessRelationAttributeDTO()
public JSONBusinessRelationAttributeDTO(BusinessRelationAttributeDTO bdaDTO)
bdaDTO
- the bda dtopublic static JSONBusinessRelationAttributeDTO create(Map<String,URI> attribute)
attribute
- the attributepublic BusinessRelationAttribute getAttribute()
getAttribute
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
getAttribute
in class BusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public String getDynamicAttributeName()
JSONBusinessAttributeDTO
getDynamicAttributeName
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public List<String> getGroup()
getGroup
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public Integer getPosition()
getPosition
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public List<BusinessType> getRange()
public List<BusinessObjectDTO> getRangeDto()
getRangeDto
in class BusinessRelationAttributeDTO
public List<String> getSubGroup()
getSubGroup
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public String getUseScriptForRangeValues()
public List<BusinessObject> getValue()
getValue
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
getValue
in class BusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public List<BusinessObjectDTO> getValueDto()
getValueDto
in class BusinessRelationAttributeDTO
public boolean isDynamicAttribute()
JSONBusinessAttributeDTO
isDynamicAttribute
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
isDynamicAttribute
in class BusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public boolean isEnumerable()
isEnumerable
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public boolean isHidden()
isHidden
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public boolean isLink()
isLink
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public boolean isMandatory()
isMandatory
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public boolean isMultiValued()
isMultiValued
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public boolean isReadOnly()
isReadOnly
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public boolean isSynchronizeAllowed()
JSONBusinessAttributeDTO
isSynchronizeAllowed
in interface JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public Boolean isUseThumbnail()
public void setAttribute(BusinessRelationAttribute attribute)
attribute
- the new attributepublic void setEnumerable(boolean enumerable)
public void setHidden(boolean hidden)
hidden
- the new hiddenpublic 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 setRange(List<BusinessType> range)
range
- the new rangepublic void setRangeDto(List<BusinessObjectDTO> value)
setRangeDto
in class BusinessRelationAttributeDTO
public void setReadOnly(boolean readOnly)
readOnly
- the new read onlypublic void setSubGroup(List<String> subGroup)
sub
- group the new grouppublic void setValue(List<BusinessObject> value)
value
- the new valuepublic void setValueDto(List<BusinessObjectDTO> value)
setValueDto
in class BusinessRelationAttributeDTO
value
- the new value dtopublic String toString()
toString
in class BusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>