uk.ac.manchester.cs.owl
Class OWLLabelAnnotationImpl
java.lang.Object
  
uk.ac.manchester.cs.owl.OWLObjectImpl
      
uk.ac.manchester.cs.owl.OWLAnnotationImpl<OWLConstant>
          
uk.ac.manchester.cs.owl.OWLConstantAnnotationImpl
              
uk.ac.manchester.cs.owl.OWLLabelAnnotationImpl
- All Implemented Interfaces: 
 - java.lang.Comparable<OWLObject>, OWLAnnotation<OWLConstant>, OWLConstantAnnotation, OWLLabelAnnotation, OWLObject
 
public class OWLLabelAnnotationImpl
- extends OWLConstantAnnotationImpl
- implements OWLLabelAnnotation
  
Author: Matthew Horridge
 The University Of Manchester
 Bio-Health Informatics Group
 Date: 19-Dec-2006
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
getClass, notify, notifyAll, wait, wait, wait | 
 
 
 
| Methods inherited from interface java.lang.Comparable | 
compareTo | 
 
OWLLabelAnnotationImpl
public OWLLabelAnnotationImpl(OWLDataFactory dataFactory,
                              OWLConstant object)
accept
public void accept(OWLAnnotationVisitor visitor)
- Specified by:
 accept in interface OWLAnnotation<OWLConstant>- Overrides:
 accept in class OWLConstantAnnotationImpl
 
 
isComment
public boolean isComment()
- Description copied from interface: 
OWLConstantAnnotation 
- Determines if the specified annotation is a comment annotation.
- Specified by:
 isComment in interface OWLConstantAnnotation- Overrides:
 isComment in class OWLAnnotationImpl<OWLConstant>
 
- Returns:
 true if the annotation is a comment annoation, and
 can be cast to OWLCommentAnnotation, otherwise false.
 Note that this method will return false for
 annotations which aren't "syntactically" comment annotations but which have
 an rdfs:comment URI (see the OWL 1.1 Functional specification for more
 details).
 
 
isLabel
public boolean isLabel()
- Description copied from interface: 
OWLConstantAnnotation 
- Determines if the specified annotation is a label annotation.
- Specified by:
 isLabel in interface OWLConstantAnnotation- Overrides:
 isLabel in class OWLAnnotationImpl<OWLConstant>
 
- Returns:
 true if the annotation is a label annoation, and
 can be cast to OWLLabelAnnotation, otherwise false.
 Note that this method will return false for
 annotations which aren't "syntactically" label annotations but which have
 an rdfs:label URI (see the OWL 1.1 Functional specification for more
 details).
 
 
accept
public <O> O accept(OWLAnnotationVisitorEx<O> visitor)
- Specified by:
 accept in interface OWLAnnotation<OWLConstant>- Overrides:
 accept in class OWLConstantAnnotationImpl
 
 
accept
public <O> O accept(OWLObjectVisitorEx<O> visitor)
- Specified by:
 accept in interface OWLObject- Overrides:
 accept in class OWLConstantAnnotationImpl