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

Quick Search    Search Deep

openfuture.masterdata
Class MasterDataContainer  view MasterDataContainer download MasterDataContainer.java

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

public class MasterDataContainer
extends java.lang.Object
implements IMasterDataContainer

This class implements the IMasterDataContainer interface in order to provide a container for non-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
 
Constructor Summary
MasterDataContainer()
          Constructor
MasterDataContainer(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 As this implementation is used to manage non-language dependent master data, it always returns a new container which contains all master data 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

Constructor Detail

MasterDataContainer

public MasterDataContainer()
Constructor


MasterDataContainer

public MasterDataContainer(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 As this implementation is used to manage non-language dependent master data, it always returns a new container which contains all master data 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. As this implementation is used to manage non-language dependent master data, it always contains data for the "right" language, whatever the argument is. 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