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

The component of a context name is:
  • contextId (mandatory) : the identifier of the context itself.
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 contextId
Field Summary
Modifier and type Field and description
public static val java.lang.String SCHEME
Scheme for contexts.
Constructor Summary
Constructor and description
new(URI,UUID)
Constructor.
Action Summary
Modifier and type Action and description
java.util.UUID getContextId
Property Details
contextId
val contextId : java.util.UUID

This property is an alias for the action: getContextId

Field Details
SCHEME
public static val SCHEME : java.lang.String = "context"
Scheme for contexts.
Constructor Details
new(URI,UUID)
new(URI,UUID)
Constructor.
Parameters:
uri - the uri of the context.
contextId - the identifier of the context.
Action Details
getContextId
def getContextId : java.util.UUID