|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.slide.common.Uri
This class manages the unique identifier of an object which is manipulated by Slide.
Constructor Summary | |
Uri(Namespace namespace,
java.lang.String uri)
Constructor. |
|
Uri(SlideToken token,
Namespace namespace,
java.lang.String uri)
Constructor. |
Method Summary | |
Uri |
cloneObject()
Do a fast clone of the Uri object. |
boolean |
equals(java.lang.Object obj)
Tests equivalence of two Uris. |
Namespace |
getNamespace()
Return the namespace to which this Uri belongs. |
Uri |
getParentUri()
Get the parent uri. |
java.lang.String |
getRelative()
Get the relative path to the matched scope. |
Scope |
getScope()
Scope accessor. |
java.util.Enumeration |
getScopes()
Returns the scopes tokenized by the ScopeTokenizer associated with this Uri object. |
Store |
getStore()
Store accessor. |
SlideToken |
getToken()
Token accessor. |
int |
hashCode()
Hash code. |
void |
invalidateServices()
Invalidate the current Services and PK. |
boolean |
isParent(Uri uri)
Tests if the given uri represents a parent object. |
void |
reconnectServices()
Reconnect the Uri services. |
void |
setToken(SlideToken token)
Token mutator. |
void |
setUri(java.lang.String uri)
Uri mutator. |
java.lang.String |
toString()
String representation of the uri object. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Uri(Namespace namespace, java.lang.String uri)
namespace
- Namespace associated with this Uriuri
- Uripublic Uri(SlideToken token, Namespace namespace, java.lang.String uri)
token
- Slide tokennamespace
- Namespace associated with this Uriuri
- UriMethod Detail |
public void setUri(java.lang.String uri)
uri
- New uripublic Scope getScope()
public java.util.Enumeration getScopes()
public Store getStore()
public SlideToken getToken()
public void setToken(SlideToken token)
token
- New Slide tokenpublic Namespace getNamespace()
public Uri getParentUri()
public void invalidateServices()
public void reconnectServices()
public java.lang.String getRelative()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object to testpublic Uri cloneObject()
public boolean isParent(Uri uri)
uri
- Uri to test
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |