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

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

public class NumberAttribute
extends Attribute

See Also:
Serialized Form

Field Summary
 
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
NumberAttribute(java.lang.String name, boolean editable, int precision, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
NumberAttribute(java.lang.String name, boolean editable, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
NumberAttribute(java.lang.String name, java.lang.String defaultValue, boolean editable, int minimumLength, int maximumLength, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
NumberAttribute(java.lang.String name, java.lang.String defaultValue, boolean editable, int minimumOccurrence, int maximumOccurrence, java.lang.String displayName)
           
 
Method Summary
 java.lang.String getDefaultValue()
           
 int getPrecision()
           
 int getType()
           
 java.lang.String getValue()
           
 java.lang.String[] getValues()
           
 void printMe()
           
 void setDefaultValue(java.lang.String defValue)
           
 void setPrecision(int i)
           
 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.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
 

Constructor Detail

NumberAttribute

public NumberAttribute(java.lang.String name,
                       boolean editable,
                       int minimumOccurrence,
                       int maximumOccurrence,
                       java.lang.String displayName)

NumberAttribute

public NumberAttribute(java.lang.String name,
                       boolean editable,
                       int precision,
                       int minimumOccurrence,
                       int maximumOccurrence,
                       java.lang.String displayName)

NumberAttribute

public NumberAttribute(java.lang.String name,
                       java.lang.String defaultValue,
                       boolean editable,
                       int minimumOccurrence,
                       int maximumOccurrence,
                       java.lang.String displayName)

NumberAttribute

public NumberAttribute(java.lang.String name,
                       java.lang.String defaultValue,
                       boolean editable,
                       int minimumLength,
                       int maximumLength,
                       int minimumOccurrence,
                       int maximumOccurrence,
                       java.lang.String displayName)
Method Detail

getType

public int getType()
Specified by:
getType in class Attribute

getValue

public java.lang.String getValue()

getValues

public java.lang.String[] getValues()

setValue

public void setValue(java.lang.String value)

setValue

public void setValue(int occurrence,
                     java.lang.String value)

setValues

public void setValues(java.lang.String[] values)

getDefaultValue

public java.lang.String getDefaultValue()

setDefaultValue

public void setDefaultValue(java.lang.String defValue)

getPrecision

public int getPrecision()

setPrecision

public void setPrecision(int i)

printMe

public void printMe()
Overrides:
printMe in class Attribute