|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.mdm.base.text.NomenclatureItem
A NomenclatureItem asociates a value with one or more labels.
Nomenclature
Field Summary | |
static Step |
_defaultLabel
|
static Step |
_value
|
Method Summary | |
boolean |
equals(Object x)
|
String |
getDefaultLabel()
Returns first label. |
String |
getLabel(int index)
Returns the label at the specified position (from 0 to the number of labels - 1). |
Object |
getValue()
Returns the value of this item. |
boolean |
isDefaultItem()
Returns true if this item has the role of being selected as a default option
when associated instance is undefined. |
boolean |
isSeparatorItem()
Deprecated. This notion of separator implies some problems regarding XML Schema concept of enumeration. Returns true if this item has the role of separator for displaying items. |
boolean |
isTitleItem()
Deprecated. The notion of title implies some problems regarding XML Schema concept of enumeration. Returns true if this item has the role of 'title' for displaying items. |
boolean |
isValueItem()
Returns true if this item has the role of holding an actual value. |
void |
setDefaultItem(boolean isDefaultItem)
If the argument sspecified is true , then this item has the role of being
selected as a default option when associated instance is undefined. |
void |
setDefaultLabel(String aString)
Sets first label. |
void |
setLabel(int index,
String aString)
Replaces the label at the specified position in all labels with the specified string. |
void |
setValue(Object aValue)
Replaces the value with the specified object. |
String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Step _value
public static final Step _defaultLabel
Method Detail |
public boolean equals(Object x)
public String getDefaultLabel()
public String getLabel(int index)
public Object getValue()
public boolean isDefaultItem()
true
if this item has the role of being selected as a default option
when associated instance is undefined.
public boolean isSeparatorItem()
true
if this item has the role of separator for displaying items.
NomenclatureItemSeparator
public boolean isTitleItem()
true
if this item has the role of 'title' for displaying items.
NomenclatureItemTitle
public boolean isValueItem()
true
if this item has the role of holding an actual value.
NomenclatureItemValue
public void setDefaultItem(boolean isDefaultItem)
true
, then this item has the role of being
selected as a default option when associated instance is undefined.
public void setDefaultLabel(String aString)
public void setLabel(int index, String aString)
public void setValue(Object aValue)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.