org.protege.editor.owl.model.entity
Class AbstractIDGenerator
java.lang.Object
org.protege.editor.owl.model.entity.AbstractIDGenerator
- All Implemented Interfaces:
- AutoIDGenerator
- Direct Known Subclasses:
- IterativeAutoIDGenerator, PseudoRandomAutoIDGenerator, UniqueIdGenerator
public abstract class AbstractIDGenerator
- extends Object
- implements AutoIDGenerator
Author: drummond
http://www.cs.man.ac.uk/~drummond/
The University Of Manchester
Bio Health Informatics Group
Date: Jul 28, 2008
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractIDGenerator
public AbstractIDGenerator()
getNextID
public String getNextID(Class<? extends org.semanticweb.owlapi.model.OWLEntity> type)
throws AutoIDException
- Specified by:
getNextID in interface AutoIDGenerator
- Throws:
AutoIDException
getRawID
protected abstract long getRawID(Class<? extends org.semanticweb.owlapi.model.OWLEntity> type)
throws AutoIDException
- Throws:
AutoIDException
getPrefix
protected String getPrefix(Class<? extends org.semanticweb.owlapi.model.OWLEntity> type)
getSuffix
protected String getSuffix(Class<? extends org.semanticweb.owlapi.model.OWLEntity> type)
preprocess
protected String preprocess(String s,
Class<? extends org.semanticweb.owlapi.model.OWLEntity> type)
getDigitLength
protected int getDigitLength()
Submit a bug report or feature request
For further API reference and developer documentation, see Protege 4 Developer Documentation.
Copyright © 2010 Stanford Center for Biomedical Informatics Research