|
ModeShape Distribution 3.3.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 null| Method Detail |
|---|
public Path getPath()
public String getWorkspaceName()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic WorkspaceAndPath withPath(Path path)
path - the new path
|
ModeShape Distribution 3.3.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||