io.sarl.api.naming.name
Class SkillName
All Superinterfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<T>
class SkillName
extends SarlName
This class represents a skill name.

The different components of a skill name are:
  • contextId (optional) : the identifier of the context in which the agent is located. If it is null, the the spaceId component is equal to null.
  • spaceId (optional) : the identifier of the space in which the agent is registered.
  • agentId (mandatory) : the identifier of the agent.
  • capacity (mandatory) : the fully qualified name of the capacity type that is implemented by a skill in the agent.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.naming
Since:
0.12
Property Summary
Modifier and type Property and description
java.util.UUID agentId
java.lang.Class<T> capacity
java.util.UUID contextId
java.util.UUID spaceId
Field Summary
Modifier and type Field and description
public static val java.lang.String SCHEME
Scheme for skills.
Constructor Summary
Constructor and description
new(URI,UUID,UUID,UUID,Class<T>)
Constructor.
Action Summary
Modifier and type Action and description
java.util.UUID getAgentId
java.lang.Class<T> getCapacity
java.util.UUID getContextId
java.util.UUID getSpaceId
Property Details
agentId
val agentId : java.util.UUID

This property is an alias for the action: getAgentId

capacity
val capacity : java.lang.Class<T>

This property is an alias for the action: getCapacity

contextId
val contextId : java.util.UUID

This property is an alias for the action: getContextId

spaceId
val spaceId : java.util.UUID

This property is an alias for the action: getSpaceId

Field Details
SCHEME
public static val SCHEME : java.lang.String = "skill"
Scheme for skills.
Constructor Details
new(URI,UUID,UUID,UUID,Class<T>)
new(URI,UUID,UUID,UUID,Class<T>)
Constructor.
Parameters:
uri - the uri of the context.
contextId - the identifier of the context.
spaceId - the identifier of the space.
agentId - the identifier of the agent.
capacity - the name of the capacity implemented by the skill.
Action Details
getAgentId
def getAgentId : java.util.UUID
getCapacity
def getCapacity : java.lang.Class<T>
getContextId
def getContextId : java.util.UUID
getSpaceId
def getSpaceId : java.util.UUID