|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--openfuture.masterdata.DefaultMasterDataProvider
This is a default implementation for a Master Data provider. Creation date: (09.09.00 21:59:30)
| Constructor Summary | |
DefaultMasterDataProvider()
Constructor |
|
| Method Summary | |
java.lang.String |
getLanguage()
Return contents of field language |
java.util.Vector |
getMasterData(java.lang.String type)
get some master data from the cache; if no data available in the provider, data are fetched from the service |
IMasterData |
getMasterData(java.lang.String type,
java.lang.String id)
get some master data from the cache for a given language |
java.util.Hashtable |
getMasterDataCache()
Return contents of field masterDataCache |
IMasterDataService |
getService()
Return contents of field service |
void |
setLanguage(java.lang.String newValue)
Set contents of field language to the given value |
void |
setMasterDataCache(java.util.Hashtable newValue)
Set contents of field masterDataCache to the given value |
void |
setService(IMasterDataService newValue)
Set contents of field service to the given value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultMasterDataProvider()
| Method Detail |
public java.lang.String getLanguage()
getLanguage in interface ILanguageDependentpublic java.util.Vector getMasterData(java.lang.String type)
getMasterData in interface IMasterDataProvidertype - (String) the md type
public IMasterData getMasterData(java.lang.String type,
java.lang.String id)
getMasterData in interface IMasterDataProvidertype - (String) the md typepublic java.util.Hashtable getMasterDataCache()
public final IMasterDataService getService()
public void setLanguage(java.lang.String newValue)
setLanguage in interface ILanguageDependentnewValue - (String) new value for field languagepublic void setMasterDataCache(java.util.Hashtable newValue)
newValue - (Hashtable) new value for field masterDataCachepublic final void setService(IMasterDataService newValue)
newValue - (IMasterDataService) new value for field service
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||