|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.chess.it.util.config.PropertyDisplayItem
Simple place holder that can be used to display the value of a property. Most properties are read from a Properties, then the original values and key-name will be stored as well. For hard-coded properties (i.e., public getMethods that don't use the Properties).
Constructor Summary | |
PropertyDisplayItem(java.lang.String methodName,
java.lang.String propertyName,
java.lang.String originalValue,
java.lang.String parseValue)
Creates a new PropertyDisplayItem object. |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getMethodName()
Name of the method for the property. |
java.lang.String |
getOriginalValue()
Original, unparsed value of the element in the property file. |
java.lang.String |
getParseValue()
Parsed value of the element in the property file. |
java.lang.String |
getPropertyName()
Name of the element in the property file. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PropertyDisplayItem(java.lang.String methodName, java.lang.String propertyName, java.lang.String originalValue, java.lang.String parseValue)
methodName
- Name of the method. Cannot be null
.propertyName
- Name of the property. Can be null
.originalValue
- Original value of the property. Can be null
.parseValue
- Value as interpreted by Java Config. This is a String representation. Can
be null
.Method Detail |
public java.lang.String toString()
public java.lang.String getMethodName()
null
.public java.lang.String getOriginalValue()
null
if the element isn't read from the properties.public java.lang.String getParseValue()
null
.public java.lang.String getPropertyName()
null
if the element isn't read from the properties.public int hashCode()
public boolean equals(java.lang.Object o)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |