getDisplayName()
:
String
Returns the display name for the attribute, which can be used in the user interface.
getID()
:
String
Returns the ID of the attribute definition.
getUnit()
:
String
Returns the attribute's unit representation such as inches for length or pounds for weight.
isKey()
:
boolean
Identifies if the attribute represents the primary key of the object.
isMandatory()
:
boolean
Checks if this attribute is mandatory.
isMultiValueType()
:
boolean
Returns true
if the attribute can have multiple values.
isSetValueType()
:
boolean
Returns true
if the attribute is of type 'Set of'.
isSystem()
:
boolean
Indicates if the attribute is a pre-defined system attribute or a custom attribute.
requiresEncoding()
:
boolean
Returns a boolean flag indicating whether or not values of this attribute definition should be encoded using the encoding="off" flag in ISML templates.
getAttributeGroups
Returns all attribute groups the attribute is assigned to.
Returns:
all attribute groups the attribute is assigned to.
getDefaultValue
Return the default value for the attribute or null if none is defined.
Returns:
the default value for the attribute or null if none is defined.
getDisplayName
Returns the display name for the attribute, which can be used in the
user interface.
Returns:
the display name for the attribute, which can be used in the user interface.
getID
Returns the ID of the attribute definition.
Returns:
the ID of the attribute definition.
getObjectTypeDefinition
Returns the object type definition in which this attribute is defined.
Returns:
the object type definition in which this attribute is defined.
getUnit
Returns the attribute's unit representation such as
inches for length or pounds for weight. The value returned by
this method is based on the attribute itself.
Returns:
the attribute's unit representation such as inches for length or pounds for weight.
getValues
Returns the list of attribute values. In the user interface only the
values specified in this list should be offered as valid input values.
The collection contains instances of ObjectAttributeValueDefinition.
Returns:
a collection of ObjectAttributeValueDefinition instances representing the list of attribute values, or null if no values are specified.
getValueTypeCode
Returns a code for the data type stored in the attribute. See constants
defined in this class.
Returns:
a code for the data type stored in the attribute. See constants defined in this class.
isKey
isKey()
:
boolean
Identifies if the attribute represents the primary key of the object.
Returns:
true if the attribute represents the primary key, false otherwise.
isMandatory
isMandatory()
:
boolean
Checks if this attribute is mandatory.
Returns:
true, if this attribute is mandatory
isMultiValueType
isMultiValueType()
:
boolean
Returns true
if the attribute can have multiple values.
Attributes of the following types are multi-value capable:
Additionally, attributes of the following types can be multi-value
enabled:
Returns:
true
if attributes can have multiple values, otherwise false
isSetValueType
isSetValueType()
:
boolean
Returns true
if the attribute is of type 'Set of'.
isSystem
isSystem()
:
boolean
Indicates if the attribute is a pre-defined system attribute
or a custom attribute.
Returns:
true if the the attribute is a pre-defined system attribute, false if it is a custom attribute.
requiresEncoding
requiresEncoding()
:
boolean
Returns a boolean flag indicating whether or not values of this attribute
definition should be encoded using the encoding="off" flag in ISML
templates.
Returns:
a boolean flag indicating whether or not values of this attribute definition should be encoded using the encoding="off" flag in ISML templates.