public abstract class SarlName extends Object implements Cloneable, Serializable, Comparable<SarlName>
The components of a name are numbered. The indexes of a name with N components range from 0 up to, but not including, N. An empty compound name has no components.
SName
instance is not synchronized against concurrent
multithreaded access. Multiple threads trying to access and modify a
SName
should lock the object.Modifier and Type | Method and Description |
---|---|
int |
compareTo(name : SarlName) |
Object |
getAssociatedObject()
Replies the associated object.
|
String |
getFragment()
Replies the name of the fragment.
|
NameScheme |
getScheme()
Replies the scheme of this name.
|
boolean |
hasFragment()
Replies if this name has a fragment associated to it.
|
void |
setAssociatedObject(obj : Object)
Change the associated object.
|
String |
toString() |
URI |
toURI()
Replies the URI associated to this name.
|
protected new
(uri : URI)
@Pure
public def
getScheme() : NameScheme
SarlName
@Pure
public def
compareTo(name : SarlName) : int
compareTo
in interface Comparable<SarlName>
@Pure
public def
toURI() : URI
SarlName
@Pure
public def
getFragment() : String
SarlName
@Pure
public def
hasFragment() : boolean
SarlName
@Pure
public final def
getAssociatedObject() : Object
SarlName
Copyright © 2020 the original authors or authors.