|
|||||||||
Home >> All >> openfuture >> [ masterdata overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
openfuture.masterdata
Class MasterData

java.lang.Objectopenfuture.masterdata.MasterData
- All Implemented Interfaces:
- java.lang.Comparable, IMasterData, java.io.Serializable
- Direct Known Subclasses:
- LDMasterData
- public class MasterData
- extends java.lang.Object
- implements IMasterData
- extends java.lang.Object
This class is a simple implementation of the IMasterData interface. Creation date: (09.09.00 19:14:10)
Field Summary | |
private java.lang.String |
id
Field id (String) is used to the id |
private java.lang.String |
text
Field text (String) is used to the textual description |
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 |
Field Detail |
id
private java.lang.String id
- Field id (String) is used to the id
text
private java.lang.String text
- Field text (String) is used to the textual description
Constructor Detail |
MasterData
public MasterData()
- Constructor
MasterData
public MasterData(java.lang.String id, java.lang.String text)
- Constructor
Creation date: (09.09.00 22:06:16)
Method Detail |
compareTo
public int compareTo(java.lang.Object o)
- compareTo method comment.
- Specified by:
compareTo
in interfacejava.lang.Comparable
compareTo
public int compareTo(IMasterData o)
- compareTo method comment.
equals
public boolean equals(java.lang.Object obj)
- Compares two objects for equality. Returns a boolean that indicates
whether this object is equivalent to the specified object. This method
is used when an object is stored in a hashtable.
getId
public final java.lang.String getId()
- Return contents of field id
- Specified by:
getId
in interfaceIMasterData
getText
public final java.lang.String getText()
- Return contents of field text
- Specified by:
getText
in interfaceIMasterData
hashCode
public int hashCode()
- Generates a hash code for the receiver.
This method is supported primarily for
hash tables, such as those provided in java.util.
setId
public final void setId(java.lang.String newValue)
- Set contents of field id to the given value
- Specified by:
setId
in interfaceIMasterData
setText
public final void setText(java.lang.String newValue)
- Set contents of field text to the given value
- Specified by:
setText
in interfaceIMasterData
toString
public java.lang.String toString()
- Returns a String that represents the value of this object.
|
|||||||||
Home >> All >> openfuture >> [ masterdata overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |