com.ibm.ccd.ui.dataobjects.attributes
Class GroupAttribute
java.lang.Object
com.ibm.ccd.ui.dataobjects.attributes.Attribute
com.ibm.ccd.ui.dataobjects.attributes.GroupAttribute
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class GroupAttribute
- extends Attribute
- See Also:
- Serialized Form
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 |
GroupAttribute(java.lang.String name,
boolean editable,
int minimumOccurrence,
int maximumOccurrence,
Attribute[] attributes,
java.lang.String displayName)
|
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, printMe, 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 |
GroupAttribute
public GroupAttribute(java.lang.String name,
boolean editable,
int minimumOccurrence,
int maximumOccurrence,
Attribute[] attributes,
java.lang.String displayName)
getType
public int getType()
- Specified by:
getType
in class Attribute
getAttributes
public Attribute[] getAttributes()
- Returns:
- attributes
setAttributes
public void setAttributes(Attribute[] attributes)
- Parameters:
attributes
-
hasValue
public boolean hasValue(int index)
getValue
public Attribute[] getValue()
getValue
public Attribute[] getValue(int index)
getValue
public Attribute getValue(int index,
java.lang.String name)
getValues
public Attribute[][] getValues()
setValue
public void setValue(Attribute[] attributes)
setValues
public void setValues(Attribute[][] values)
removeValue
public void removeValue(int index)
- Overrides:
removeValue
in class Attribute
- See Also:
Attribute.removeValue(int)
cloneValue
public Attribute[] cloneValue()
cloneValue
public Attribute[] cloneValue(Attribute[] attribs)
hasNextGroup
public boolean hasNextGroup()
- checks whether the group has subgroups
- Returns:
- boolean
nextGroup
public Attribute[] nextGroup()
- checks whether the group has subgroup and return its subgroup
- Returns:
- an array of attributes
setGroupIndex
public void setGroupIndex(int groupIndex)
getGroupIndex
public int getGroupIndex()
- Returns:
- integer
getGroupIndexPos
public int getGroupIndexPos()
resetGroupIndex
public void resetGroupIndex(Attribute[] attribs)
getGroupAppendPath
public java.lang.String getGroupAppendPath()
- Returns:
- string
setGroupAppendPath
public void setGroupAppendPath(java.lang.String string)
- Parameters:
string
-
getAttributeMap
public java.util.HashMap getAttributeMap()
- Returns:
- Returns the attributeMap.