|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.value.WorkspaceAndPath
@Immutable public final class WorkspaceAndPath
A path within a given workspace.
Constructor Summary | |
---|---|
WorkspaceAndPath(String workspaceName,
Path path)
Create a new combination of a path within a named workspace. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Path |
getPath()
Get the path. |
String |
getWorkspaceName()
Get the workspace name. |
int |
hashCode()
|
String |
toString()
|
WorkspaceAndPath |
withPath(Path path)
Create a new instance that contains the current workspace name but which uses the supplied path. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WorkspaceAndPath(String workspaceName, Path path)
workspaceName
- the workspace name; may not be nullpath
- the path; may not be nullMethod Detail |
---|
public Path getPath()
public String getWorkspaceName()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public WorkspaceAndPath withPath(Path path)
path
- the new path
|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |