public final class ComponentUri extends Object
Scheme: "crt"
Authority: The CRT client identifier
Path: Slash separated component keys (container hierarchy)
Query: Not used
This identifier is not relative to a container like single component keys are but is a unique identifier for all components in the CRT system.
Copyright (c) SAP AG 2001-2002
| Modifier and Type | Field and Description |
|---|---|
static String |
PATH_SEPARATOR |
static String |
SCHEME |
| Modifier and Type | Method and Description |
|---|---|
ComponentUri |
appendKey(String key)
Appends the specified key at the end of the path.
|
boolean |
equals(Object other) |
String[] |
getChildKeys()
Returns all child keys of the child URIs of this URI.
|
ComponentUri |
getChildUri(String key)
Returns a child URI with the specified key or
null if it does
not exist. |
String |
getKey()
Returns this URI's key
|
ComponentUri |
getParent()
Returns the parent URI.
|
static ComponentUri |
getRootUri(String clientID)
Returns a new root component URI.
|
int |
hashCode() |
boolean |
isRootUri()
Returns true if this is a root URI.
|
ComponentUri |
removeChildUri(String key)
Removes a child URI with the specified key.
|
String |
toString() |
public static final String PATH_SEPARATOR
public static final String SCHEME
public ComponentUri appendKey(String key) throws IllegalArgumentException
key - The component key to append.IllegalArgumentException - If the key is invalid (e.g. contains
invalid characters).public ComponentUri getParent()
public boolean isRootUri()
public String getKey()
public ComponentUri getChildUri(String key)
null if it does
not exist.key - The key of the child URI.null if it does
not exist.public ComponentUri removeChildUri(String key)
key - The key of the child urinull if it does not exist.public String[] getChildKeys()
public static ComponentUri getRootUri(String clientID)
clientID - The CRT client identifier.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2017 SAP AG Complete Copyright Notice