project35.soa.id
Class StubbedIDGeneratorService
java.lang.Object
project35.soa.StubbedService
project35.soa.id.StubbedIDGeneratorService
- All Implemented Interfaces:
- Serializable, IDGeneratorService, ServiceClass
public class StubbedIDGeneratorService
- extends StubbedService
- implements IDGeneratorService
Copyright (c) 2008 Kevin Garwood for Project35. This code is
licensed under the Academic Free License version 3.0. For more information
on the terms and conditions, please see the file "LICENSE" that is included
in this distribution.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StubbedIDGeneratorService
public StubbedIDGeneratorService()
generateKey
public String generateKey(Project35FormContext project35FormContext)
- Interface: ID Generator Service
- Specified by:
generateKey in interface IDGeneratorService
- Parameters:
project35FormContext - collection of environment variables that
can be used to access different parts of the Project35 application.
Information in these variables may help determine the best identifier
to return.
excludeKey
public void excludeKey(String key)
- Description copied from interface:
IDGeneratorService
- excludes a key as a possible value to generate. This is used
when Project35 reads a file that contains identifiers. This method
ensures that the service won't return
a value that already appears somewhere in the data set.
- Specified by:
excludeKey in interface IDGeneratorService
- Parameters:
key - an identifier value that can't be generated by the
ID Generator service