Package com.imc.iss.web.dto
Class JSONBusinessRelationAttributeDTO
java.lang.Object
Localized
com.imc.datamodel.transferobjects.BusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
com.imc.datamodel.transferobjects.BusinessRelationAttributeDTO
com.imc.iss.web.dto.JSONBusinessRelationAttributeDTO
- All Implemented Interfaces:
JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
public class JSONBusinessRelationAttributeDTO
extends BusinessRelationAttributeDTO
implements JSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
This class is a Wrapper of the
BusinessRelationAttributeDTO.-
Field Summary
Fields inherited from class com.imc.datamodel.transferobjects.BusinessRelationAttributeDTO
isUseLookupTable, range, rangeDto, searchExpressionMetaAttribute, useLookupTable, useLookupTableColumn, useLookupTableLocalisationColumn, useScriptForRangeValues, useThumbnail, valueDtoFields inherited from class com.imc.datamodel.transferobjects.BusinessAttributeDTO
attribute, calculation, costingRelevant, delayedUpdate, dimensionPossibeValueHeight, dimensionPossibleValueWidth, dimensionSelectionHeight, dimensionSelectionWidth, dynamicAttribute, dynamicAttributeMatrixColumnNumber, dynamicAttributeMatrixRowNumber, dynamicAttributeName, enumerable, error, getAttribute, getPosition, getValue, group, hasUIControl, hidden, ignoreValidationCheck, isCustomAttribute, isHidden, isHiddenBySchemaExtensibility, isHiddenInUICustomization, isLink, isReadOnlyInUICustomization, length, mandatory, multiValued, orderRelevant, position, pricingRelevant, quoteRelevant, readOnly, subGroup, synchronizeAllowed, value, valueImageUrls -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new JSON business relation attribute dto. -
Method Summary
Modifier and TypeMethodDescriptionJSON Creator.Gets the attribute.Get Dynamic Attribute Name ${tags}getGroup()Gets the group.Gets the position.getRange()Gets the range.Gets the value dto.Gets the sub group.getValue()Gets the value.Gets the value dto.Checks if attribute is custom attribute.booleanIs attribute a DAbooleanbooleanisHidden()Checks if is hidden.isLink()Checks if is link .booleanChecks if is mandatory.booleanChecks if is multi valued.booleanChecks if is read only.booleanCheck if it is needed to update immediately.voidsetAttribute(BusinessRelationAttribute attribute) Sets the attribute.voidsetEnumerable(boolean enumerable) voidSets the group.voidsetHidden(boolean hidden) Sets the hidden.voidsetMandatory(boolean mandatory) Sets the mandatory.voidsetMultiValued(boolean multiValued) Sets the multi valued.voidsetPosition(Integer position) Sets the position.voidsetRange(List<BusinessType> range) Sets the range.voidsetRangeDto(List<BusinessObjectDTO> value) voidsetReadOnly(boolean readOnly) Sets the read only.voidsetSubGroup(List<String> subGroup) Sets the sub group.voidsetValue(List<BusinessObject> value) Sets the value.voidsetValueDto(List<BusinessObjectDTO> value) Sets the value dto.toString()To string.Methods inherited from class com.imc.datamodel.transferobjects.BusinessRelationAttributeDTO
equals, hashCodeMethods inherited from class com.imc.datamodel.transferobjects.BusinessAttributeDTO
dynamicAttributeName, getDynamicAttributeMatrixColumnNumber, getDynamicAttributeMatrixRowNumber, getError, getHasUIControl, getLength, isCalculation, isCostingRelevant, isDelayedUpdate, isOrderRelevant, isPricingRelevant, isQuoteRelevantMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.imc.iss.web.dto.JSONBusinessAttributeDTO
getError, getL10nKey, getRichTextDescription
-
Constructor Details
-
JSONBusinessRelationAttributeDTO
public JSONBusinessRelationAttributeDTO() -
JSONBusinessRelationAttributeDTO
Instantiates a new JSON business relation attribute dto.- Parameters:
braDTO- the bda dto
-
-
Method Details
-
create
JSON Creator.- Parameters:
attribute- the attribute- Returns:
- the JSON business relation attribute dto
-
getAttribute
Gets the attribute.- Specified by:
getAttributein interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Overrides:
getAttributein classBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- the attribute
-
getDynamicAttributeName
Description copied from interface:JSONBusinessAttributeDTOGet Dynamic Attribute Name ${tags}- Specified by:
getDynamicAttributeNamein interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
-
getGroup
Gets the group.- Specified by:
getGroupin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- the group
-
getPosition
Gets the position.- Specified by:
getPositionin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- the position
-
getRange
Gets the range.- Returns:
- the range
-
getRangeDto
Gets the value dto.- Overrides:
getRangeDtoin classBusinessRelationAttributeDTO- Returns:
- the value dto
-
getSearchExpressionMetaAttribute
-
getSubGroup
Gets the sub group.- Specified by:
getSubGroupin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- the group
-
getUseScriptForRangeValues
-
getValue
Gets the value.- Specified by:
getValuein interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Overrides:
getValuein classBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- the value
-
getValueDto
Gets the value dto.- Overrides:
getValueDtoin classBusinessRelationAttributeDTO- Returns:
- the value dto
-
isCustomAttribute
Description copied from interface:JSONBusinessAttributeDTOChecks if attribute is custom attribute.- Specified by:
isCustomAttributein interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- true, if attribute is custom attribute
-
isDynamicAttribute
public boolean isDynamicAttribute()Description copied from interface:JSONBusinessAttributeDTOIs attribute a DA- Specified by:
isDynamicAttributein interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Overrides:
isDynamicAttributein classBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
-
isEnumerable
public boolean isEnumerable()- Specified by:
isEnumerablein interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
-
isHidden
public boolean isHidden()Checks if is hidden.- Specified by:
isHiddenin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- true, if is hidden
-
isHiddenBySchemaExtensibility
- Specified by:
isHiddenBySchemaExtensibilityin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
-
isHiddenInUICustomization
- Specified by:
isHiddenInUICustomizationin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
-
isLink
Checks if is link .- Specified by:
isLinkin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- true, if is link
-
isMandatory
public boolean isMandatory()Checks if is mandatory.- Specified by:
isMandatoryin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- true, if is mandatory
-
isMultiValued
public boolean isMultiValued()Checks if is multi valued.- Specified by:
isMultiValuedin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- true, if is multi valued
-
isReadOnly
public boolean isReadOnly()Checks if is read only.- Specified by:
isReadOnlyin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- true, if is read only
-
isReadOnlyInUICustomization
- Specified by:
isReadOnlyInUICustomizationin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject>
-
isSynchronizeAllowed
public boolean isSynchronizeAllowed()Description copied from interface:JSONBusinessAttributeDTOCheck if it is needed to update immediately.- Specified by:
isSynchronizeAllowedin interfaceJSONBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- true if the bda/bra is needed to update immediately
-
isUseThumbnail
-
setAttribute
Sets the attribute.- Parameters:
attribute- the new attribute
-
setEnumerable
public void setEnumerable(boolean enumerable) -
setGroup
Sets the group.- Parameters:
group- the new group
-
setHidden
public void setHidden(boolean hidden) Sets the hidden.- Parameters:
hidden- the new hidden
-
setMandatory
public void setMandatory(boolean mandatory) Sets the mandatory.- Parameters:
mandatory- the new mandatory
-
setMultiValued
public void setMultiValued(boolean multiValued) Sets the multi valued.- Parameters:
multiValued- the new multi valued
-
setPosition
Sets the position.- Parameters:
position- the new position
-
setRange
Sets the range.- Parameters:
range- the new range
-
setRangeDto
- Overrides:
setRangeDtoin classBusinessRelationAttributeDTO
-
setReadOnly
public void setReadOnly(boolean readOnly) Sets the read only.- Parameters:
readOnly- the new read only
-
setSubGroup
Sets the sub group.- Parameters:
subGroup- group the new group
-
setValue
Sets the value.- Parameters:
value- the new value
-
setValueDto
Sets the value dto.- Overrides:
setValueDtoin classBusinessRelationAttributeDTO- Parameters:
value- the new value dto
-
toString
To string.- Overrides:
toStringin classBusinessAttributeDTO<BusinessRelationAttribute,BusinessObject> - Returns:
- the string
-