|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.graffiti.attributes.AbstractAttribute
|
+--quoggles.auxiliary.attributes.CollAttribute
Contains a Collection.
| Field Summary | |
private java.util.Collection |
value
The value of this CollectionAttribute. |
| Fields inherited from class org.graffiti.attributes.AbstractAttribute |
id |
| Fields inherited from interface org.graffiti.attributes.Attribute |
SEPARATOR |
| Constructor Summary | |
CollAttribute(java.lang.String id)
Constructs a new instance of a CollectionAttribute. |
|
CollAttribute(java.lang.String id,
java.util.Collection value)
Constructs a new instance of a CollectionAttribute with the
given value. |
|
| Method Summary | |
java.lang.Object |
copy()
Returns a deep copy of this instance. |
protected void |
doSetValue(java.lang.Object o)
Sets the value of the Attribute. |
java.util.Collection |
getCollection()
Returns the value of this object. |
java.lang.Object |
getValue()
Returns the value of this attribute, i.e. contained Sting object. |
void |
setCollection(java.util.Collection value)
Sets the value of this object. |
void |
setDefaultValue()
|
java.lang.String |
toString(int n)
|
java.lang.String |
toXMLString()
|
| Methods inherited from class org.graffiti.attributes.AbstractAttribute |
callPostAttributeAdded, callPostAttributeChanged, callPostAttributeRemoved, callPreAttributeAdded, callPreAttributeChanged, callPreAttributeRemoved, getAttributable, getDescription, getId, getName, getParent, getPath, getSpaces, getStandardXML, setDescription, setParent, setValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private java.util.Collection value
CollectionAttribute.
| Constructor Detail |
public CollAttribute(java.lang.String id)
CollectionAttribute.
id - the id of the Attribute.
public CollAttribute(java.lang.String id,
java.util.Collection value)
CollectionAttribute with the
given value.
id - the id of the attribute.value - the value of the Attribute.| Method Detail |
public void setDefaultValue()
Attribute.setDefaultValue()public void setCollection(java.util.Collection value)
ListenerManager is
informed by the method setValue().
value - the new value of this object.public java.util.Collection getCollection()
public java.lang.Object getValue()
public java.lang.Object copy()
public java.lang.String toString(int n)
toString in interface org.graffiti.attributes.AttributetoString in class org.graffiti.attributes.AbstractAttributeAttribute.toString(int)
protected void doSetValue(java.lang.Object o)
throws java.lang.IllegalArgumentException
Attribute. The
ListenerManager is informed by the method
setValue().
doSetValue in class org.graffiti.attributes.AbstractAttributeo - the new value of the attribute.
java.lang.IllegalArgumentException - if the parameter has not the
appropriate class for this Attribute.public java.lang.String toXMLString()
toXMLString in interface org.graffiti.plugin.DisplayabletoXMLString in class org.graffiti.attributes.AbstractAttributeDisplayable.toXMLString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||