public interface SimpleAttribute extends CentraSiteObjectAttribute
TYPE_APIKEY_EXPIRE_DATE, TYPE_APIPortal, TYPE_CLASSIFICATION, TYPE_COMMON, TYPE_COMPUTED, TYPE_DESIGN_TIME, TYPE_EXTENSION, TYPE_FILE, TYPE_NATIVE_SERVICE, TYPE_OBJECT, TYPE_ORGANIZATION, TYPE_PERMISSION, TYPE_POLICY, TYPE_REGISTRY_OBJECT, TYPE_RELATIONSHIP, TYPE_REPORT_ATTRIBUTE, TYPE_ROLE, TYPE_SIMPLE, TYPE_USER, TYPE_VIRTUAL
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayType()
Returns the display type of the attribute.
|
java.lang.String[] |
getEnumValues()
Get enumerated values (i.e., list of possible values) for an attribute of "string" data type.
|
int |
getPrecision()
Gets the precision value for an attribute of "number" data type.
|
java.lang.String |
getUnitLabel()
Returns the slot's unit label.
|
boolean |
isMultiLineString()
Returns true if the slot is a multi line string attribute.
|
boolean |
isMultiValued()
Returns true if the slot is a multi valued attribute.
|
boolean |
isPrefix()
Returns if the slot's unit label is a prefix or suffix value.
|
void |
setEnumValues(java.lang.String[] validValues)
Sets enumeration values (i.e., list of possible values) for an attribute of "string" data type.
|
void |
setPrecision(int precision)
Sets the precision for an attribute of "number" data type.
|
getCentraSiteObjectType, getDataType, getDefaultValue, getDescription, getDescription, getDisplayName, getDisplayName, getName, getQName, getType, isComputedAttribute, isReadOnly, isRequired, isVisibleInSearch
java.lang.String[] getEnumValues() throws CLLException
CLLException
- If an error occurs in getting the list of possible valuesvoid setEnumValues(java.lang.String[] validValues)
validValues
- list of pre-defined enumeration values for a "string" attributevoid setPrecision(int precision) throws CLLException
precision
- number of decimal positions that are to be shown when the "number" attribute is displayed in a user interfaceCLLException
- If an error occurs in setting the precision valueint getPrecision() throws CLLException
CLLException
- if CLL fails to get the precision for a "number" attributejava.lang.String getUnitLabel()
boolean isPrefix()
boolean isMultiLineString()
java.lang.String getDisplayType() throws CLLException
CLLException
- If an error occurs in getting the display typeboolean isMultiValued() throws CLLException
isMultiValued
in interface CentraSiteObjectAttribute
CLLException
- If an error occurs in determining whether the attribute takes multiples values