|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.remedy.cmdb.api.CMDBAttributeLimit
com.remedy.cmdb.api.CMDBEnumLimit
The CMDBEnumLimit
class defines the limit of an
enumeration attribute.
Field Summary | |
static int |
CMDB_ATTR_ENUM_STYLE_CUSTOM
Custom Style. |
static int |
CMDB_ATTR_ENUM_STYLE_REGULAR
Regular Style. |
Constructor Summary | |
CMDBEnumLimit()
Default constructor to create an enumeration attribute limit. |
|
CMDBEnumLimit(EnumItem[] enumItemArray)
Creates an enumeration attribute limit. |
|
CMDBEnumLimit(java.lang.String[] enumItemArray)
Creates an enumeration attribute limit. |
Method Summary | |
EnumItem[] |
getEnumItemsCustom()
Gets the enumeration items of the enumeration attribute limit. |
java.lang.String[] |
getEnumItemsRegular()
Gets the enumeration items of the enumeration attribute limit. |
int |
getEnumStyle()
Gets the enumeration style of the enumeration attribute limit. |
void |
setEnumItemsCustom(EnumItem[] enumItemArray)
Sets the enumeration items of the enumeration attribute limit. |
void |
setEnumItemsRegular(java.lang.String[] enumItemArray)
Sets the enumeration items of the enumeration attribute limit. |
void |
setEnumStyle(int nEnumStyle)
Sets the enumeration style of the enumeration attribute limit. |
Methods inherited from class com.remedy.cmdb.api.CMDBAttributeLimit |
getDataType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int CMDB_ATTR_ENUM_STYLE_REGULAR
public static final int CMDB_ATTR_ENUM_STYLE_CUSTOM
Constructor Detail |
public CMDBEnumLimit()
public CMDBEnumLimit(java.lang.String[] enumItemArray)
enumItemArray
- is an array of enumeration items
java.lang.IllegalArgumentException
- if the length of any item
in the enumeration array is longer than
Constants.AR_MAX_NAME_SIZE
public CMDBEnumLimit(EnumItem[] enumItemArray)
enumItemArray
- is an array of custom enumeration items
java.lang.IllegalArgumentException
- if the length of any item
in the enumeration array is longer than
Constants.AR_MAX_NAME_SIZE
Method Detail |
public int getEnumStyle()
public java.lang.String[] getEnumItemsRegular()
public EnumItem[] getEnumItemsCustom()
public void setEnumItemsRegular(java.lang.String[] enumItemArray)
enumItemArray
- enumeration items of the enumeration attribute limit
java.lang.IllegalArgumentException
- if the length of any item
in the enumeration array is longer than
Constants.AR_MAX_NAME_SIZE
public void setEnumItemsCustom(EnumItem[] enumItemArray)
enumItemArray
- enumeration items of the enumeration attribute limit
java.lang.IllegalArgumentException
- if the length of any item
in the enumeration array is longer than
Constants.AR_MAX_NAME_SIZE
public void setEnumStyle(int nEnumStyle)
nEnumStyle
- enumeration type of the enumeration attribute limit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |