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.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMProcessableElement.ExcludeModeThe exclude mode determines when and if a plan is removed from the applicable plans list (APL).
 - 
Field SummaryFields Modifier and Type Field Description protected MProcessableElement.ExcludeModeexcludemodeThe exclude mode.protected booleanexportedThe exported flag.static java.util.Map<java.lang.String,MProcessableElement.ExcludeMode>modesprotected booleanposttoallPost to all flag.protected booleanrandomselectionRandom selection flag.protected booleanrebuildThe rebuild mode.- 
Fields inherited from class jadex.bdiv3.model.MParameterElementparameters
 - 
Fields inherited from class jadex.bdiv3.model.MElementCAPABILITY_SEPARATOR, description, name
 
- 
 - 
Constructor SummaryConstructors Constructor Description MProcessableElement()Bean Constructor.MProcessableElement(java.lang.String name, boolean posttoall, boolean rebuild, boolean randomselection, MProcessableElement.ExcludeMode excludemode)Create a new element.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MProcessableElement.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(MProcessableElement.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.MParameterElementaddParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParameters
 - 
Methods inherited from class jadex.bdiv3.model.MElementequals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
 
- 
 
- 
- 
- 
Field Detail- 
modespublic static java.util.Map<java.lang.String,MProcessableElement.ExcludeMode> modes 
 - 
posttoallprotected boolean posttoall Post to all flag.
 - 
randomselectionprotected boolean randomselection Random selection flag.
 - 
rebuildprotected boolean rebuild The rebuild mode.
 - 
excludemodeprotected MProcessableElement.ExcludeMode excludemode The exclude mode.
 - 
exportedprotected boolean exported The exported flag.
 
- 
 - 
Constructor Detail- 
MProcessableElementpublic MProcessableElement() Bean Constructor.
 - 
MProcessableElementpublic MProcessableElement(java.lang.String name, boolean posttoall, boolean rebuild, boolean randomselection, MProcessableElement.ExcludeMode excludemode)Create a new element.
 
- 
 - 
Method Detail- 
isPostToAllpublic boolean isPostToAll() Test if is posttoall.- Returns:
- True, if posttoaall.
 
 - 
isRandomSelectionpublic boolean isRandomSelection() Test if is random selection.- Returns:
- True, if is random selection.
 
 - 
setPostToAllpublic void setPostToAll(boolean posttoall) Set the posttoall.- Parameters:
- posttoall- The posttoall to set.
 
 - 
setRandomSelectionpublic void setRandomSelection(boolean randomselection) Set the randomselection.- Parameters:
- randomselection- The randomselection to set.
 
 - 
isRebuildpublic boolean isRebuild() Test if rebuild APL.- Returns:
- True, if rebuild.
 
 - 
setRebuildpublic void setRebuild(boolean rebuild) Set the rebuild.- Parameters:
- rebuild- The rebuild to set.
 
 - 
getExcludeModepublic MProcessableElement.ExcludeMode getExcludeMode() Get the excludemode.- Returns:
- The excludemode.
 
 - 
setExcludeModepublic void setExcludeMode(MProcessableElement.ExcludeMode excludemode) Set the excludemode.- Parameters:
- excludemode- The excludemode to set.
 
 - 
isExportedpublic boolean isExported() Get the exported flag.- Returns:
- The exported flag.
 
 - 
setExportedpublic void setExported(boolean exported) Set the exported flag.- Parameters:
- exported- The exported to set.
 
 
- 
 
-