de.tuebingen.uni.sfs.germanet.api
Class WiktionaryParaphrase

java.lang.Object
  extended by de.tuebingen.uni.sfs.germanet.api.WiktionaryParaphrase

public class WiktionaryParaphrase
extends java.lang.Object

A WiktionaryParaphrase consists of the Wiktionary sense definition (represented as a String), the Wiktionary word and sense ids, the corresponding GermaNet LexUnit id, and an attribute edited (boolean). Methods are provided to get each of the attributes.

The Wiktionary sense definition can be retrieved:
   String sense = aWiktionaryParaphrase.getWiktionarySense();


Method Summary
 int getLexUnitId()
          Returns the identifier of the LexUnit corresponding to this WiktionaryParaphrase.
 int getWiktionaryId()
          Returns the unique identifier of this WiktionaryParaphrase.
 java.lang.String getWiktionarySense()
          Returns the Wiktionary sense definition.
 int getWiktionarySenseId()
          Returns the unique identifier of the Wiktionary sense.
 boolean hasBeenEdited()
          Returns true if the WiktionaryParaphrase was edited, false otherwise.
 java.lang.String toString()
          Returns a String representation of this WiktionaryParaphrase.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLexUnitId

public int getLexUnitId()
Returns the identifier of the LexUnit corresponding to this WiktionaryParaphrase.

Returns:
the identifier of the LexUnit

getWiktionaryId

public int getWiktionaryId()
Returns the unique identifier of this WiktionaryParaphrase.

Returns:
the unique identifier of this WiktionaryParaphrase

getWiktionarySenseId

public int getWiktionarySenseId()
Returns the unique identifier of the Wiktionary sense.

Returns:
the unique identifier of the Wiktionary sense

getWiktionarySense

public java.lang.String getWiktionarySense()
Returns the Wiktionary sense definition.

Returns:
the Wiktionary sense definition

hasBeenEdited

public boolean hasBeenEdited()
Returns true if the WiktionaryParaphrase was edited, false otherwise.

Returns:
true if the WiktionaryParaphrase was edited, false otherwise

toString

public java.lang.String toString()
Returns a String representation of this WiktionaryParaphrase.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this WiktionaryParaphrase