|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.domain.Entity
ccc.domain.Setting
public class Setting
A setting, represented as a key:value pair.
Nested Class Summary | |
---|---|
static class |
Setting.Name
Valid setting names. |
Constructor Summary | |
---|---|
protected |
Setting()
Constructor: for persistence only. |
|
Setting(Setting.Name name,
java.lang.String value)
Constructor. |
Method Summary | |
---|---|
Setting.Name |
getName()
Accessor for name. |
java.lang.String |
getValue()
Accessor for value. |
void |
setValue(java.lang.String value)
The value as a string. |
Methods inherited from class ccc.domain.Entity |
---|
equals, getId, getVersion, hashCode, setId, toJson, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Setting()
public Setting(Setting.Name name, java.lang.String value)
name
- The name of this setting.value
- The value of this setting.Method Detail |
---|
public final Setting.Name getName()
public final java.lang.String getValue()
public final void setValue(java.lang.String value)
value
- The new value for this setting.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |