public abstract class Path extends Object implements C2KLocalObject
| Modifier and Type | Field and Description |
|---|---|
static String |
delim |
protected String[] |
mPath |
| Modifier | Constructor and Description |
|---|---|
|
Path() |
protected |
Path(Path parent,
String child)
Create a path by appending a child string to an existing path
|
protected |
Path(String path)
Creates a path from a slash separated string (big endian)
|
protected |
Path(String[] path)
Creates a path with an arraylist of the path (big endian)
|
| Modifier and Type | Method and Description |
|---|---|
String |
dump() |
boolean |
equals(Object path) |
boolean |
exists() |
ClusterType |
getClusterType()
Each object belongs to a specific type defined in
ClusterType |
Object |
getIOR() |
ItemPath |
getItemPath() |
String[] |
getPath() |
abstract String |
getRoot()
Returns root as it is defined as 'domain', 'entity' or 'role' in subclasses
|
String |
getString()
Deprecated.
bad method name, use getStringPath() instead
|
String |
getStringPath() |
SystemKey |
getSystemKey() |
UUID |
getUUID() |
int |
hashCode() |
void |
setIOR(Object IOR) |
void |
setName(String name)
Sets the name of the C2KLocalObject
|
void |
setPath(Path path)
clones the path object
|
void |
setPath(String path) |
void |
setPath(String[] path)
String array path e.g.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitenforceValidName, getClusterPath, getNamepublic static final String delim
protected String[] mPath
public Path()
protected Path(String[] path)
protected Path(String path)
public void setPath(String[] path)
public void setPath(String path)
public abstract String getRoot()
public Object getIOR()
public void setIOR(Object IOR)
public SystemKey getSystemKey()
public UUID getUUID()
public ItemPath getItemPath() throws ObjectNotFoundException
ObjectNotFoundExceptionpublic void setPath(Path path)
public String[] getPath()
public String getStringPath()
@Deprecated public String getString()
public boolean exists()
public String dump()
public void setName(String name)
C2KLocalObjectsetName in interface C2KLocalObjectname - Name of the C2KLocalObjectpublic ClusterType getClusterType()
C2KLocalObjectClusterTypegetClusterType in interface C2KLocalObjectCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.