Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.masterdata
Class LDMasterData  view LDMasterData download LDMasterData.java

java.lang.Object
  extended byopenfuture.masterdata.MasterData
      extended byopenfuture.masterdata.LDMasterData
All Implemented Interfaces:
java.lang.Comparable, ILanguageDependent, IMasterData, java.io.Serializable

public class LDMasterData
extends MasterData
implements ILanguageDependent

This class extends the MasterData class to provide a simple language dependent Master Data class. Creation date: (09.09.00 19:17:24)


Field Summary
private  java.lang.String language
          Field language (String) is used to hold the language
 
Fields inherited from class openfuture.masterdata.MasterData
 
Constructor Summary
LDMasterData()
          Constructor
LDMasterData(java.lang.String id, java.lang.String language, java.lang.String text)
          Constructor Creation date: (09.09.00 22:07:08)
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two objects for equality.
 java.lang.String getLanguage()
          Return contents of field language
 int hashCode()
          Generates a hash code for the receiver.
 void setLanguage(java.lang.String newValue)
          Set contents of field language to the given value
 java.lang.String toString()
          Returns a String that represents the value of this object.
 
Methods inherited from class openfuture.masterdata.MasterData
compareTo, compareTo, getId, getText, setId, setText
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

language

private java.lang.String language
Field language (String) is used to hold the language

Constructor Detail

LDMasterData

public LDMasterData()
Constructor


LDMasterData

public LDMasterData(java.lang.String id,
                    java.lang.String language,
                    java.lang.String text)
Constructor Creation date: (09.09.00 22:07:08)

Method Detail

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.

Overrides:
equals in class MasterData

getLanguage

public final java.lang.String getLanguage()
Return contents of field language

Specified by:
getLanguage in interface ILanguageDependent

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.

Overrides:
hashCode in class MasterData

setLanguage

public final void setLanguage(java.lang.String newValue)
Set contents of field language to the given value

Specified by:
setLanguage in interface ILanguageDependent

toString

public java.lang.String toString()
Returns a String that represents the value of this object.

Overrides:
toString in class MasterData