it.unimo.dbgroup.momis.odli3
Class OntologyAnnotation

java.lang.Object
  extended byit.unimo.dbgroup.momis.odli3.OntologyAnnotation

public class OntologyAnnotation
extends java.lang.Object

Interface to be implemented by all Annotable elements that are Attribute and Interface classes.


Field Summary
private  java.util.Vector _ontologyAnnotationValues
          The annotations
 
Constructor Summary
OntologyAnnotation()
           
 
Method Summary
 void addOntologyAnnotationValue(OntologyAnnotationValue v)
          Add a _ontologyAnnotationValues element or remove it if already contained into _ontologyAnnotationValues vector
 void deleteAllOntologyAnnotations()
          clean all the Ontology Annotations
 java.util.Vector getOntologyAnnotationValues()
          Getter for the _ontologyAnnotationValues field
 boolean hasOntologyAnnotation(OntologyAnnotationValue v)
          return true if the OntologyAnnotationValue v is contained into the _ontologyAnnotationValues vector.
 boolean hasOntologyAnnotationValues()
          Asks if has at least one element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ontologyAnnotationValues

private java.util.Vector _ontologyAnnotationValues
The annotations

Constructor Detail

OntologyAnnotation

public OntologyAnnotation()
Method Detail

getOntologyAnnotationValues

public java.util.Vector getOntologyAnnotationValues()
Getter for the _ontologyAnnotationValues field


addOntologyAnnotationValue

public void addOntologyAnnotationValue(OntologyAnnotationValue v)
Add a _ontologyAnnotationValues element or remove it if already contained into _ontologyAnnotationValues vector


hasOntologyAnnotationValues

public boolean hasOntologyAnnotationValues()
Asks if has at least one element


hasOntologyAnnotation

public boolean hasOntologyAnnotation(OntologyAnnotationValue v)
return true if the OntologyAnnotationValue v is contained into the _ontologyAnnotationValues vector.

Returns:
boolean: true if v is contained, false otherwise

deleteAllOntologyAnnotations

public void deleteAllOntologyAnnotations()
clean all the Ontology Annotations



Universita' di Modena e Reggio Emilia