public abstract class AbstractSlotCondition extends java.lang.Object implements ICondition, ISlotContainer
Constructor and Description |
---|
AbstractSlotCondition() |
Modifier and Type | Method and Description |
---|---|
void |
addSlot(ISlot slot)
Adds a slot
|
protected void |
clearToString() |
protected java.lang.String |
createToString() |
void |
dispose()
called when we are sure we are done with this condition
|
java.util.Collection<? extends IConditionalSlot> |
getConditionalSlots() |
protected SlotBasedRequest |
getRequest() |
java.util.Collection<? extends ISlot> |
getSlots()
violates the ISlotContainer#getSlots() contract that they be a copy why?
because each condition is fully duplicated during instantiation so we will
be the only modifiers of this..
|
java.util.Collection<ISlot> |
getSlots(java.util.Collection<ISlot> container) |
void |
removeSlot(ISlot slot)
remove a slot
|
protected void |
setRequest(SlotBasedRequest request) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bind, clone
protected void setRequest(SlotBasedRequest request)
protected SlotBasedRequest getRequest()
public void dispose()
ICondition
dispose
in interface ICondition
ICondition.dispose()
public java.util.Collection<? extends ISlot> getSlots()
getSlots
in interface ISlotContainer
ISlotContainer.getSlots()
public java.util.Collection<ISlot> getSlots(java.util.Collection<ISlot> container)
getSlots
in interface ISlotContainer
public java.util.Collection<? extends IConditionalSlot> getConditionalSlots()
public void addSlot(ISlot slot)
ISlotContainer
addSlot
in interface ISlotContainer
slot
- The feature to be added to the ISlot attributeISlotContainer.addSlot(ISlot)
public void removeSlot(ISlot slot)
ISlotContainer
removeSlot
in interface ISlotContainer
slot
- Description of ParameterISlotContainer.removeSlot(ISlot)
public java.lang.String toString()
toString
in class java.lang.Object
protected void clearToString()
protected java.lang.String createToString()