|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.roo.project.Property
public class Property
Simplified immutable representation of a property.
Constructor Summary | |
---|---|
Property(Element element)
Convenience constructor for creating a property instance from a XML Element |
|
Property(String name)
Convenience constructor creating a property instance |
|
Property(String name,
String value)
Convenience constructor creating a property instance |
Method Summary | |
---|---|
int |
compareTo(Property o)
|
boolean |
equals(Object obj)
|
String |
getName()
The name of a property |
String |
getValue()
The value of a property |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Property(String name, String value)
name
- the property name (required)value
- the property value (required)public Property(String name)
name
- the property name (required)public Property(Element element)
element
- containing the property definition (required)Method Detail |
---|
public String getName()
public String getValue()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public int compareTo(Property o)
compareTo
in interface Comparable<Property>
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |