|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.etaxonomy.cdm.model.common.LSID
public class LSID
This class is copied from com.ibm.lsid.LSID, I needed to re-implement this since the domain objects are required to be Serializable
com.ibm.lsid.client.LSID,
Serialized Form| Constructor Summary | |
|---|---|
LSID(String lsid)
Construct a new LSID with the String representation. |
|
LSID(String authority,
String namespace,
String object,
String revision)
Construct a new LSID with the given components |
|
| Method Summary | |
|---|---|
boolean |
equals(Object lsid)
Two LSIDs are equal their string representations are equal disregarding case. |
String |
getAuthority()
Returns the authority component of the LSID |
String |
getLsid()
Returns the lsid |
String |
getNamespace()
Returns the namespace component of the LSID |
String |
getObject()
Returns the object component of the LSID |
String |
getRevision()
Returns the revision component of the LSID if it exists |
static boolean |
isLsid(String strLsid)
|
String |
toString()
return the string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LSID(String lsid)
throws com.ibm.lsid.MalformedLSIDException
String - The lsid String respresentation
com.ibm.lsid.MalformedLSIDException
public LSID(String authority,
String namespace,
String object,
String revision)
throws com.ibm.lsid.MalformedLSIDException
String - the authorityString - the namespaceString - the objectString - the revision, can be null
com.ibm.lsid.MalformedLSIDException| Method Detail |
|---|
public String getLsid()
public String getAuthority()
public String getNamespace()
public String getObject()
public String getRevision()
public static boolean isLsid(String strLsid)
public String toString()
toString in class Objectpublic boolean equals(Object lsid)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||