|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.masterdata.MasterData
This class is a simple implementation of the IMasterData interface. Creation date: (09.09.00 19:14:10)
Constructor Summary | |
MasterData()
Constructor |
|
MasterData(java.lang.String id,
java.lang.String text)
Constructor Creation date: (09.09.00 22:06:16) |
Method Summary | |
int |
compareTo(IMasterData o)
compareTo method comment. |
int |
compareTo(java.lang.Object o)
compareTo method comment. |
boolean |
equals(java.lang.Object obj)
Compares two objects for equality. |
java.lang.String |
getId()
Return contents of field id |
java.lang.String |
getText()
Return contents of field text |
int |
hashCode()
Generates a hash code for the receiver. |
void |
setId(java.lang.String newValue)
Set contents of field id to the given value |
void |
setText(java.lang.String newValue)
Set contents of field text to the given value |
java.lang.String |
toString()
Returns a String that represents the value of this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MasterData()
public MasterData(java.lang.String id, java.lang.String text)
id
- java.lang.Stringtext
- java.lang.StringMethod Detail |
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public int compareTo(IMasterData o)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the Object to compare withHashtable
public final java.lang.String getId()
getId
in interface IMasterData
public final java.lang.String getText()
getText
in interface IMasterData
public int hashCode()
hashCode
in class java.lang.Object
Hashtable
public final void setId(java.lang.String newValue)
setId
in interface IMasterData
newValue
- (String) new value for field idpublic final void setText(java.lang.String newValue)
setText
in interface IMasterData
newValue
- (String) new value for field textpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |