|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
| Method Summary | |
java.util.Iterator |
dictionaryIterator()
Returns an iterator over the dictionaries in squence of insertion |
java.lang.ClassLoader |
getClassLoader()
Returns the broker's classLoader |
IDataType |
getDataType(java.lang.String name)
Returns a dataType with the given type name whereas name contains of package and typeName. |
IDataType |
getDataType(java.lang.String dictionaryName,
java.lang.String name)
Returns a dataType with the given dictionaryName and type name. |
com.sap.dictionary.runtime.DdDictionary |
getDictionary(java.lang.String dictionaryName)
Gets a DataDictionary as IDictionary out of the cache |
java.util.Locale |
getLocale()
Returns the TypeBroker's locale |
ISimpleType |
getPredefinedSimpleType(java.lang.Class attributeClass)
|
ISimpleType |
getSimpleType(java.lang.String dictionaryName,
java.lang.String name)
Returns a simpleType with the given given dictionaryName and SimpleType name. |
IStructure |
getStructure(java.lang.String dictionaryName,
java.lang.String name)
Returns a structure with the given dictionary name and structure name. |
IUnitService |
getUnitService(IField amountField)
Returns a unit service for the given amount field. |
IUnitService |
getUnitService(IField amountField,
boolean normalizingForced)
Returns a unit service for the given amount field. |
boolean |
invalidateCache(java.lang.String dictionaryName)
Invalidates the cache for the dictionary with the given name. |
void |
putDictionary(java.lang.String dictionaryName,
IDataProvider provider)
Introduce a new-dictionary to this TypeBroker |
void |
putJavaDictionary(java.lang.ClassLoader classLoader)
Introduce a java-dictionary to this TypeBroker |
com.sap.dictionary.runtime.DdDictionary |
removeDictionary(java.lang.String dictionaryName)
Removes a dictionary from the TypeBroker |
| Method Detail |
public void putJavaDictionary(java.lang.ClassLoader classLoader)
classLoader - - the class loader to get the java-types
public void putDictionary(java.lang.String dictionaryName,
IDataProvider provider)
dictionaryName - - the name to identify this dictionaryprovider - - the provider-instance for backend-accesspublic com.sap.dictionary.runtime.DdDictionary getDictionary(java.lang.String dictionaryName)
dictionaryName - - logical Name of this dictionary instancepublic java.lang.ClassLoader getClassLoader()
public com.sap.dictionary.runtime.DdDictionary removeDictionary(java.lang.String dictionaryName)
dictionaryName - - a DataDictionary namepublic java.util.Iterator dictionaryIterator()
public boolean invalidateCache(java.lang.String dictionaryName)
dictionaryName - - the logical name of the dictionary
public IDataType getDataType(java.lang.String dictionaryName,
java.lang.String name)
throws com.sap.dictionary.runtime.DdException
dictionaryName - the name of the locical dictionaryname - - the type's name, includes package if necessarycom.sap.dictionary.runtime.DdException - - if dataType with given name not found
public IDataType getDataType(java.lang.String name)
throws com.sap.dictionary.runtime.DdException
name - - the type's name, includes packagecom.sap.dictionary.runtime.DdException - - if dataType with given name not found
public ISimpleType getSimpleType(java.lang.String dictionaryName,
java.lang.String name)
throws com.sap.dictionary.runtime.DdException
dictionaryName - the name of the loccal dictionaryname - - the type's name, includes package if necessarycom.sap.dictionary.runtime.DdException - - if SimpleType with given name not found
public IStructure getStructure(java.lang.String dictionaryName,
java.lang.String name)
throws com.sap.dictionary.runtime.DdException
dictionaryName - the name of the loccal dictionaryname - - the type's name, includes package if necessarycom.sap.dictionary.runtime.DdException - - if Structure with given name not found
public IUnitService getUnitService(IField amountField)
throws com.sap.dictionary.runtime.DdException
amountField - - the reference fieldcom.sap.dictionary.runtime.DdException - - if unit Service could not be instantiated
public IUnitService getUnitService(IField amountField,
boolean normalizingForced)
throws com.sap.dictionary.runtime.DdException
amountField - - the reference fieldnormalizingForced - - true means the currency-values are always normalized
during parse and denormalized during formatting,
false means that the type controls wether normalization is done or not.
Then in case of R/3 backend de/normalization will never be donecom.sap.dictionary.runtime.DdException - - if unit Service could not be instantiatedpublic java.util.Locale getLocale()
public ISimpleType getPredefinedSimpleType(java.lang.Class attributeClass)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||