it.unimo.dbgroup.momis.odli3
Class OntologyAnnotationValue

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

public class OntologyAnnotationValue
extends java.lang.Object

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


Field Summary
private  int _lemmaSenseNumber
           
private  int _lemmaSyntacticCategory
           
private  java.lang.String _lemmaValue
          The annotations
 
Constructor Summary
OntologyAnnotationValue()
           
OntologyAnnotationValue(java.lang.String lemmaValue, int syntacticCategory, int senseNumber)
           
 
Method Summary
 boolean equals(OntologyAnnotationValue oav)
          return true if two OntologyAnnotationValue are equals
 int getLemmaSenseNumber()
          Getter for the _lemmaSenseNumber field
 int getLemmaSyntacticCategory()
          Getter for the _lemmaSyntacticCategory field
 java.lang.String getLemmaValue()
          Getter for the _lemmaValue field
 OntologySynset getOntologySynset()
          Gets the OntologySynset though the ontologyManger abstraction
 void setLemmaSenseNumber(int v)
          Setter for the _lemmaSenseNumber field
 void setLemmaSyntacticCategory(int v)
          Setter for the _lemmaSyntacticCategory field
 void setLemmaValue(java.lang.String v)
          Setter for the _lemmaValue field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_lemmaValue

private java.lang.String _lemmaValue
The annotations


_lemmaSyntacticCategory

private int _lemmaSyntacticCategory

_lemmaSenseNumber

private int _lemmaSenseNumber
Constructor Detail

OntologyAnnotationValue

public OntologyAnnotationValue(java.lang.String lemmaValue,
                               int syntacticCategory,
                               int senseNumber)

OntologyAnnotationValue

public OntologyAnnotationValue()
Method Detail

getOntologySynset

public OntologySynset getOntologySynset()
                                 throws java.lang.Exception
Gets the OntologySynset though the ontologyManger abstraction

Throws:
java.lang.Exception

getLemmaValue

public java.lang.String getLemmaValue()
Getter for the _lemmaValue field


setLemmaValue

public void setLemmaValue(java.lang.String v)
Setter for the _lemmaValue field


getLemmaSyntacticCategory

public int getLemmaSyntacticCategory()
Getter for the _lemmaSyntacticCategory field


setLemmaSyntacticCategory

public void setLemmaSyntacticCategory(int v)
Setter for the _lemmaSyntacticCategory field


getLemmaSenseNumber

public int getLemmaSenseNumber()
Getter for the _lemmaSenseNumber field


setLemmaSenseNumber

public void setLemmaSenseNumber(int v)
Setter for the _lemmaSenseNumber field


equals

public boolean equals(OntologyAnnotationValue oav)
return true if two OntologyAnnotationValue are equals



Universita' di Modena e Reggio Emilia