uk.ac.manchester.cs.owl.owlapi
Class OWLAnonymousIndividualImpl
java.lang.Object
uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
uk.ac.manchester.cs.owl.owlapi.OWLIndividualImpl
uk.ac.manchester.cs.owl.owlapi.OWLAnonymousIndividualImpl
- All Implemented Interfaces:
- java.lang.Comparable<OWLObject>, OWLAnnotationObject, OWLAnnotationSubject, OWLAnnotationValue, OWLAnonymousIndividual, OWLIndividual, OWLObject, OWLPropertyAssertionObject
public class OWLAnonymousIndividualImpl
- extends OWLIndividualImpl
- implements OWLAnonymousIndividual
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 15-Jan-2009
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLIndividualImpl |
asOWLClass, asOWLDataProperty, asOWLDatatype, asOWLObjectProperty, getDataPropertyValues, getDataPropertyValues, getDifferentIndividuals, getIndividualDataRelationshipAxioms, getIndividualNotDataRelationshipAxioms, getIndividualNotObjectRelationshipAxioms, getIndividualObjectRelationshipAxioms, getIndividualTypeAxioms, getNegativeDataPropertyValues, getNegativeObjectPropertyValues, getNPropertyValues, getObjectPropertyValues, getObjectPropertyValues, getPropertyValues, getSameIndividuals, getTypes, getTypes, hasNegativeDataPropertyValue, hasNegativeObjectPropertyValue, hasObjectPropertyValue, isBuiltIn, isOWLClass, isOWLDataProperty, isOWLDatatype, isOWLObjectProperty |
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl |
compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.semanticweb.owlapi.model.OWLIndividual |
getDataPropertyValues, getDataPropertyValues, getDifferentIndividuals, getNegativeDataPropertyValues, getNegativeObjectPropertyValues, getObjectPropertyValues, getObjectPropertyValues, getSameIndividuals, getTypes, getTypes, hasNegativeDataPropertyValue, hasNegativeObjectPropertyValue, hasObjectPropertyValue |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface java.lang.Comparable |
compareTo |
OWLAnonymousIndividualImpl
public OWLAnonymousIndividualImpl(OWLDataFactory dataFactory,
NodeID nodeID)
getID
public NodeID getID()
- Description copied from interface:
OWLAnonymousIndividual
- Gets the ID of this individual
- Specified by:
getID
in interface OWLAnonymousIndividual
- Returns:
- The node ID of this individual.
toStringID
public java.lang.String toStringID()
- Returns a string representation that can be used as the ID of this individual. This is the toString
representation of the node ID of this individual
- Specified by:
toStringID
in interface OWLIndividual
- Returns:
- A string representing the toString of the node ID of this entity.
isAnonymous
public boolean isAnonymous()
- Description copied from interface:
OWLIndividual
- Determines if this object represents an anonymous individual.
- Specified by:
isAnonymous
in interface OWLIndividual
- Returns:
true
if this object represents an anonymous
individual (OWLAnonymousIndividual)
or false
if this object represents a named individual (OWLIndividual
)
asAnonymousIndividual
public OWLAnonymousIndividual asAnonymousIndividual()
- Description copied from interface:
OWLIndividual
- Obtains this individual an anonymous individual if it is indeed anonymous
- Specified by:
asAnonymousIndividual
in interface OWLIndividual
- Returns:
- The individual as an anonymous individual
asNamedIndividual
public OWLNamedIndividual asNamedIndividual()
- Description copied from interface:
OWLIndividual
- Obtains this individual as a named individual if it is indeed named.
- Specified by:
asNamedIndividual
in interface OWLIndividual
- Returns:
- The individual as a named individual
compareObjectOfSameType
protected int compareObjectOfSameType(OWLObject object)
- Specified by:
compareObjectOfSameType
in class OWLObjectImpl
accept
public void accept(OWLObjectVisitor visitor)
- Specified by:
accept
in interface OWLObject
accept
public <O> O accept(OWLObjectVisitorEx<O> visitor)
- Specified by:
accept
in interface OWLObject
accept
public void accept(OWLIndividualVisitor visitor)
- Specified by:
accept
in interface OWLIndividual
accept
public <O> O accept(OWLIndividualVisitorEx<O> visitor)
- Specified by:
accept
in interface OWLIndividual
accept
public void accept(OWLAnnotationValueVisitor visitor)
- Specified by:
accept
in interface OWLAnnotationValue
accept
public <O> O accept(OWLAnnotationValueVisitorEx<O> visitor)
- Specified by:
accept
in interface OWLAnnotationValue
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class OWLIndividualImpl