|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.profiles.ProfileFieldOption
public class ProfileFieldOption
Represents a possible option of a ProfileField.
ProfileField
,
Serialized FormConstructor Summary | |
---|---|
ProfileFieldOption()
|
Method Summary | |
---|---|
int |
getCachedSize()
Returns the esitmated cache size of this obejct by calculating the size of each field. |
long |
getFieldID()
Gets the id of the ProfileField in which this option belongs. |
int |
getIndex()
Gets the index of this option which represents the order in which the options will appear in the list. |
java.lang.String |
getValue()
Gets the value of this option. |
boolean |
isDefaultOption()
Gets whether or not this option is to be selected by default. |
void |
readExternal(java.io.DataInput in)
|
void |
setDefaultOption(boolean defaultOption)
Sets whether or not this option is to be selected by default. |
void |
setFieldID(long fieldID)
Sets the id of the ProfileField in which this option belongs. |
void |
setIndex(int index)
Sets the index of this option which represents the order in which the options will appear in the list. |
void |
setValue(java.lang.String value)
Sets the value of this option. |
void |
writeExternal(java.io.DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileFieldOption()
Method Detail |
---|
public long getFieldID()
public void setFieldID(long fieldID)
fieldID
- the id of the ProfileField in which this option belongs.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the value of this option.public int getIndex()
public void setIndex(int index)
index
- the index of this option.public boolean isDefaultOption()
public void setDefaultOption(boolean defaultOption)
defaultOption
- true if this option is to be selected by default, false otherwise.public int getCachedSize()
getCachedSize
in interface Cacheable
public void readExternal(java.io.DataInput in) throws java.io.IOException
readExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
public void writeExternal(java.io.DataOutput out) throws java.io.IOException
writeExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |