|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.utils.VersionedPath
public class VersionedPath
This class is used to represent a path with a version (a versioned path).
Constructor Summary | |
---|---|
VersionedPath()
|
Method Summary | |
---|---|
String |
getPath()
Method to obtain the path. |
long |
getVersion()
Method to obtain the version. |
void |
setPath(String path)
Method to set the path. |
void |
setVersion(long version)
Method to set the version. |
String |
toString()
This method overrides the default toString method in manner that it returns the versioned path when called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionedPath()
Method Detail |
---|
public String getPath()
public void setPath(String path)
path
- the path.public long getVersion()
public void setVersion(long version)
version
- the version.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |