edu.byu.ece.edif.core
Class BooleanTypedValue

java.lang.Object
  extended by edu.byu.ece.edif.core.BooleanTypedValue
All Implemented Interfaces:
EdifOut, EdifTypedValue, java.io.Serializable

public class BooleanTypedValue
extends java.lang.Object
implements EdifTypedValue

Signifies that the EDIF file has a Boolean value type.

Version:
$Id:BooleanTypedValue.java 198 2008-04-16 21:14:21Z jamesfcarroll $
See Also:
Serialized Form

Field Summary
private  boolean _booleanValue
          The boolean value of this object
 
Constructor Summary
BooleanTypedValue(boolean value)
          Construct a BooleanTypedValue Object with the specified value.
 
Method Summary
 boolean equals(EdifTypedValue value)
           
 boolean getBooleanValue()
          Return the boolean value of this object.
 void toEdif(EdifPrintWriter epw)
          Convert this object to EDIF format and write it to the passed-in EdifPrintWriter.
 java.lang.String toString()
          Return a String representation of this object.
 
Methods inherited from class java.lang.Object
clone, 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)
Construct a BooleanTypedValue Object with the specified value.

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

equals

public boolean equals(EdifTypedValue value)
Specified by:
equals in interface EdifTypedValue

getBooleanValue

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

Returns:
A boolean representing the value of this BooleanTypeValue Object

toEdif

public void toEdif(EdifPrintWriter epw)
Convert this object to EDIF format and write 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

toString

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

Overrides:
toString in class java.lang.Object
Returns:
A String representing this BooleanTypedValue Object