|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.domain.FIPAAgentManagement.Property
public class Property
This class implements the property type, a pair of a
name and value.
FIPAManagementOntology,
Serialized Form| Constructor Summary | |
|---|---|
Property()
Default constructor. |
|
Property(java.lang.String name,
java.lang.Object value)
Create a property object, with the given name and value pair. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
java.lang.String |
getName()
Retrieve the name of this property object. |
java.lang.Object |
getValue()
Retrieve the value of this property object, associated with the property name. |
boolean |
match(Property p)
|
void |
setName(java.lang.String n)
Set the name of the property object. |
void |
setValue(java.lang.Object o)
Set the value for this property object, attached to the property name. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Property()
public Property(java.lang.String name,
java.lang.Object value)
name - The name of the property.value - The Java object associated with the given name.| Method Detail |
|---|
public void setName(java.lang.String n)
n - The new name for this property.public java.lang.String getName()
null if no name was set.public void setValue(java.lang.Object o)
o - The new Java object to attach to the property name.public java.lang.Object getValue()
null if no
value was set.public boolean match(Property p)
public java.lang.Object clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||