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, ISlotOwner

public class ChunkTypeSlot
extends DefaultMutableSlot
implements ISlotOwner

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 valueChanged(ISlot slot, java.lang.Object oldValue, java.lang.Object newValue)
           
 
Methods inherited from class org.jactr.core.slot.DefaultMutableSlot
equals, hashCode, setValue
 
Methods inherited from class org.jactr.core.slot.BasicSlot
compareTo, equalValues, getName, getValue, isVariable, isVariableValue, setOwner, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jactr.core.slot.ISlot
equalValues, getName, getValue, isVariable, isVariableValue
 

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()

clone

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

valueChanged

public void valueChanged(ISlot slot,
                         java.lang.Object oldValue,
                         java.lang.Object newValue)
Specified by:
valueChanged in interface ISlotOwner