atavism.server.objects
Class BinaryState
java.lang.Object
atavism.server.objects.ObjState
atavism.server.objects.BinaryState
- All Implemented Interfaces:
- java.io.Serializable
public class BinaryState
- extends ObjState
represents an object state that has two values.
this is compatible the java beans xml serialization
- See Also:
- Serialized Form
Constructor Summary |
BinaryState()
|
BinaryState(java.lang.String stateName,
java.lang.Boolean value)
stateName is the same name which is used
to serialize to the client. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
BinaryState
public BinaryState()
BinaryState
public BinaryState(java.lang.String stateName,
java.lang.Boolean value)
- stateName is the same name which is used
to serialize to the client.
it SHOULD also be used to set the state in AOObject.
it would be good to make a static string variable to
refer to this string.
getIntValue
public java.lang.Integer getIntValue()
- Specified by:
getIntValue
in class ObjState
getStateName
public java.lang.String getStateName()
- Specified by:
getStateName
in class ObjState
setStateName
public void setStateName(java.lang.String name)
getValue
public java.lang.Boolean getValue()
setValue
public void setValue(java.lang.Boolean val)
isSet
public java.lang.Boolean isSet()