org.deegree.ogcwebservices.csw.iso_profile
Class Coupling
java.lang.Object
org.deegree.ogcwebservices.csw.iso_profile.Coupling
public class Coupling
- extends java.lang.Object
Coupling
- Version:
- $Revision:$, $Date:$
- Author:
- Lyn Buesching, last edited by: $Author:$
Method Summary |
static java.lang.String |
createValidId()
|
static boolean |
existsRecord(java.lang.String identifier)
|
static java.lang.String |
getCSWUrl()
|
static java.lang.String |
getValidId(java.lang.String uuid)
Replaces all ':' with '_' and added the prefix "uuid_" if the given uuid begins with a number or invalid char. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Coupling
public Coupling()
existsRecord
public static boolean existsRecord(java.lang.String identifier)
- Parameters:
identifier
- identifier of a data metadataset
- Returns:
- returns true, if an dataset or series with the given identifier of the MD_DataIdentification element
exists
getCSWUrl
public static java.lang.String getCSWUrl()
- Returns:
- the url of the service
getValidId
public static java.lang.String getValidId(java.lang.String uuid)
- Replaces all ':' with '_' and added the prefix "uuid_" if the given uuid begins with a number or invalid char.
- Parameters:
uuid
- the uuid
- Returns:
- the uuid if it is a valid id, otherwise a modified version of the uuid
createValidId
public static java.lang.String createValidId()
- Returns:
- a random created id, based on a uuid
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org