|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xdoclet.Property
Holds name=value pair. It is analog to XDoclet 1.2's configParameter, but it has the same "look and feel" as a classical Ant property. Can of course be used outside Ant.
Constructor Summary | |
Property()
Constructs a new property. |
|
Property(String name,
String value)
Constructs a new property. |
Method Summary | |
boolean |
equals(Object o)
|
String |
getName()
Gets the name of the property. |
String |
getValue()
Gets the value of the property. |
int |
hashCode()
|
void |
setName(String name)
Sets the name of the property. |
void |
setValue(String value)
Sets the value of the property. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Property()
public Property(String name, String value)
name
- the name of the propertyvalue
- the value of the propertyMethod Detail |
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName()
public void setName(String name)
name
- the name of the propertypublic String getValue()
public void setValue(String value)
value
- the value of the propertypublic String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |