org.coode.owlapi.rdfxml.parser
Class AbstractObjectCardinalityTranslator
java.lang.Object
org.coode.owlapi.rdfxml.parser.AbstractClassExpressionTranslator
org.coode.owlapi.rdfxml.parser.AbstractRestrictionTranslator
org.coode.owlapi.rdfxml.parser.AbstractObjectRestrictionTranslator
org.coode.owlapi.rdfxml.parser.AbstractObjectCardinalityTranslator
- All Implemented Interfaces:
- ClassExpressionTranslator
- Direct Known Subclasses:
- ObjectCardinalityTranslator, ObjectMaxCardinalityTranslator, ObjectMinCardinalityTranslator
public abstract class AbstractObjectCardinalityTranslator
- extends AbstractObjectRestrictionTranslator
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 08-Dec-2006
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractObjectCardinalityTranslator
public AbstractObjectCardinalityTranslator(OWLRDFConsumer consumer)
getCardinalityTriplePredicate
protected abstract IRI getCardinalityTriplePredicate()
- Gets the predicate of the cardinality triple (e.g. minCardinality, cardinality,
maxCardinality)
- Returns:
- The IRI corresponding to the predicate of the triple that identifies
the cardinality of the restriction.
getQualifiedCardinalityTriplePredicate
protected abstract IRI getQualifiedCardinalityTriplePredicate()
translateRestriction
protected OWLClassExpression translateRestriction(IRI mainNode)
- Specified by:
translateRestriction
in class AbstractRestrictionTranslator
createRestriction
protected abstract OWLClassExpression createRestriction(OWLObjectPropertyExpression prop,
int cardi,
OWLClassExpression filler)
- Given a property expression, cardinality and filler, this method creates the appropriate
OWLAPI object