Package openllet.core.knowledge
Class FullyDefinedClassVisitor
- java.lang.Object
-
- openllet.core.output.ATermBaseVisitor
-
- openllet.core.knowledge.FullyDefinedClassVisitor
-
- All Implemented Interfaces:
ATermVisitor
public abstract class FullyDefinedClassVisitor extends ATermBaseVisitor
-
-
Field Summary
-
Fields inherited from class openllet.core.output.ATermBaseVisitor
OWL_NOTHING, OWL_THING
-
-
Constructor Summary
Constructors Constructor Description FullyDefinedClassVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.Set<openllet.aterm.ATermAppl>getIndividuals()abstract TBoxgetTBox()abstract booleanisDatatype(openllet.aterm.ATermAppl p)booleanisFullyDefined(openllet.aterm.ATermAppl term)abstract booleanisProperty(openllet.aterm.ATerm p)voidvisit(openllet.aterm.ATermAppl term)Visit a generic term which may be a class expression, _individual or a literal.voidvisitAll(openllet.aterm.ATermAppl term)Visit the 'all' (allValuesFrom restriction) term.voidvisitAnd(openllet.aterm.ATermAppl term)Visit the 'and' (intersectionOf) term.voidvisitCard(openllet.aterm.ATermAppl term)Visit the 'card' (minCardinality restriction) term.voidvisitHasValue(openllet.aterm.ATermAppl term)Visit the hasValue restriction term.voidvisitInverse(openllet.aterm.ATermAppl term)voidvisitLiteral(openllet.aterm.ATermAppl term)Visit the literal term.voidvisitMax(openllet.aterm.ATermAppl term)Visit the 'max' (maxCardinality restriction) term.voidvisitMin(openllet.aterm.ATermAppl term)Visit the 'min' (minCardinality restriction) term.voidvisitNot(openllet.aterm.ATermAppl term)Visit the 'not' (complementOf) term.voidvisitOneOf(openllet.aterm.ATermAppl term)Visit the 'oneOf' term.voidvisitOr(openllet.aterm.ATermAppl term)Visit the 'or' (unionOf) term.voidvisitRestrictedDatatype(openllet.aterm.ATermAppl dt)voidvisitSelf(openllet.aterm.ATermAppl term)Visit the self restriction term.voidvisitSome(openllet.aterm.ATermAppl term)Visit the 'some' (someValuesFrom restriction) term.voidvisitTerm(openllet.aterm.ATermAppl term)Visit a primitive term (with no arguments) that stands for a URI.voidvisitValue(openllet.aterm.ATermAppl term)Visit the nominal term.-
Methods inherited from class openllet.core.output.ATermBaseVisitor
visitList
-
-
-
-
Method Detail
-
isProperty
public abstract boolean isProperty(openllet.aterm.ATerm p)
-
isDatatype
public abstract boolean isDatatype(openllet.aterm.ATermAppl p)
-
getTBox
public abstract TBox getTBox()
-
getIndividuals
public abstract java.util.Set<openllet.aterm.ATermAppl> getIndividuals()
-
isFullyDefined
public boolean isFullyDefined(openllet.aterm.ATermAppl term)
-
visit
public void visit(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit a generic term which may be a class expression, _individual or a literal.- Specified by:
visitin interfaceATermVisitor- Overrides:
visitin classATermBaseVisitor
-
visitAll
public void visitAll(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'all' (allValuesFrom restriction) term.
-
visitAnd
public void visitAnd(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'and' (intersectionOf) term.
-
visitCard
public void visitCard(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'card' (minCardinality restriction) term. This is not a standard term that ise used inside the reasoner but sometimes used for display purposes. Normally, cardinality restrictions would be stored as a conjunction of min and max restrictions.
-
visitHasValue
public void visitHasValue(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the hasValue restriction term. This term is in the form some(property,value(_individual)) or some(property,value(literal))
-
visitLiteral
public void visitLiteral(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the literal term. The literals are in the form literal(lexicalValue, language, datatypeURI)
-
visitMax
public void visitMax(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'max' (maxCardinality restriction) term.
-
visitMin
public void visitMin(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'min' (minCardinality restriction) term.
-
visitNot
public void visitNot(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'not' (complementOf) term.
-
visitOneOf
public void visitOneOf(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'oneOf' term. This term is in the form or([value(i1),value(i2),...,value(i3)] where i's are individuals or literal constants
-
visitOr
public void visitOr(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'or' (unionOf) term.
-
visitSelf
public void visitSelf(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the self restriction term. This is in the form self(p).
-
visitSome
public void visitSome(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the 'some' (someValuesFrom restriction) term.
-
visitTerm
public void visitTerm(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit a primitive term (with no arguments) that stands for a URI. This URI may belong to a class, a property, an _individual or a datatype.
-
visitValue
public void visitValue(openllet.aterm.ATermAppl term)
Description copied from interface:ATermVisitorVisit the nominal term. This term is in the form some(property,value(_individual))
-
visitInverse
public void visitInverse(openllet.aterm.ATermAppl term)
- Parameters:
term- inverse
-
visitRestrictedDatatype
public void visitRestrictedDatatype(openllet.aterm.ATermAppl dt)
-
-