openfuture.masterdata
Class LDMasterDataContainer

java.lang.Object
  |
  +--openfuture.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)

See Also:
Serialized Form

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
 

Constructor Detail

LDMasterDataContainer

public LDMasterDataContainer()
Constructor

LDMasterDataContainer

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

getData

public final java.util.Vector getData()
Return contents of field data
Specified by:
getData in interface IMasterDataContainer
Returns:
(Vector) contents of field data

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
Parameters:
language - java.lang.String
Returns:
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
Parameters:
language - java.lang.String
Returns:
boolean

setData

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

setLanguage

public final void setLanguage(java.lang.String newValue)
Set contents of field language to the given value
Specified by:
setLanguage in interface IMasterDataContainer
Parameters:
newValue - (String) new value for field language


Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.