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