Package jadex.bdi.model
Class MClassBasedElement
java.lang.Object
jadex.bdi.model.MElement
jadex.bdi.model.MParameterElement
jadex.bdi.model.MProcessableElement
jadex.bdi.model.MClassBasedElement
- Direct Known Subclasses:
MGoal
Processable element based on a class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClassLoader
protected String
The target.protected Class
<?> Fields inherited from class jadex.bdi.model.MProcessableElement
excludemode, exported, posttoall, randomselection, rebuild
Fields inherited from class jadex.bdi.model.MParameterElement
parameters
Fields inherited from class jadex.bdi.model.MElement
CAPABILITY_SEPARATOR, description, name
-
Constructor Summary
ConstructorsConstructorDescriptionBean Constructor.MClassBasedElement
(String name, String target, boolean posttoall, boolean rebuild, boolean randomselection, ExcludeMode excludemode) Create a new belief. -
Method Summary
Methods inherited from class jadex.bdi.model.MProcessableElement
getExcludeMode, isExported, isPostToAll, isRandomSelection, isRebuild, setExcludeMode, setExported, setPostToAll, setRandomSelection, setRebuild
Methods inherited from class jadex.bdi.model.MParameterElement
addParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParameters
Methods inherited from class jadex.bdi.model.MElement
getCapabilityName, getDescription, getElementName, getName, internalName, setDescription, setFlatName, setName, toString
-
Field Details
-
target
The target. -
targetclass
-
lastcl
-
-
Constructor Details
-
MClassBasedElement
public MClassBasedElement()Bean Constructor. -
MClassBasedElement
public MClassBasedElement(String name, String target, boolean posttoall, boolean rebuild, boolean randomselection, ExcludeMode excludemode) Create a new belief.
-
-
Method Details
-
getTarget
Get the target.- Returns:
- The target.
-
getTargetClass
Get the target.- Returns:
- The target.
-
setTarget
Set the target.- Parameters:
target
- The target to set.
-
equals
Check if other object is equal. -
hashCode
public int hashCode()Get the hashcode.
-