org.csapi.jr.se.ui
Class UIWordOverride

java.lang.Object
  |
  +--org.csapi.jr.se.ui.UIWordOverride
All Implemented Interfaces:
java.io.Serializable

public final class UIWordOverride
extends java.lang.Object
implements java.io.Serializable

Defines the Sequence of Data Elements that specify the information to use in overriding the default pronunciation of a word.

See Also:
Serialized Form

Constructor Summary
UIWordOverride()
          Creates a new UIWordOverride instance.
UIWordOverride(java.lang.String _spelling, org.csapi.jr.se.ui.UIPronounceType _pronounceType, java.lang.String _pronounceAs)
          Creates a new UIWordOverride instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getPronounceAs()
          This method returns a pronounceAs.
 org.csapi.jr.se.ui.UIPronounceType getPronounceType()
          This method returns a pronounceType.
 java.lang.String getSpelling()
          This method returns a spelling.
 int hashCode()
          Returns a hashcode value for the object.
 void setPronounceAs(java.lang.String pronounceAs)
          This method sets a pronounceAs.
 void setPronounceType(org.csapi.jr.se.ui.UIPronounceType pronounceType)
          This method sets a pronounceType.
 void setSpelling(java.lang.String spelling)
          This method sets a spelling.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIWordOverride

public UIWordOverride()
Creates a new UIWordOverride instance.


UIWordOverride

public UIWordOverride(java.lang.String _spelling,
                      org.csapi.jr.se.ui.UIPronounceType _pronounceType,
                      java.lang.String _pronounceAs)
Creates a new UIWordOverride instance.

Parameters:
_spelling - Defines the spelling of the word override
_pronounceType - Defines the type of pronunciation syntax.
_pronounceAs - Defines how the spelling field should be pronounced.
Method Detail

getSpelling

public java.lang.String getSpelling()
This method returns a spelling.

Returns:
a String value

getPronounceType

public org.csapi.jr.se.ui.UIPronounceType getPronounceType()
This method returns a pronounceType.

Returns:
a org.csapi.jr.se.ui.UIPronounceType value

getPronounceAs

public java.lang.String getPronounceAs()
This method returns a pronounceAs.

Returns:
a String value

setSpelling

public void setSpelling(java.lang.String spelling)
This method sets a spelling.


setPronounceType

public void setPronounceType(org.csapi.jr.se.ui.UIPronounceType pronounceType)
This method sets a pronounceType.


setPronounceAs

public void setPronounceAs(java.lang.String pronounceAs)
This method sets a pronounceAs.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object