|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bmc.cmdb.api.CMDBAttributeLimit
com.bmc.cmdb.api.CMDBEnumLimit
public class CMDBEnumLimit
The CMDBEnumLimit
class defines the limit of an
enumeration attribute.
Field Summary | |
---|---|
static int |
CMDB_ATTR_ENUM_STYLE_CUSTOM
Specifies that the enumeration type is custom. |
static int |
CMDB_ATTR_ENUM_STYLE_REGULAR
Specifies that the enumeration type is regular. |
Constructor Summary | |
---|---|
CMDBEnumLimit()
Default constructor to create an enumeration attribute limit. |
|
CMDBEnumLimit(EnumItem[] enumItemArray)
This constructor creates an enumeration attribute limit of custom style. |
|
CMDBEnumLimit(java.lang.String[] enumItemArray)
This constructor creates an enumeration attribute limit of regular style. |
Method Summary | |
---|---|
EnumItem[] |
getEnumItemsCustom()
Gets the items of the enumeration limit for the custom style. |
java.lang.String[] |
getEnumItemsRegular()
Gets the items of the enumeration limit for the regular style. |
int |
getEnumStyle()
Gets the style of the enumeration limit. |
void |
setEnumItemsCustom(EnumItem[] enumItemArray)
Sets the enumeration items for the custom style. |
void |
setEnumItemsRegular(java.lang.String[] enumItemArray)
Sets the enumeration items for the regular style. |
void |
setEnumStyle(int nEnumStyle)
Sets the enumeration style. |
Methods inherited from class com.bmc.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.public CMDBEnumLimit(EnumItem[] enumItemArray)
enumItemArray
- is an array of custom enumeration items.Method Detail |
---|
public int getEnumStyle()
public java.lang.String[] getEnumItemsRegular()
public EnumItem[] getEnumItemsCustom()
public void setEnumItemsRegular(java.lang.String[] enumItemArray)
enumItemArray
- holds the items of the enumeration limit.
java.lang.IllegalArgumentException
- if the enumeration item has a name longer than
the maximum allowedpublic void setEnumItemsCustom(EnumItem[] enumItemArray)
enumItemArray
- holds the items of the enumeration limit.
java.lang.IllegalArgumentException
- if the enumeration item has a name longer than
the maximum allowedpublic 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 |