|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.wordhoard.model.wrappers.RemoteTextWrapper
public class RemoteTextWrapper
A text wrapper from s remote source.
This class wraps a Text object.
This wraps a text from a remote source, such as an annotation system.
| Constructor Summary | |
|---|---|
RemoteTextWrapper()
Creates a new text wrapper. |
|
RemoteTextWrapper(Text text)
Creates a new text wrapper. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true if some other object is equal to this one. |
java.lang.String |
getId()
Gets the unique id. |
Text |
getText()
Gets the text. |
int |
hashCode()
Returns a hash code for the object. |
void |
setText(Text text)
Sets the text. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteTextWrapper()
public RemoteTextWrapper(Text text)
text - Text. | Method Detail |
|---|
public java.lang.String getId()
public Text getText()
getText in interface TextWrappedpublic void setText(Text text)
setText in interface TextWrappedtext - The text. public boolean equals(java.lang.Object obj)
The two work parts are equal if their ids are equal.
equals in interface TextWrappedequals in class java.lang.Objectobj - The other object.
public int hashCode()
hashCode in interface TextWrappedhashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||