com.nimkathana.swx.util
Class SwxBoolean
java.lang.Object
com.nimkathana.swx.util.SwxBoolean
- public class SwxBoolean
- extends java.lang.Object
Wrapper for transmitting booleans via xml-rpc
- Version:
- April 2004
- Author:
- Maintained by Nimkathana
(www.nimkathana.com), Original by IOP GmbH
(www.iop.de)
Method Summary |
boolean |
equals(java.lang.Object other)
|
boolean |
getValue()
Gets the primitive value of a SwxBoolean |
int |
hashCode()
|
void |
setValue(boolean value)
Sets the primitive valueo of a SwxBoolean |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SwxBoolean
public SwxBoolean()
SwxBoolean
public SwxBoolean(boolean value)
- Parameters:
value
- true or false, depending on what this
SwxBoolean should represent
getValue
public boolean getValue()
- Gets the primitive value of a SwxBoolean
- Returns:
- true or false
setValue
public void setValue(boolean value)
- Sets the primitive valueo of a SwxBoolean
- Parameters:
value
- true or false, depending on what this
SwxBoolean should represent
hashCode
public int hashCode()
- Returns:
- 1 if this SwxBoolean is true, 0 if false
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object other)
Copyright © 2004 Nimkathana Corp. All Rights Reserved.