com.gmail.thejcwk.semantics.phrases
Class Phrase

java.lang.Object
  extended by com.gmail.thejcwk.semantics.phrases.Phrase
All Implemented Interfaces:
java.io.Serializable

public class Phrase
extends java.lang.Object
implements java.io.Serializable

Describes a single linguistic phrase.

Version:
1.0
Author:
Jan Kroeze
See Also:
Serialized Form

Constructor Summary
Phrase()
          Default constructor.
Phrase(java.lang.String clauseno, java.lang.String phoneticRepresentation, java.lang.String translation, java.lang.String type, java.lang.String syntacticFunction, java.lang.String semanticFunction)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getClauseno()
           
 java.lang.String getPhoneticRepresentation()
           
 java.lang.String getSemanticFunction()
           
 java.lang.String getSyntacticFunction()
           
 java.lang.String getTranslation()
           
 java.lang.String getType()
           
 void setClauseno(java.lang.String clauseno)
           
 void setPhoneticRepresentation(java.lang.String phoneticRepresentation)
           
 void setSemanticFunction(java.lang.String semanticFunction)
           
 void setSyntacticFunction(java.lang.String syntacticFunction)
           
 void setTranslation(java.lang.String translation)
           
 void setType(java.lang.String type)
           
 java.lang.String toString()
           
 java.lang.String toTooltipString()
          Returns a string representation of this phrase that is formatted in such a way that it can be displayed in a JMultiLineTooltip.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Phrase

public Phrase()
Default constructor.


Phrase

public Phrase(java.lang.String clauseno,
              java.lang.String phoneticRepresentation,
              java.lang.String translation,
              java.lang.String type,
              java.lang.String syntacticFunction,
              java.lang.String semanticFunction)
Parameters:
clauseno - Where the clause can be found in the original text.
phoneticRepresentation - String showing how to pronounce the phrase.
translation - The phrase translated into English.
type - The type of the phrase (e.g. Noun Phrase, Verb Phrase, etc.)
syntacticFunction - The syntactic function of the phrase.
semanticFunction - The semantic function of the phrase.
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getClauseno

public java.lang.String getClauseno()

getPhoneticRepresentation

public java.lang.String getPhoneticRepresentation()

getSemanticFunction

public java.lang.String getSemanticFunction()

getSyntacticFunction

public java.lang.String getSyntacticFunction()

getTranslation

public java.lang.String getTranslation()

getType

public java.lang.String getType()

setClauseno

public void setClauseno(java.lang.String clauseno)

setPhoneticRepresentation

public void setPhoneticRepresentation(java.lang.String phoneticRepresentation)

setSemanticFunction

public void setSemanticFunction(java.lang.String semanticFunction)

setSyntacticFunction

public void setSyntacticFunction(java.lang.String syntacticFunction)

setTranslation

public void setTranslation(java.lang.String translation)

setType

public void setType(java.lang.String type)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toTooltipString

public java.lang.String toTooltipString()
Returns a string representation of this phrase that is formatted in such a way that it can be displayed in a JMultiLineTooltip.

Returns:
A String object.