uk.ac.soton.itinnovation.grid.service.registry.util.key
Class UsageKeyGeneratorStrategy

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.registry.util.key.KeyGeneratorStrategy
      extended by uk.ac.soton.itinnovation.grid.service.registry.util.key.UsageKeyGeneratorStrategy

public class UsageKeyGeneratorStrategy
extends KeyGeneratorStrategy


Field Summary
 
Fields inherited from class uk.ac.soton.itinnovation.grid.service.registry.util.key.KeyGeneratorStrategy
logger
 
Constructor Summary
UsageKeyGeneratorStrategy()
           
 
Method Summary
protected  String createKey(Object obj)
          Create a database key of a USAGE based on the URL reference of the EPR.
 
Methods inherited from class uk.ac.soton.itinnovation.grid.service.registry.util.key.KeyGeneratorStrategy
createKey, createKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsageKeyGeneratorStrategy

public UsageKeyGeneratorStrategy()
Method Detail

createKey

protected String createKey(Object obj)
                    throws KeyGenerationException
Create a database key of a USAGE based on the URL reference of the EPR.

Specified by:
createKey in class KeyGeneratorStrategy
Parameters:
resource -
Returns:
the generated key
Throws:
KeyGenerationException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.