com.ibm.ccd.ui.dataobjects.attributes
Class NumberEnumAttribute

java.lang.Object
  extended by com.ibm.ccd.ui.dataobjects.attributes.Attribute
      extended by com.ibm.ccd.ui.dataobjects.attributes.NumberAttribute
          extended by com.ibm.ccd.ui.dataobjects.attributes.NumberEnumAttribute
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class NumberEnumAttribute
extends NumberAttribute

See Also:
Serialized Form

Field Summary
protected  double[] enumDb
           
 
Fields inherited from class com.ibm.ccd.ui.dataobjects.attributes.Attribute
currOccurrence, displayLabelName, editable, errorMap, hashName, isCategorySpecificAttribute, isLocalized, isPrimaryKey, localizedValues, maximumLength, maximumOccurrence, minimumLength, minimumOccurrence, parentAttribute, parentPath, valueList
 
Constructor Summary
NumberEnumAttribute(java.lang.String name, double[] enumParam, boolean editable, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
NumberEnumAttribute(java.lang.String name, double[] enumParam, java.lang.String defaultValue, boolean editable, int minimumLength, int maximumLength, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
NumberEnumAttribute(java.lang.String name, double[] enumParam, java.lang.String defaultValue, boolean editable, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
 
Method Summary
 double[] getEnumDb()
           
 int getType()
           
 void printMe()
           
 void setEnumDb(double[] enumParam)
           
 void setValue(int occurrence, java.lang.String value)
           
 void setValue(java.lang.String value)
           
 void setValues(java.lang.String[] values)
           
 
Methods inherited from class com.ibm.ccd.ui.dataobjects.attributes.NumberAttribute
getDefaultValue, getPrecision, getValue, getValues, setDefaultValue, setPrecision
 
Methods inherited from class com.ibm.ccd.ui.dataobjects.attributes.Attribute
getAttributeParentPath, getCurrentOccurrence, getCurrOccurrence, getDisplayLabelName, getHashName, getLocaleName, getLocalizedValues, getMaximumLength, getMaximumOccurrence, getMinimumLength, getMinimumOccurrence, getName, getParentGroup, getParentPath, getPath, getValidationError, getValueList, hasAnyParentGroupMultivalued, isCategorySpecificAttribute, isEditable, isLocalized, isMultiValued, isOptional, isPrimaryKey, isSubAttribute, isValueChanged, prepareAttributeParentPath, removeValue, removeValues, setAsLocalized, setCategorySpecificAttribute, setCurrOccurrence, setDisplayLabelName, setEditable, setHashName, setLocaleName, setLocalizedValues, setMaximumLength, setMaximumOccrrence, setMinimumLength, setMinimumOccrrence, setName, setParentGroup, setParentGroupFlagValueChanged, setParentPath, setPath, setPrimaryKey, setSubAttribute, setValidationError, setValueChanged, setValueList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enumDb

protected double[] enumDb
Constructor Detail

NumberEnumAttribute

public NumberEnumAttribute(java.lang.String name,
                           double[] enumParam,
                           boolean editable,
                           int minimumOccurrence,
                           int maximumOccurrence,
                           java.lang.String displayName)

NumberEnumAttribute

public NumberEnumAttribute(java.lang.String name,
                           double[] enumParam,
                           java.lang.String defaultValue,
                           boolean editable,
                           int minimumOccurrence,
                           int maximumOccurrence,
                           java.lang.String displayName)

NumberEnumAttribute

public NumberEnumAttribute(java.lang.String name,
                           double[] enumParam,
                           java.lang.String defaultValue,
                           boolean editable,
                           int minimumLength,
                           int maximumLength,
                           int minimumOccurrence,
                           int maximumOccurrence,
                           java.lang.String displayName)
Method Detail

getType

public int getType()
Overrides:
getType in class NumberAttribute

setValue

public void setValue(java.lang.String value)
Overrides:
setValue in class NumberAttribute

setValue

public void setValue(int occurrence,
                     java.lang.String value)
Overrides:
setValue in class NumberAttribute

setValues

public void setValues(java.lang.String[] values)
Overrides:
setValues in class NumberAttribute

getEnumDb

public double[] getEnumDb()

setEnumDb

public void setEnumDb(double[] enumParam)

printMe

public void printMe()
Overrides:
printMe in class NumberAttribute