|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.production.request.SlotBasedRequest
public class SlotBasedRequest
basic slot based request
| Constructor Summary | |
|---|---|
SlotBasedRequest()
|
|
SlotBasedRequest(java.util.Collection<? extends ISlot> slots)
|
|
| Method Summary | |
|---|---|
void |
addSlot(ISlot slot)
Adds a slot |
int |
bind(IModel model,
java.util.Map<java.lang.String,java.lang.Object> bindings,
boolean iterativeCall)
attempt to resolve and bind any variables within this request. |
int |
bind(IModel model,
java.lang.String containerName,
IUniqueSlotContainer container,
java.util.Map<java.lang.String,java.lang.Object> bindings,
boolean iterativeCall)
bind the slot values in this request against those slots contained in the container. |
SlotBasedRequest |
clone()
duplicate this IRequest so that the clone can be resolved against since the process is destructive |
java.util.Collection<? extends IConditionalSlot> |
getConditionalSlots()
|
java.util.Collection<? extends ISlot> |
getSlots()
return a duplicate copy of all the slots |
java.util.Collection<ISlot> |
getSlots(java.util.Collection<ISlot> container)
|
void |
removeSlot(ISlot slot)
remove a slot |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SlotBasedRequest()
public SlotBasedRequest(java.util.Collection<? extends ISlot> slots)
| Method Detail |
|---|
public int bind(IModel model,
java.lang.String containerName,
IUniqueSlotContainer container,
java.util.Map<java.lang.String,java.lang.Object> bindings,
boolean iterativeCall)
throws CannotMatchException
model - container - bindings - iterativeCall -
CannotMatchException
public int bind(IModel model,
java.util.Map<java.lang.String,java.lang.Object> bindings,
boolean iterativeCall)
throws CannotMatchException
IRequest
bind in interface IRequestCannotMatchExceptionpublic SlotBasedRequest clone()
IRequest
clone in interface IRequestclone in class java.lang.Objectpublic void addSlot(ISlot slot)
ISlotContainer
addSlot in interface ISlotContainerslot - The feature to be added to the ISlot attributepublic java.util.Collection<? extends IConditionalSlot> getConditionalSlots()
public java.util.Collection<? extends ISlot> getSlots()
ISlotContainer
getSlots in interface ISlotContainerpublic void removeSlot(ISlot slot)
ISlotContainer
removeSlot in interface ISlotContainerslot - Description of Parameterpublic java.util.Collection<ISlot> getSlots(java.util.Collection<ISlot> container)
getSlots in interface ISlotContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||