|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.migration.model20.impl.preferences.MappedPreference
Field Summary | |
private boolean |
dirty
|
private static java.lang.String[] |
EMPTY_STRING_ARRAY
|
private static Value |
EMPTY_VALUE
|
java.lang.Integer |
id
|
java.lang.String |
name
|
java.lang.String[] |
strings
|
int |
type
|
private Value |
value
|
Constructor Summary | |
MappedPreference()
|
|
MappedPreference(java.lang.String name)
|
Method Summary | |
protected java.lang.Integer |
getID()
|
java.lang.String |
getName()
Return the preference name. |
java.lang.String[] |
getStrings()
|
int |
getType()
|
Value |
getValue()
Return the preference value. |
boolean |
isReadOnly()
By default it's never read only. |
protected void |
setID(java.lang.Integer id)
Called by hibernate. |
protected void |
setName(java.lang.String name)
Called by hibernate. |
private void |
setStrings(java.lang.String[] strings)
Called by hibernate. |
protected void |
setType(int type)
Called by hibernate. |
void |
setValue(Value value)
|
java.lang.String |
toString()
Provide a default impl. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String[] EMPTY_STRING_ARRAY
private static final Value EMPTY_VALUE
public java.lang.Integer id
public java.lang.String name
public int type
public java.lang.String[] strings
private Value value
private boolean dirty
Constructor Detail |
public MappedPreference()
public MappedPreference(java.lang.String name)
Method Detail |
protected java.lang.Integer getID()
protected void setID(java.lang.Integer id)
public java.lang.String getName()
Preference
getName
in interface Preference
protected void setName(java.lang.String name)
public int getType()
protected void setType(int type)
public java.lang.String[] getStrings()
public void setValue(Value value)
private void setStrings(java.lang.String[] strings)
public Value getValue()
Preference
getValue
in interface Preference
public boolean isReadOnly()
isReadOnly
in interface Preference
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |