Package jadex.bdiv3.model
Class MProcessableElement
- java.lang.Object
-
- jadex.bdiv3.model.MElement
-
- jadex.bdiv3.model.MParameterElement
-
- jadex.bdiv3.model.MProcessableElement
-
- Direct Known Subclasses:
MClassBasedElement,MInternalEvent,MMessageEvent,MServiceCall
public class MProcessableElement extends MParameterElement
Base class for all elements that can be processed with means-end reasoning.
-
-
Field Summary
Fields Modifier and Type Field Description protected ExcludeModeexcludemodeThe exclude mode.protected booleanexportedThe exported flag.protected booleanposttoallPost to all flag.protected booleanrandomselectionRandom selection flag.protected booleanrebuildThe rebuild mode.-
Fields inherited from class jadex.bdiv3.model.MParameterElement
parameters
-
Fields inherited from class jadex.bdiv3.model.MElement
CAPABILITY_SEPARATOR, description, name
-
-
Constructor Summary
Constructors Constructor Description MProcessableElement()Bean Constructor.MProcessableElement(java.lang.String name, boolean posttoall, boolean rebuild, boolean randomselection, ExcludeMode excludemode)Create a new element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExcludeModegetExcludeMode()Get the excludemode.booleanisExported()Get the exported flag.booleanisPostToAll()Test if is posttoall.booleanisRandomSelection()Test if is random selection.booleanisRebuild()Test if rebuild APL.voidsetExcludeMode(ExcludeMode excludemode)Set the excludemode.voidsetExported(boolean exported)Set the exported flag.voidsetPostToAll(boolean posttoall)Set the posttoall.voidsetRandomSelection(boolean randomselection)Set the randomselection.voidsetRebuild(boolean rebuild)Set the rebuild.-
Methods inherited from class jadex.bdiv3.model.MParameterElement
addParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParameters
-
Methods inherited from class jadex.bdiv3.model.MElement
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
-
-
-
-
Field Detail
-
posttoall
protected boolean posttoall
Post to all flag.
-
randomselection
protected boolean randomselection
Random selection flag.
-
rebuild
protected boolean rebuild
The rebuild mode.
-
excludemode
protected ExcludeMode excludemode
The exclude mode.
-
exported
protected boolean exported
The exported flag.
-
-
Constructor Detail
-
MProcessableElement
public MProcessableElement()
Bean Constructor.
-
MProcessableElement
public MProcessableElement(java.lang.String name, boolean posttoall, boolean rebuild, boolean randomselection, ExcludeMode excludemode)Create a new element.
-
-
Method Detail
-
isPostToAll
public boolean isPostToAll()
Test if is posttoall.- Returns:
- True, if posttoaall.
-
isRandomSelection
public boolean isRandomSelection()
Test if is random selection.- Returns:
- True, if is random selection.
-
setPostToAll
public void setPostToAll(boolean posttoall)
Set the posttoall.- Parameters:
posttoall- The posttoall to set.
-
setRandomSelection
public void setRandomSelection(boolean randomselection)
Set the randomselection.- Parameters:
randomselection- The randomselection to set.
-
isRebuild
public boolean isRebuild()
Test if rebuild APL.- Returns:
- True, if rebuild.
-
setRebuild
public void setRebuild(boolean rebuild)
Set the rebuild.- Parameters:
rebuild- The rebuild to set.
-
getExcludeMode
public ExcludeMode getExcludeMode()
Get the excludemode.- Returns:
- The excludemode.
-
setExcludeMode
public void setExcludeMode(ExcludeMode excludemode)
Set the excludemode.- Parameters:
excludemode- The excludemode to set.
-
isExported
public boolean isExported()
Get the exported flag.- Returns:
- The exported flag.
-
setExported
public void setExported(boolean exported)
Set the exported flag.- Parameters:
exported- The exported to set.
-
-