uk.ac.manchester.cs.owl
Class OWLCommentAnnotationImpl
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.OWLCommentAnnotationImpl
- All Implemented Interfaces: 
 - java.lang.Comparable<OWLObject>, OWLAnnotation<OWLConstant>, OWLCommentAnnotation, OWLConstantAnnotation, OWLObject
 
public class OWLCommentAnnotationImpl
- extends OWLConstantAnnotationImpl
- implements OWLCommentAnnotation
  
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 | 
 
OWLCommentAnnotationImpl
public OWLCommentAnnotationImpl(OWLDataFactory dataFactory,
                                OWLConstant object)
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).
 
 
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