|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.metadata.persistence.iso.parsing.IdUtils
public class IdUtils
ParsingUtils
Method Summary | |
---|---|
boolean |
checkUUIDCompliance(java.lang.String uuid)
|
java.lang.String |
generateUUID()
Method to generate via the Java UUID-API a UUID if there is no identifier available. |
static IdUtils |
newInstance(java.sql.Connection conn)
|
java.lang.String |
proveIdExistence(java.lang.String identifier)
Proves the availability of the identifier in backend. |
java.lang.String |
proveIdExistence(java.lang.String[] identifier)
Proves the availability of the identifier in the backend. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static IdUtils newInstance(java.sql.Connection conn)
public java.lang.String generateUUID() throws MetadataInspectorException
MetadataStoreException
MetadataInspectorException
public java.lang.String proveIdExistence(java.lang.String[] identifier) throws MetadataStoreException
identifier
- that is proved, not null
.
null
if the metadata
with the identifier is not stored so far.
MetadataStoreException
public java.lang.String proveIdExistence(java.lang.String identifier) throws MetadataStoreException
identifier
- that is proved, not null
.
null
if the metadata
with the identifier is not stored so far.
MetadataStoreException
public boolean checkUUIDCompliance(java.lang.String uuid)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |