|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.adfconverter.tools.converter.IdentifierGenerater.MAGEIdentifierGenerator
This class handles MAGE identifier generation. The generator uses rules provided in the configuration file A rule can be provided per MAGE Object type By default, the rule is : identifier = userUrl:userNamespace/objectType:arrayNumber.objectTypeInitial-objectnumber
| Constructor Summary | |
MAGEIdentifierGenerator()
Default Contructor for generator use Inits as well the MGED ontology Checker by providing an Database MAGE Identifier |
|
MAGEIdentifierGenerator(java.util.Properties identifierProperties)
Constructor Inits generator with rules Inits as well the MGED ontology Checker by providing an Database MAGE Identifier |
|
| Method Summary | |
java.lang.String |
generateIdentifier(java.lang.String objectType)
Generates a new identifier for a given objectType following the rules given in the configuration file. |
java.lang.String |
generateIdentifier(java.lang.String objectType,
java.util.Hashtable variables)
Generates a new identifier for a given objectType following the rules given in the configuration file. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MAGEIdentifierGenerator()
throws java.lang.Exception
java.lang.Exception - if the MGED Ontology is incorrectly initialised.
public MAGEIdentifierGenerator(java.util.Properties identifierProperties)
throws java.lang.Exception
identifierProperties - lists of generation rules
java.lang.Exception - if the MGED Ontology is incorrectly initialised| Method Detail |
public java.lang.String generateIdentifier(java.lang.String objectType)
objectType - the type of the object, for which an identifier is generated
public java.lang.String generateIdentifier(java.lang.String objectType,
java.util.Hashtable variables)
objectType - the type of the object, for which an identifier is generatedvariables - additional parameters for the creation of the identifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||