|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.openeai.OpenEaiObject
|
+--org.openeai.config.EnterpriseMapping
This object maintains a list of mappings from application values to enterprise values by object/field and application name. This information is contained in the EnterpriseObjects document and the EnterpriseMapping object is an instance variable in EnterpriseTranslator.
The EnterpriseMapping object is built on a field by field basis as the EnterpriseFields object builds itself with contents found in the EnterpriseObjects documents.
EnterpriseTranslator,
EnterpriseFields| Field Summary |
| Fields inherited from class org.openeai.OpenEaiObject |
logger |
| Constructor Summary | |
EnterpriseMapping()
Constructor |
|
| Method Summary | |
void |
addApplicationValue(java.lang.String appName,
java.lang.String value)
The EnterpriseFields object uses this method to add an application value (by appName) to the HashMap of all application values for this field. |
java.util.HashMap |
getApplicationValues()
This method returns a HashMap containing all Application specific values related to this particular field. |
java.lang.String |
getEnterpriseValue()
This method returns the enterprise value associated to this Mapping. |
java.lang.String |
getFieldName()
This method returns the name of the field associated to this mapping. |
void |
setApplicationValues(java.util.HashMap values)
This method sets the HashMap of application specific values related to this field. |
void |
setEnterpriseValue(java.lang.String value)
This method sets the enterprise value associated to this mapping. |
void |
setFieldName(java.lang.String name)
This method sets the name of the field associated to this mapping. |
| Methods inherited from class org.openeai.OpenEaiObject |
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EnterpriseMapping()
| Method Detail |
public final java.util.HashMap getApplicationValues()
public final void setApplicationValues(java.util.HashMap values)
public final void addApplicationValue(java.lang.String appName,
java.lang.String value)
public final java.lang.String getEnterpriseValue()
public final void setEnterpriseValue(java.lang.String value)
public final java.lang.String getFieldName()
public final void setFieldName(java.lang.String name)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||