org.hawk.module.script.type
Class BooleanDataType

java.lang.Object
  extended by org.hawk.module.script.type.AbstractDataType
      extended by org.hawk.module.script.type.BooleanDataType
All Implemented Interfaces:
IDataType

public class BooleanDataType
extends AbstractDataType


Constructor Summary
BooleanDataType(boolean data)
           
 
Method Summary
 IDataType copy()
           
 boolean isData()
           
 void setData(boolean data)
           
 java.lang.String toString()
           
 
Methods inherited from class org.hawk.module.script.type.AbstractDataType
add, and, divide, equalTo, greaterThan, greaterThanEqualTo, lessThan, lessThanEqualTo, modulus, multiply, or, subtract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanDataType

public BooleanDataType(boolean data)
Method Detail

isData

public boolean isData()

setData

public void setData(boolean data)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

copy

public IDataType copy()
               throws HawkException
Specified by:
copy in interface IDataType
Specified by:
copy in class AbstractDataType
Throws:
HawkException