|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.config.ConfigEntityValueImpl
public final class ConfigEntityValueImpl
Read only view to a typed ConfigEntity. If the members of this class are immutable instances of this class are also immutable.
| Constructor Summary | |
|---|---|
ConfigEntityValueImpl(String configKey,
String value)
The public constructor of this ConfigEntityValueImpl. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Returns true if this ConfigEntityValueImpl is equal to object. |
static ConfigEntityValue |
fromData(ConfigEntityData data)
Builds a ConfigEntityValue from an XDoclet-generated data object. |
String |
getConfigKey()
Returns the ConfigKey. |
String |
getValue()
Returns the Value. |
int |
hashCode()
Override hashCode. |
ConfigEntityData |
toData()
Converts this ConfigEntityValueImpl to the XDoclet-generated data object. |
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigEntityValueImpl(String configKey,
String value)
configKey - the ConfigKey of this entityvalue - the Value of this entity| Method Detail |
|---|
public String getConfigKey()
getConfigKey in interface ConfigEntityValuepublic String getValue()
getValue in interface ConfigEntityValuepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectobject - the object to compare to.
public String toString()
toString in class Objectpublic ConfigEntityData toData()
toData in interface ConfigEntityValuepublic static ConfigEntityValue fromData(ConfigEntityData data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||