com.ibm.ccd.ui.dataobjects.attributes
Class RelationshipAttribute
java.lang.Object
com.ibm.ccd.ui.dataobjects.attributes.Attribute
com.ibm.ccd.ui.dataobjects.attributes.RelationshipAttribute
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class RelationshipAttribute
- 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 |
RelationshipAttribute(java.lang.String name,
boolean editable,
java.lang.String[] relations,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
|
RelationshipAttribute(java.lang.String name,
java.lang.String[] relations,
NVPair defaultValue,
boolean editable,
int minimumLength,
int maximumLength,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
|
RelationshipAttribute(java.lang.String name,
java.lang.String[] relations,
NVPair defaultValue,
boolean editable,
int minimumOccurrence,
int maximumOccurrence,
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, 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 |
RelationshipAttribute
public RelationshipAttribute(java.lang.String name,
boolean editable,
java.lang.String[] relations,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
RelationshipAttribute
public RelationshipAttribute(java.lang.String name,
java.lang.String[] relations,
NVPair defaultValue,
boolean editable,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
RelationshipAttribute
public RelationshipAttribute(java.lang.String name,
java.lang.String[] relations,
NVPair defaultValue,
boolean editable,
int minimumLength,
int maximumLength,
int minimumOccurrence,
int maximumOccurrence,
java.lang.String displayName)
getType
public int getType()
- Specified by:
getType
in class Attribute
getValue
public NVPair getValue()
getValues
public NVPair[] getValues()
setValue
public void setValue(NVPair value)
setValue
public void setValue(int occurrence,
java.lang.String value)
setValues
public void setValues(NVPair[] values)
getDefaultValue
public NVPair getDefaultValue()
getRelations
public java.lang.String[] getRelations()
setDefaultValue
public void setDefaultValue(NVPair defaultValue)
setRelations
public void setRelations(java.lang.String[] relations)
printMe
public void printMe()
- Overrides:
printMe
in class Attribute