org.jactr.core.production.action
Class DefaultSlotAction
java.lang.Object
org.jactr.core.production.action.DefaultAction
org.jactr.core.production.action.DefaultSlotAction
- All Implemented Interfaces:
- IAction, ISlotContainer, IUniqueSlotContainer
public abstract class DefaultSlotAction
- extends DefaultAction
- implements IUniqueSlotContainer
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jactr.core.production.action.IAction |
bind |
DefaultSlotAction
public DefaultSlotAction()
getSlot
public ISlot getSlot(java.lang.String slotName)
- Description copied from interface:
IUniqueSlotContainer
- return the actual named slot. this is the backing slot, changes to it are
propogated throughout the model
- Specified by:
getSlot in interface IUniqueSlotContainer
- Returns:
addSlot
public void addSlot(ISlot slot)
- Description copied from interface:
ISlotContainer
- Adds a slot
- Specified by:
addSlot in interface ISlotContainer
- Parameters:
slot - The feature to be added to the ISlot attribute
getSlots
public java.util.Collection<? extends ISlot> getSlots()
- Description copied from interface:
ISlotContainer
- return a duplicate copy of all the slots
- Specified by:
getSlots in interface ISlotContainer
- Returns:
- The slots value
getSlots
public java.util.Collection<ISlot> getSlots(java.util.Collection<ISlot> container)
- Specified by:
getSlots in interface ISlotContainer
removeSlot
public void removeSlot(ISlot slot)
- Description copied from interface:
ISlotContainer
- remove a slot
- Specified by:
removeSlot in interface ISlotContainer
- Parameters:
slot - Description of Parameter