|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleAttribute
SimpleAttribute interface represents the simple attributes of a CentraSiteObject. This interface defines the methods that operate on a simple attribute.
Field Summary |
---|
Fields inherited from interface com.softwareag.centrasite.api.csom.attribute.CentraSiteObjectAttribute |
---|
TYPE_CLASSIFICATION, TYPE_COMMON, TYPE_COMPUTED, TYPE_FILE, TYPE_RELATIONSHIP, TYPE_REPORT_ATTRIBUTE, TYPE_SIMPLE |
Method Summary | |
---|---|
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 |
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. |
Methods inherited from interface com.softwareag.centrasite.api.csom.attribute.CentraSiteObjectAttribute |
---|
getCentraSiteObjectType, getDataType, getDefaultValue, getDescription, getDescription, getDisplayName, getDisplayName, getName, getQName, getType, isMultiValued, isReadOnly, isRequired |
Method Detail |
---|
java.lang.String[] getEnumValues()
void 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 interface
CLLException
int getPrecision() throws CLLException
CLLException
- if CLL fails to get the precision for a "number" attributejava.lang.String getUnitLabel()
boolean isPrefix()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |