- All Superinterfaces:
-
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<T>
@org.eclipse.xtext.xbase.lib.XbaseGenerated
class
ScopedDataName
extends
SarlName
This class represents a name for a data defined in a scope.
- Maven Group Identifier:
-
- Maven Artifact Identifier:
-
- Since:
-
Property Summary
| Modifier and type |
Property and description |
| java.lang.String |
name
Replies the name of the data. |
| java.lang.String |
scope
Replies the scope of the data. |
Field Summary
| Modifier and type |
Field and description |
| public static val java.lang.String |
SCHEME
Scheme for services. |
| Modifier and type |
Field and description |
| public static val java.lang.String |
SCHEME
Scheme for services. |
Constructor Summary
Action Summary
| Modifier and type |
Action and description |
| static java.net.URI |
buildURI(String*)
Build a valid URI for the scoped data name. |
| java.lang.String |
getName
Replies the name of the data. |
| java.lang.String |
getScope
Replies the scope of the data. |
| Modifier and type |
Action and description |
| static java.net.URI |
buildURI(String*)
Build a valid URI for the scoped data name. |
| Modifier and type |
Action and description |
| java.lang.String |
getName
Replies the name of the data. |
| java.lang.String |
getScope
Replies the scope of the data. |
Inherited: compareTo(SarlName),
getAssociatedObject,
getFragment,
getScheme,
hasFragment,
operator_equals(SarlName),
operator_greaterEqualsThan(SarlName),
operator_greaterThan(SarlName),
operator_lessEqualsThan(SarlName),
operator_lessThan(SarlName),
operator_notEquals(SarlName),
operator_spaceship(SarlName),
setAssociatedObject(Object),
toString,
toURI
Property Details
- name
-
val name : java.lang.String
Replies the name of the data. The name of the data is the last segment of the URI of this SarlName.
This property is an alias for the action: getName
- Returns:
-
- scope
-
val scope : java.lang.String
Replies the scope of the data. The scope of the data is the segments, excluding the last segment, of the URI of this SarlName.
This property is an alias for the action: getScope
- Returns:
-
Field Details
- SCHEME
-
public static val SCHEME : java.lang.String = "data"
Scheme for services.
Constructor Details
- new(String*)
-
new(String*)
Constructor.
- Parameters:
-
elements -
- new(URI)
-
new(URI)
Constructor.
- Parameters:
-
uri -
Action Details
- buildURI(String*)
-
def buildURI(String*) : java.net.URI
Build a valid URI for the scoped data name.
- Parameters:
-
elements -
- Returns:
-
- getName
-
def getName : java.lang.String
Replies the name of the data. The name of the data is the last segment of the URI of this SarlName.
- Returns:
-
- getScope
-
def getScope : java.lang.String
Replies the scope of the data. The scope of the data is the segments, excluding the last segment, of the URI of this SarlName.
- Returns:
-