Modifier and type | Action and description |
---|---|
protected abstract S | clearSkill(Class<T>) Clears the Skill associated with the capacity. |
protected abstract S | getSkill(Class<T>) Replies the skill corresponding to the given capacity. |
protected abstract boolean | hasSkill(Class<T>) Checks if this agent has a Skill that implements the Capacity capacity . |
protected abstract boolean | isFromMe(Event) Replies if the given event was emitted by this agent. |
protected abstract boolean | isMe(Address) Replies if the given address is one of the addresses of this agent. |
protected abstract boolean | isMe(UUID) Replies if the given identifier corresponds to the identifier of this agent. |
protected abstract void | operator_mappedTo(Class<T>,S) Defines the implementation of the "capacity maps-to skill" operator. |
protected abstract S | setSkill(S,Class<T>*) Set the skill for the Capacity capacity . |
protected abstract void | setSkillIfAbsent(Skill,Class<T>*) Set the skill for the Capacity capacity if the mapping is not yet set. |
final java.lang.String | toString |
protected abstract void | toString(ToStringBuilder) fill the given builder with the string representation of this object. |
new
protected def clearSkill(Class<T>) : Swith S extends Capacity
protected def getSkill(Class<T>) : Swith S extends Capacity
null
. If not capacity was set, the exception UnimplementedCapacityException is thrown.
protected def hasSkill(Class<T>) : boolean
capacity
.
protected def isFromMe(Event) : boolean
protected def isMe(Address) : boolean
protected def isMe(UUID) : boolean
br id.equals( agent.getID() )br
protected def operator_mappedTo(Class<T>,S)with S extends Skill
protected def setSkill(S,Class<T>*) : Swith S extends Skill
capacity
.
protected def setSkillIfAbsent(Skill,Class<T>*)
capacity
if the mapping is not yet set.
def toString : java.lang.String
protected def toString(ToStringBuilder)