Package jadex.bdi.runtime.impl
Class AbstractBDIInfo
java.lang.Object
jadex.bdi.runtime.impl.AbstractBDIInfo
- Direct Known Subclasses:
BeliefInfo
,GoalInfo
,PlanInfo
Base class for transferable information about BDI elements.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Test if two objects are equal.getId()
Return the id.getType()
Return the type.int
hashCode()
Get the hashcodeSet the id.setParentId
(String parentid) Set the type.
-
Field Details
-
id
The belief id. -
type
The element type. -
parentid
The parent element id.
-
-
Constructor Details
-
AbstractBDIInfo
public AbstractBDIInfo()Create a new info.
-
-
Method Details
-
getId
Return the id. -
setId
Set the id. -
getType
Return the type. -
setType
Set the type. -
getParentId
- Returns:
- the parentid
-
setParentId
- Parameters:
parentid
- the parentid to set
-
equals
Test if two objects are equal. -
hashCode
public int hashCode()Get the hashcode
-