|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.content.ID
The ID of a content element. The id includes the name of the Repository where it resides and also the unique id given by the repository.
Constructor Summary | |
ID()
Empty constructor. |
|
ID(String uid)
Constructor with just the id. |
|
ID(String repositoryName,
String uid)
Constructor with repositoryName and uid. |
Method Summary | |
boolean |
equals(Object o)
Checks equality. |
static ID |
fromString(String id)
Parses an id in path format and creates an ID instance from it. |
String |
getRepositoryName()
Gets the name of the repository where the content element resides. |
String |
getUid()
Gets the repository unique id for the content element. |
int |
hashCode()
|
boolean |
hasUid()
Returns true if the id is not null and not an empty String. |
void |
setRepositoryName(String repositoryName)
Sets the name of the repository where the content element resides. |
void |
setUid(String uid)
Sets the repository unique id for the content element. |
String |
toString()
Returns ID in unix-path like format. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ID()
public ID(String uid)
public ID(String repositoryName, String uid)
Method Detail |
public boolean equals(Object o)
o
- the object to check equality on.
public static ID fromString(String id)
id
- in the format /repository/uid
public String getRepositoryName()
public String getUid()
public int hashCode()
public boolean hasUid()
public void setRepositoryName(String repositoryName)
public void setUid(String uid)
public String toString()
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |