eu.larkc.jactr.core.chunk.larkc
Interface ISymbolicChunkLarKC

All Superinterfaces:
IAdaptable, ISlotContainer, ISymbolicChunk, ISymbolicChunkRdf, IUniqueSlotContainer
All Known Implementing Classes:
BasicSymbolicChunkLarKC

public interface ISymbolicChunkLarKC
extends ISymbolicChunkRdf

Symbolic chunks that implement this interface contain LarKC-Result data.

Author:
Martijn Brakenhoff

Field Summary
static String LARKC_DATA_CHUNKTYPE_NAME
           
 
Fields inherited from interface eu.larkc.jactr.core.chunk.rdf.ISymbolicChunkRdf
RDF_SLOT_NAME
 
Method Summary
 Object getLarKCData()
          Retrieve the LarKC Data stored in this Chunk.
 void setLarKCData(InformationSet data)
          Sets the LarKC Data to the given InformationSet.
 void setLarKCData(Query data)
          Sets the LarKC Data to the given Query.
 void setLarKCDataCollection(Collection<?> data)
          Sets the LarKC Data to be the given Collection.
 
Methods inherited from interface eu.larkc.jactr.core.chunk.rdf.ISymbolicChunkRdf
getChunkResource, getRdfData, setRdfData
 
Methods inherited from interface org.jactr.core.chunk.ISymbolicChunk
dispose, encode, getChunkType, getName, getParentChunk, isA, isAStrict, setName
 
Methods inherited from interface org.jactr.core.slot.IUniqueSlotContainer
getSlot
 
Methods inherited from interface org.jactr.core.slot.ISlotContainer
addSlot, getSlots, getSlots, removeSlot
 
Methods inherited from interface org.jactr.core.utils.IAdaptable
getAdapter
 

Field Detail

LARKC_DATA_CHUNKTYPE_NAME

static final String LARKC_DATA_CHUNKTYPE_NAME
See Also:
Constant Field Values
Method Detail

setLarKCData

void setLarKCData(InformationSet data)
Sets the LarKC Data to the given InformationSet.

Parameters:
data - the InformationSet that should be stored in this chunk.

setLarKCData

void setLarKCData(Query data)
Sets the LarKC Data to the given Query.

Parameters:
data - the Query that should be stored in this chunk.

setLarKCDataCollection

void setLarKCDataCollection(Collection<?> data)
                            throws IllegalArgumentException
Sets the LarKC Data to be the given Collection. Accepts only Collection and Collection objects.

Parameters:
data - A Collection that should be used as the LarKC data.
Throws:
IllegalArgumentException - if the data was not a Collection or a Collection.

getLarKCData

Object getLarKCData()
Retrieve the LarKC Data stored in this Chunk.

Returns:
the data stored in this chunk.