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

Quick Search    Search Deep

openfuture.masterdata
Class LDMasterDataContainer  view LDMasterDataContainer download LDMasterDataContainer.java

java.lang.Object
  extended byopenfuture.masterdata.LDMasterDataContainer
All Implemented Interfaces:
IMasterDataContainer, java.io.Serializable

public class LDMasterDataContainer
extends java.lang.Object
implements IMasterDataContainer

This class implements the IMasterDataContainer interface in order to provide a container for language dependent master data. Creation date: (10.09.00 09:32:50)


Field Summary
private  java.util.Vector data
          Field data (Vector) is used to hold the data
private  java.lang.String language
          Field language (String) is used to check which data are loaded
 
Constructor Summary
LDMasterDataContainer()
          Constructor
LDMasterDataContainer(java.util.Vector data)
          Constructor Creation date: (10.09.00 09:34:37)
 
Method Summary
 java.util.Vector getData()
          Return contents of field data
 IMasterDataContainer getMasterData(java.lang.String language)
          Provides another container with master data for the given language Creation date: (10.09.00 10:10:44)
 boolean hasMasterData(java.lang.String language)
          indicates if this container can provide data for a given language.
 void setData(java.util.Vector newValue)
          Set contents of field data to the given value
 void setLanguage(java.lang.String newValue)
          Set contents of field language to the given value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

private java.util.Vector data
Field data (Vector) is used to hold the data


language

private java.lang.String language
Field language (String) is used to check which data are loaded

Constructor Detail

LDMasterDataContainer

public LDMasterDataContainer()
Constructor


LDMasterDataContainer

public LDMasterDataContainer(java.util.Vector data)
Constructor Creation date: (10.09.00 09:34:37)

Method Detail

getData

public final java.util.Vector getData()
Return contents of field data

Specified by:
getData in interface IMasterDataContainer

getMasterData

public IMasterDataContainer getMasterData(java.lang.String language)
Provides another container with master data for the given language Creation date: (10.09.00 10:10:44)

Specified by:
getMasterData in interface IMasterDataContainer

hasMasterData

public boolean hasMasterData(java.lang.String language)
indicates if this container can provide data for a given language. Creation date: (10.09.00 10:10:44)

Specified by:
hasMasterData in interface IMasterDataContainer

setData

public final void setData(java.util.Vector newValue)
Set contents of field data to the given value


setLanguage

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

Specified by:
setLanguage in interface IMasterDataContainer