|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.cmu.aura.service.Attribute
Attribute represents a static service attribute. It is also the superclass of DynamicAttribute.
| Constructor Summary | |
Attribute()
Creates an Attribute. |
|
Attribute(java.lang.String name)
Create an Attribute with a specific name. |
|
Attribute(java.lang.String name,
java.lang.Object value)
Create an Attribute with a specific name and value. |
|
| Method Summary | |
java.lang.String |
getName()
Gets the name of this Attribute. |
java.lang.Object |
getValue()
Gets the value of this Attribute. |
void |
setName(java.lang.String name)
Sets the name of this Attribute. |
void |
setValue(java.lang.Object value)
Sets the value of this Attribute. |
java.lang.String |
toString()
Converts this attribute to a String. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Attribute()
public Attribute(java.lang.String name)
name - the name of this attribute
public Attribute(java.lang.String name,
java.lang.Object value)
name - the name of this attributevalue - the value of this attribute| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name of this Attributepublic java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - the value of this Attributepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||