public class PxBooleanParm
extends java.lang.Object
Constructor and Description |
---|
PxBooleanParm()
Constructs a PxBooleanParm object.
|
PxBooleanParm(boolean value)
Constructs a PxBooleanParm object.
|
PxBooleanParm(java.lang.Boolean value)
Constructs a PxBooleanParm object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Returns a new copy of this datastream.
|
java.lang.Object |
clone()
Returns a new copy of this datastream.
|
void |
dump(java.io.PrintWriter output)
Dumps the datastream for debugging and tracing.
|
boolean |
getBooleanValue()
Returns the boolean value.
|
java.lang.Object |
getObjectValue()
Returns the Object value.
|
short |
getType()
Returns the datastream type.
|
short |
getType()
Returns the datastream type.
|
void |
readFrom(java.io.InputStream input,
com.ibm.as400.access.PxDSFactory factory)
Loads this datastream by reading from an input stream.
|
java.lang.String |
toString()
Returns the String representation of the datastream.
|
void |
writeTo(java.io.OutputStream output)
Writes the contents of the datastream to an output stream.
|
public PxBooleanParm()
public PxBooleanParm(boolean value)
value
- The boolean value.public PxBooleanParm(java.lang.Boolean value)
value
- The boolean value.public boolean getBooleanValue()
public java.lang.Object getObjectValue()
public void readFrom(java.io.InputStream input, com.ibm.as400.access.PxDSFactory factory) throws java.io.IOException
input
- The input stream.factory
- The datastream factory. This is sometimes
needed when datastreams are nested.java.io.IOException
- If an error occurs.public java.lang.String toString()
public void writeTo(java.io.OutputStream output) throws java.io.IOException
output
- The output stream.java.io.IOException
- If an error occurs.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- If the object cannot be cloned.public short getType()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- If the object cannot be cloned.public void dump(java.io.PrintWriter output)
output
- The print writer to which to dump the datastream.public short getType()