deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.csw.iso_profile
Class Coupling

java.lang.Object
  extended by org.deegree.ogcwebservices.csw.iso_profile.Coupling

public class Coupling
extends Object

Coupling

Version:
$Revision:$, $Date:$
Author:
Lyn Buesching, last edited by: $Author:$

Constructor Summary
Coupling()
           
 
Method Summary
static String createValidId()
           
static boolean existsRecord(String uuidref)
           
static String getCSWUrl()
           
static String getValidId(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
 

Constructor Detail

Coupling

public Coupling()
Method Detail

existsRecord

public static boolean existsRecord(String uuidref)
Parameters:
uuidref - the uuidref
Returns:
returns true, if an dataset or series with the given uuid of the MD_DataIdentification element exists

getCSWUrl

public static String getCSWUrl()
Returns:
the url of the service

getValidId

public static String getValidId(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 String createValidId()
Returns:
a random created id, based on a uuid

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org