satin.aro
Class ARObooleanDatum

java.lang.Object
  |
  +--satin.aro.AROdatum
        |
        +--satin.aro.ARObooleanDatum

public class ARObooleanDatum
extends AROdatum

An incoming boolean data element.

Author:
Ed Stauff

Fields inherited from class satin.aro.AROdatum
gotten, name
 
Constructor Summary
ARObooleanDatum(java.lang.String name, boolean value)
          Creates a boolean data element.
 
Method Summary
void addToOutput(AROoutgoingData d, java.lang.String name)
          Copies the incoming data (this object) into the given outgoing data.
void dump(java.lang.String indent)
          Dumps the contents of the object for debugging.
boolean getBoolean()
          Returns the value of a boolean data element.
java.lang.String toString()
          Converts the value of the data element to a string.
 
Methods inherited from class satin.aro.AROdatum
addToOutput, dump, getCompound, getInteger, getName, getObjectID, getReal, getString, wasGotten
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ARObooleanDatum

public ARObooleanDatum(java.lang.String name,
                       boolean value)
Creates a boolean data element.

Parameters:
name
The name of the data element, or null.
value
The value of the data element.
Method Detail

getBoolean

public boolean getBoolean()
Description copied from class: AROdatum
Returns the value of a boolean data element. Throws an assertion if the data element is not a boolean.

Overrides:
getBoolean in class AROdatum

Following copied from class: satin.aro.AROdatum

Returns:
The value of the data element.

addToOutput

public void addToOutput(AROoutgoingData d,
                        java.lang.String name)
Description copied from class: AROdatum
Copies the incoming data (this object) into the given outgoing data.

Overrides:
addToOutput in class AROdatum

Following copied from class: satin.aro.AROdatum

Parameters:
d
the outgoing data
name
the outgoing parameter name, or null for no parameter name.

toString

public java.lang.String toString()
Description copied from class: AROdatum
Converts the value of the data element to a string.

Overrides:
toString in class AROdatum

Following copied from class: satin.aro.AROdatum

Returns:
the value of the data element as a string.

dump

public void dump(java.lang.String indent)
Description copied from class: AROdatum
Dumps the contents of the object for debugging. The output consists of the class name, the datum's name in quotes, a colon, and the datum's value. The output goes to System.out.

Overrides:
dump in class AROdatum

Following copied from class: satin.aro.AROdatum

Parameters:
indent
this string is prepended to each line of output.
Revision History

4/6/01 Ed Stauff - changes per initial code review.

4/5/01 Ed Stauff - made changes per review.

3/27/01 Ed Stauff - initial review.



Generated on 5/9/2001 19:37 from ARObooleanDatum.java (PRIVATE SOURCES)