|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.content.ID
public class ID
The ID of a content element. The id includes the name of the Repository where it resides and also the opaque unique id given by the repository. When VCR client code creates a ContentEntity, such as an ObjectClass, the repositoryName must be set, but the uid would be null (since it hasn't been created yet).
| Constructor Summary | |
|---|---|
ID()Empty constructor. |
|
ID(String uid)Constructor with just the id. |
|
ID(String repositoryName, String uid)Constructor with repositoryName and opaque uid. |
|
| Method Summary | |
|---|---|
Object |
clone()Clones an ID. |
int |
compareTo(Object obj)Compares this ID to obj |
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()Retrieve the opaque repository unique id, as configured by the repository, for the content element. |
int |
hashCode()Returns a hash code value for the object. |
boolean |
hasUid()Returns true if the uid is neither null nor the 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 |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ID()
public ID(String uid)
public ID(String repositoryName,
String uid)
| Method Detail |
|---|
public String getRepositoryName()
public void setRepositoryName(String repositoryName)
public String getUid()
public void setUid(String uid)
public boolean hasUid()
public static ID fromString(String id)
id - in the format /repository/uidpublic String toString()
public int compareTo(Object obj)
public boolean equals(Object o)
o - the object to check equality on.public int hashCode()
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException - If the clone fails.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||