eu.larkc.core.data
Class BooleanInformationSetImpl

java.lang.Object
  extended by eu.larkc.core.data.BooleanInformationSetImpl
All Implemented Interfaces:
BooleanInformationSet, InformationSet, java.io.Serializable

public class BooleanInformationSetImpl
extends java.lang.Object
implements BooleanInformationSet

Author:
vassil
See Also:
BooleanInformationSet, Serialized Form

Constructor Summary
BooleanInformationSetImpl(boolean value)
          Constructor
 
Method Summary
 boolean getValue()
          Reads the boolean value.
 SetOfStatements toRDF(SetOfStatements data)
          Serializes this object to SetOfStatements.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanInformationSetImpl

public BooleanInformationSetImpl(boolean value)
Constructor

Parameters:
value - is true/false
Method Detail

getValue

public boolean getValue()
Description copied from interface: BooleanInformationSet
Reads the boolean value.

Specified by:
getValue in interface BooleanInformationSet
Returns:
boolean value

toRDF

public SetOfStatements toRDF(SetOfStatements data)
Description copied from interface: InformationSet
Serializes this object to SetOfStatements.

Specified by:
toRDF in interface InformationSet
Parameters:
data - is stream to serialize this object to.
Returns:
reference to the set of statements that contains the serialized data.