byucc.edif
Class BooleanTypedValue

java.lang.Object
  extended bybyucc.edif.NewTypedValue
      extended bybyucc.edif.BooleanTypedValue
All Implemented Interfaces:
EdifOut, java.io.Serializable

public class BooleanTypedValue
extends NewTypedValue
implements java.io.Serializable

Signifies that the EDIF file has a Boolean value type.

Version:
$Id: BooleanTypedValue.java,v 1.10 2004/08/27 19:16:42 tsa6 Exp $
Author:
Welson Sun, Mike Wirthlin, Tyler Anderson
See Also:
Serialized Form

Field Summary
private  boolean _booleanValue
          The boolean value of this object.
 
Constructor Summary
BooleanTypedValue(boolean value)
          Constructs a BooleanTypedValue Object with the specified value.
 
Method Summary
 java.lang.Object clone()
          Returns a clone or copy of this object.
 boolean getBooleanValue()
          Returns the boolean value of this object.
 void setBooleanValue(boolean value)
          Sets the boolean value of this object to the passed-in boolean.
 void toEdif(EdifPrintWriter epw)
          Converts this object to EDIF format and writes it to the passed-in EdifPrintWriter.
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_booleanValue

private boolean _booleanValue
The boolean value of this object.

Constructor Detail

BooleanTypedValue

public BooleanTypedValue(boolean value)
Constructs a BooleanTypedValue Object with the specified value.

Parameters:
value - The value of this BooleanTypeValue Object
Method Detail

clone

public java.lang.Object clone()
Returns a clone or copy of this object.

Specified by:
clone in class NewTypedValue
Returns:
An Object representing a clone of copy of this BooleanTypedValue Object

getBooleanValue

public boolean getBooleanValue()
Returns the boolean value of this object.

Returns:
A boolean representing the value of this BooleanTypeValue Object

setBooleanValue

public void setBooleanValue(boolean value)
Sets the boolean value of this object to the passed-in boolean.

Parameters:
value - The boolean value that the value of this Object will be set to.

toString

public java.lang.String toString()
Returns a String representation of this object.

Returns:
A String representing this BooleanTypedValue Object

toEdif

public void toEdif(EdifPrintWriter epw)
Converts this object to EDIF format and writes it to the passed-in EdifPrintWriter.

Specified by:
toEdif in interface EdifOut
Parameters:
epw - The EdifPrintWriter Object that the EDIF data will be written to