@Embeddable
public class LSID
extends java.lang.Object
implements java.io.Serializable
com.ibm.lsid.client.LSID
,
Serialized FormConstructor and Description |
---|
LSID(java.lang.String lsid)
Construct a new LSID with the String representation.
|
LSID(java.lang.String authority,
java.lang.String namespace,
java.lang.String object,
java.lang.String revision)
Construct a new LSID with the given components
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object lsid)
Two LSIDs are equal their string representations are equal disregarding case.
|
java.lang.String |
getAuthority()
Returns the authority component of the LSID
|
java.lang.String |
getLsid()
Returns the lsid
|
java.lang.String |
getNamespace()
Returns the namespace component of the LSID
|
java.lang.String |
getObject()
Returns the object component of the LSID
|
java.lang.String |
getRevision()
Returns the revision component of the LSID if it exists
|
boolean |
isEmpty()
true , if all of the LSID parts are
empty or null . |
static boolean |
isLsid(java.lang.String strLsid) |
java.lang.String |
toString()
return the string representation
|
public LSID(java.lang.String lsid) throws com.ibm.lsid.MalformedLSIDException
String
- The lsid String respresentationcom.ibm.lsid.MalformedLSIDException
public LSID(java.lang.String authority, java.lang.String namespace, java.lang.String object, java.lang.String revision) throws com.ibm.lsid.MalformedLSIDException
String
- the authorityString
- the namespaceString
- the objectString
- the revision, can be nullcom.ibm.lsid.MalformedLSIDException
public java.lang.String getLsid()
public java.lang.String getAuthority()
public java.lang.String getNamespace()
public java.lang.String getObject()
public java.lang.String getRevision()
public static boolean isLsid(java.lang.String strLsid)
public boolean isEmpty()
true
, if all of the LSID parts are
empty or null
.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object lsid)
equals
in class java.lang.Object
Copyright © 2007-2020 EDIT. All Rights Reserved.