org.jactr.core.slot
Class ChunkTypeSlot

java.lang.Object
  extended by org.jactr.core.slot.BasicSlot
      extended by org.jactr.core.slot.DefaultMutableSlot
          extended by org.jactr.core.slot.ChunkTypeSlot
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<ISlot>, IMutableSlot, ISlot

public class ChunkTypeSlot
extends DefaultMutableSlot

Author:
harrison TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
ChunkTypeSlot(ISlot slot)
           
ChunkTypeSlot(ISlot slot, IChunkType ct)
           
ChunkTypeSlot(java.lang.String name, java.lang.Object value)
           
 
Method Summary
 ChunkTypeSlot clone()
           
 IChunkType getOwner()
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.jactr.core.slot.BasicSlot
compareTo, equals, equalValues, getName, getValue, isVariable, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jactr.core.slot.ISlot
equalValues, getName, getValue, isVariable
 

Constructor Detail

ChunkTypeSlot

public ChunkTypeSlot(java.lang.String name,
                     java.lang.Object value)

ChunkTypeSlot

public ChunkTypeSlot(ISlot slot)
Parameters:
slot -

ChunkTypeSlot

public ChunkTypeSlot(ISlot slot,
                     IChunkType ct)
Method Detail

getOwner

public IChunkType getOwner()

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface IMutableSlot
Overrides:
setValue in class DefaultMutableSlot
See Also:
IMutableSlot.setValue(java.lang.Object)

clone

public ChunkTypeSlot clone()
Overrides:
clone in class DefaultMutableSlot
See Also:
org.jactr.core.utils.Duplicateable#duplicate()