Package org.semanticweb.owlapi.model
Interface IsAnonymous
- All Known Subinterfaces:
HasIncrementalSignatureGenerationSupport
,OWLAnnotation
,OWLAnnotationAssertionAxiom
,OWLAnnotationAxiom
,OWLAnnotationObject
,OWLAnnotationProperty
,OWLAnnotationPropertyDomainAxiom
,OWLAnnotationPropertyRangeAxiom
,OWLAnnotationSubject
,OWLAnnotationValue
,OWLAnonymousClassExpression
,OWLAnonymousIndividual
,OWLAsymmetricObjectPropertyAxiom
,OWLAxiom
,OWLBooleanClassExpression
,OWLCardinalityRestriction<F>
,OWLClass
,OWLClassAssertionAxiom
,OWLClassAxiom
,OWLClassExpression
,OWLDataAllValuesFrom
,OWLDataCardinalityRestriction
,OWLDataComplementOf
,OWLDataExactCardinality
,OWLDataHasValue
,OWLDataIntersectionOf
,OWLDataMaxCardinality
,OWLDataMinCardinality
,OWLDataOneOf
,OWLDataProperty
,OWLDataPropertyAssertionAxiom
,OWLDataPropertyAxiom
,OWLDataPropertyCharacteristicAxiom
,OWLDataPropertyDomainAxiom
,OWLDataPropertyExpression
,OWLDataPropertyRangeAxiom
,OWLDataRange
,OWLDataRestriction
,OWLDataSomeValuesFrom
,OWLDatatype
,OWLDatatypeDefinitionAxiom
,OWLDatatypeRestriction
,OWLDataUnionOf
,OWLDeclarationAxiom
,OWLDifferentIndividualsAxiom
,OWLDisjointClassesAxiom
,OWLDisjointDataPropertiesAxiom
,OWLDisjointObjectPropertiesAxiom
,OWLDisjointUnionAxiom
,OWLEntity
,OWLEquivalentClassesAxiom
,OWLEquivalentDataPropertiesAxiom
,OWLEquivalentObjectPropertiesAxiom
,OWLFacetRestriction
,OWLFunctionalDataPropertyAxiom
,OWLFunctionalObjectPropertyAxiom
,OWLHasKeyAxiom
,OWLHasValueRestriction<V>
,OWLIndividual
,OWLIndividualAxiom
,OWLInverseFunctionalObjectPropertyAxiom
,OWLInverseObjectPropertiesAxiom
,OWLIrreflexiveObjectPropertyAxiom
,OWLLiteral
,OWLLogicalAxiom
,OWLLogicalEntity
,OWLMutableOntology
,OWLNamedIndividual
,OWLNamedObject
,OWLNaryAxiom<C>
,OWLNaryBooleanClassExpression
,OWLNaryClassAxiom
,OWLNaryDataRange
,OWLNaryIndividualAxiom
,OWLNaryPropertyAxiom<P>
,OWLNegativeDataPropertyAssertionAxiom
,OWLNegativeObjectPropertyAssertionAxiom
,OWLObject
,OWLObjectAllValuesFrom
,OWLObjectCardinalityRestriction
,OWLObjectComplementOf
,OWLObjectExactCardinality
,OWLObjectHasSelf
,OWLObjectHasValue
,OWLObjectIntersectionOf
,OWLObjectInverseOf
,OWLObjectMaxCardinality
,OWLObjectMinCardinality
,OWLObjectOneOf
,OWLObjectProperty
,OWLObjectPropertyAssertionAxiom
,OWLObjectPropertyAxiom
,OWLObjectPropertyCharacteristicAxiom
,OWLObjectPropertyDomainAxiom
,OWLObjectPropertyExpression
,OWLObjectPropertyRangeAxiom
,OWLObjectRestriction
,OWLObjectSomeValuesFrom
,OWLObjectUnionOf
,OWLOntology
,OWLPrimitive
,OWLProperty
,OWLPropertyAssertionAxiom<P,
,O> OWLPropertyAssertionObject
,OWLPropertyAxiom
,OWLPropertyDomain
,OWLPropertyDomainAxiom<P>
,OWLPropertyExpression
,OWLPropertyRange
,OWLPropertyRangeAxiom<P,
,R> OWLQuantifiedDataRestriction
,OWLQuantifiedObjectRestriction
,OWLQuantifiedRestriction<F>
,OWLReflexiveObjectPropertyAxiom
,OWLRestriction
,OWLSameIndividualAxiom
,OWLSubAnnotationPropertyOfAxiom
,OWLSubClassOfAxiom
,OWLSubDataPropertyOfAxiom
,OWLSubObjectPropertyOfAxiom
,OWLSubPropertyAxiom<P>
,OWLSubPropertyChainOfAxiom
,OWLSymmetricObjectPropertyAxiom
,OWLTransitiveObjectPropertyAxiom
,OWLUnaryPropertyAxiom<P>
,SWRLArgument
,SWRLAtom
,SWRLBinaryAtom<A,
,B> SWRLBuiltInAtom
,SWRLClassAtom
,SWRLDArgument
,SWRLDataPropertyAtom
,SWRLDataRangeAtom
,SWRLDifferentIndividualsAtom
,SWRLIArgument
,SWRLIndividualArgument
,SWRLLiteralArgument
,SWRLObject
,SWRLObjectPropertyAtom
,SWRLRule
,SWRLSameIndividualAtom
,SWRLUnaryAtom<A>
,SWRLVariable
- All Known Implementing Classes:
ConcurrentOWLOntologyImpl
,IRI
,OWL2DatatypeImpl
,OWLAnnotationAssertionAxiomImpl
,OWLAnnotationImpl
,OWLAnnotationImplNotAnnotated
,OWLAnnotationPropertyDomainAxiomImpl
,OWLAnnotationPropertyImpl
,OWLAnnotationPropertyRangeAxiomImpl
,OWLAnonymousClassExpressionImpl
,OWLAnonymousIndividualImpl
,OWLAsymmetricObjectPropertyAxiomImpl
,OWLAxiomImpl
,OWLAxiomIndexImpl
,OWLCardinalityRestrictionImpl
,OWLClassAssertionAxiomImpl
,OWLClassAxiomImpl
,OWLClassExpressionImpl
,OWLClassImpl
,OWLDataAllValuesFromImpl
,OWLDataCardinalityRestrictionImpl
,OWLDataComplementOfImpl
,OWLDataExactCardinalityImpl
,OWLDataHasValueImpl
,OWLDataIntersectionOfImpl
,OWLDataMaxCardinalityImpl
,OWLDataMinCardinalityImpl
,OWLDataOneOfImpl
,OWLDataPropertyAssertionAxiomImpl
,OWLDataPropertyCharacteristicAxiomImpl
,OWLDataPropertyDomainAxiomImpl
,OWLDataPropertyImpl
,OWLDataPropertyRangeAxiomImpl
,OWLDataSomeValuesFromImpl
,OWLDatatypeDefinitionAxiomImpl
,OWLDatatypeImpl
,OWLDatatypeRestrictionImpl
,OWLDataUnionOfImpl
,OWLDeclarationAxiomImpl
,OWLDifferentIndividualsAxiomImpl
,OWLDisjointClassesAxiomImpl
,OWLDisjointDataPropertiesAxiomImpl
,OWLDisjointObjectPropertiesAxiomImpl
,OWLDisjointUnionAxiomImpl
,OWLEquivalentClassesAxiomImpl
,OWLEquivalentDataPropertiesAxiomImpl
,OWLEquivalentObjectPropertiesAxiomImpl
,OWLFacetRestrictionImpl
,OWLFunctionalDataPropertyAxiomImpl
,OWLFunctionalObjectPropertyAxiomImpl
,OWLHasKeyAxiomImpl
,OWLImmutableOntologyImpl
,OWLIndividualAxiomImpl
,OWLIndividualImpl
,OWLIndividualRelationshipAxiomImpl
,OWLInverseFunctionalObjectPropertyAxiomImpl
,OWLInverseObjectPropertiesAxiomImpl
,OWLIrreflexiveObjectPropertyAxiomImpl
,OWLLiteralImpl
,OWLLiteralImplBoolean
,OWLLiteralImplDouble
,OWLLiteralImplFloat
,OWLLiteralImplInteger
,OWLLiteralImplLong
,OWLLiteralImplNoCompression
,OWLLiteralImplPlain
,OWLLiteralImplString
,OWLLogicalAxiomImpl
,OWLNamedIndividualImpl
,OWLNaryBooleanClassExpressionImpl
,OWLNaryClassAxiomImpl
,OWLNaryDataRangeImpl
,OWLNaryIndividualAxiomImpl
,OWLNaryPropertyAxiomImpl
,OWLNegativeDataPropertyAssertionAxiomImpl
,OWLNegativeObjectPropertyAssertionAxiomImpl
,OWLObjectAllValuesFromImpl
,OWLObjectCardinalityRestrictionImpl
,OWLObjectComplementOfImpl
,OWLObjectExactCardinalityImpl
,OWLObjectHasSelfImpl
,OWLObjectHasValueImpl
,OWLObjectImpl
,OWLObjectIntersectionOfImpl
,OWLObjectInverseOfImpl
,OWLObjectMaxCardinalityImpl
,OWLObjectMinCardinalityImpl
,OWLObjectOneOfImpl
,OWLObjectPropertyAssertionAxiomImpl
,OWLObjectPropertyCharacteristicAxiomImpl
,OWLObjectPropertyDomainAxiomImpl
,OWLObjectPropertyImpl
,OWLObjectPropertyRangeAxiomImpl
,OWLObjectSomeValuesFromImpl
,OWLObjectUnionOfImpl
,OWLOntologyID
,OWLOntologyImpl
,OWLPropertyAxiomImpl
,OWLPropertyDomainAxiomImpl
,OWLPropertyRangeAxiomImpl
,OWLQuantifiedDataRestrictionImpl
,OWLQuantifiedObjectRestrictionImpl
,OWLQuantifiedRestrictionImpl
,OWLReflexiveObjectPropertyAxiomImpl
,OWLSameIndividualAxiomImpl
,OWLSubAnnotationPropertyOfAxiomImpl
,OWLSubClassOfAxiomImpl
,OWLSubDataPropertyOfAxiomImpl
,OWLSubObjectPropertyOfAxiomImpl
,OWLSubPropertyAxiomImpl
,OWLSubPropertyChainAxiomImpl
,OWLSymmetricObjectPropertyAxiomImpl
,OWLTransitiveObjectPropertyAxiomImpl
,OWLUnaryPropertyAxiomImpl
,OWLValueRestrictionImpl
,SWRLAtomImpl
,SWRLBinaryAtomImpl
,SWRLBuiltInAtomImpl
,SWRLClassAtomImpl
,SWRLDataPropertyAtomImpl
,SWRLDataRangeAtomImpl
,SWRLDifferentIndividualsAtomImpl
,SWRLIndividualArgumentImpl
,SWRLLiteralArgumentImpl
,SWRLObjectPropertyAtomImpl
,SWRLRuleImpl
,SWRLSameIndividualAtomImpl
,SWRLUnaryAtomImpl
,SWRLVariableImpl
public interface IsAnonymous
Anonymous or named object interface. Named
OWLObject
instances have an IRI; this includes
OWLClass
, OWLDataProperty
, OWLObjectProperty
, OWLDatatype
,
OWLAnnotationProperty
and OWLNamedIndividual
instances. OWLOntology
instances also have an IRI or can be anonymous, depending on the contents of their ontology id.
Ontologies are mutable and therefore can switch from anonymous to named, when their id is
changed; all other objects are immutable, and therefore will not change from anonymous to named.-
Method Summary
-
Method Details
-
isAnonymous
default boolean isAnonymous()- Returns:
true
if this object is anonymous,false
otherwise. For example, class expressions are anonymous while class entities are not (they have an IRI);OWLNamedIndividual
instances are named,OWLAnonymousIndividual
instances are anonymous. An ontology is anonymous if it does not have an ontology IRI. In this case, getOntologyID().getOntologyIRI() will return an empty optional.
-
isNamed
default boolean isNamed()- Returns:
true
if this object is named,false
otherwise. For example, class entities are named (they have an IRI) while class expressions are anonymous;OWLNamedIndividual
instances are named,OWLAnonymousIndividual
instances are anonymous.
-