public class ResourceIDImpl extends Object
Constructor and Description |
---|
ResourceIDImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Method to get the name.
|
String |
getPath()
Returning the full path, i.e.
|
int |
getPathID()
Method to get the path id, If the resource is a collection, pathID = REG_PATH_ID(path) name =
null If the resource is not a collection, pathId = REG_PATH_ID(parentPath(path))
|
boolean |
isCollection()
Method to check whether the resource is a collection.
|
void |
setCollection(boolean collection)
Method to set whether the resource is a collection.
|
void |
setName(String name)
Method to set the name.
|
void |
setPath(String path)
Setting the full path i.e.
|
void |
setPathID(int pathID)
Method to set the path id.
|
String |
toString()
The string value of the resource ID = getPath();
|
public String getPath()
public void setPath(String path)
path
- the path.public boolean isCollection()
public void setCollection(boolean collection)
collection
- whether this is a collection or not.public int getPathID()
public void setPathID(int pathID)
pathID
- the path id.public String getName()
public void setName(String name)
name
- the name.Copyright © 2015 WSO2 Inc. All Rights Reserved.