com.softwareag.mdm.base.text
Class NomenclatureItemTitle

java.lang.Object
  extended bycom.softwareag.mdm.base.text.NomenclatureItem
      extended bycom.softwareag.mdm.base.text.NomenclatureItemTitle

Deprecated. This class implies some problems regarding XML Schema concept of enumeration.

public class NomenclatureItemTitle
extends NomenclatureItem

A NomenclatureItemTitle proposes the role of 'title' for displaying the items of a containing Nomenclature. The value should not be accepted by the associated type since it has only a display role.

It is the responsibility of the program that implements the layout to decide how to display an instance of this class.

See Also:
Nomenclature

Field Summary
static int LEVEL_DEFAULT
          Deprecated.  
 
Fields inherited from class com.softwareag.mdm.base.text.NomenclatureItem
_defaultLabel, _value
 
Constructor Summary
NomenclatureItemTitle(Object newValue, String newLabel)
          Deprecated.  
NomenclatureItemTitle(Object newValue, String[] newLabels)
          Deprecated.  
 
Method Summary
 int getLevel()
          Deprecated.  
 boolean isTitleItem()
          Deprecated.  
 void setLevel(int aLevel)
          Deprecated. Sets title level to the specified value.
 
Methods inherited from class com.softwareag.mdm.base.text.NomenclatureItem
equals, getDefaultLabel, getLabel, getValue, isDefaultItem, isSeparatorItem, isValueItem, setDefaultItem, setDefaultLabel, setLabel, setValue, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LEVEL_DEFAULT

public static final int LEVEL_DEFAULT
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

NomenclatureItemTitle

public NomenclatureItemTitle(Object newValue,
                             String[] newLabels)
Deprecated. 

NomenclatureItemTitle

public NomenclatureItemTitle(Object newValue,
                             String newLabel)
Deprecated. 
Method Detail

getLevel

public int getLevel()
Deprecated. 

isTitleItem

public boolean isTitleItem()
Deprecated. 
Overrides:
isTitleItem in class NomenclatureItem
See Also:
NomenclatureItemTitle

setLevel

public void setLevel(int aLevel)
Deprecated. 
Sets title level to the specified value.

Default level is 0. It is the highest level. Sub-levels are 1, 2, etc... If input value is <0, it is silently dropped.



(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.