|
Version: 1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biomoby.shared.datatypes.MobyObject
org.biomoby.shared.datatypes.MobyBoolean
public class MobyBoolean
An object representing a Boolean, a Moby primitive data type.
The value of this object is stored internally as a string, but
during setting it (setValue(java.lang.String)) it checks for its logical
value.
| Constructor Summary | |
|---|---|
MobyBoolean()
Default constructor. |
|
MobyBoolean(boolean value)
Another constructor. |
|
| Method Summary | |
|---|---|
boolean |
getBooleanValue()
Return the value of this object as a boolean. |
void |
setValue(String value)
Additionally to the same method in the superclass, it checks for boolean value - but it takes always everything, so no exception thrown. |
org.jdom.Element |
toXML()
Create an XML element representing this object. |
| Methods inherited from class org.biomoby.shared.datatypes.MobyObject |
|---|
addXref, format, getId, getMobyTypeName, getName, getNamespace, getProvision, getValue, getXrefs, isPrimitiveType, setId, setName, setNamespace, setProvision, setValueXML, setXrefs, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MobyBoolean()
public MobyBoolean(boolean value)
value - will become the value of this object.| Method Detail |
|---|
public org.jdom.Element toXML()
MobyObject
toXML in class MobyObject
public void setValue(String value)
throws MobyException
setValue in class MobyObjectvalue - to be stored
MobyException - actually it does not throw ithow to set value as CDATApublic boolean getBooleanValue()
MobyObject.getValue()
|
Version: 1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||