|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Placeholder for future interface..
| Method Summary | |
void |
addInputLayoutManager(java.lang.String type,
EnterpriseLayoutManager iLayout)
|
void |
addOutputLayoutManager(java.lang.String type,
EnterpriseLayoutManager oLayout)
|
void |
buildObjectFromInput(java.lang.Object input)
Using the currently assigned input layout manager, this method takes the input passed in and builds the object from that input. |
void |
buildObjectFromXmlString(java.lang.String theString)
This method allows application developers to build an object from a XML String representation of an object that was previously converted to an XML String via the toXmlString() method. |
java.lang.Object |
buildOutputFromObject()
Using the currently assigned output layout manager, this method uses the current contents of the object and builds an output object as implemented by the layout manager. |
java.lang.Object |
buildOutputFromObject(java.lang.String appName)
Using the currently assigned output layout manager, this method uses the current contents of the object and builds an output object as implemented by the layout manager for the specified application name. |
java.lang.Object |
clone()
Performs a recursive field for field copy of the current Object and returns the result. |
boolean |
equals(XmlEnterpriseObject xeo)
A convenience method that can be used to compare two Xml aware objects (XmlEnterpriseObjectImpl). |
XmlEnterpriseObject |
getBaseline()
Returns the baseline object associated to this object. |
java.lang.String |
getCombinedKeyValue()
goes through all the key fields on the xeo passed in and creates a string containing all the values from those key fields. |
org.jdom.Document |
getCreateDoc()
Returns the "primed" Create Document associated with this object. |
org.jdom.Document |
getCreateSyncDoc()
Returns the "primed" CreateSync Document associated with this object. |
org.jdom.Document |
getDeleteDoc()
Returns the "primed" Delete Document associated with this object. |
org.jdom.Document |
getDeleteSyncDoc()
Returns the "primed" DeleteSync Document associated with this object. |
EnterpriseFields |
getEnterpriseFields()
Returns the EnterpriseFields object associated with this object. |
org.jdom.Document |
getGenerateDoc()
Returns the "primed" generate Document associated with this object. |
org.jdom.Document |
getGenerateSyncDoc()
Returns the "primed" GenerateSync Document associated with this object. |
EnterpriseLayoutManager |
getInputLayoutManager()
Returns this object's currently assigned Input Layout manager. |
EnterpriseLayoutManager |
getInputLayoutManager(java.lang.String type)
Returns an Input Layout manager for this object of a specified type. |
java.util.HashMap |
getInputLayoutManagers()
Returns a HashMap containing all Input Layout managers associated to this object. |
EnterpriseLayoutManager |
getOutputLayoutManager()
Returns this object's currently assigned Output Layout manager. |
EnterpriseLayoutManager |
getOutputLayoutManager(java.lang.String type)
Returns an Output Layout manager for this object of a specified type. |
java.util.HashMap |
getOutputLayoutManagers()
Returns a HashMap containing all Output Layout managers associated to this object. |
org.jdom.Document |
getProvideDoc()
Returns the "primed" Provide Document associated with this object. |
org.jdom.Document |
getQueryDoc()
Returns the "primed" Query Document associated with this object. |
org.jdom.Document |
getResponseDoc()
Returns the "primed" Response Document associated with this object. |
TestId |
getTestId()
Returns the test id associated to this object. |
org.jdom.Document |
getUpdateDoc()
Returns the "primed" Update Document associated with this object. |
org.jdom.Document |
getUpdateSyncDoc()
Returns the "primed" UpdateSync Document associated with this object. |
java.lang.Object |
getValueFromObject(java.lang.String fieldName)
Returns the current value from the field name passed in. |
java.lang.Object |
getValueFromObject(java.lang.String fieldName,
java.lang.Object[] parms,
java.lang.Class[] parmTypes)
Returns the current value from the field name passed in. |
boolean |
isDate()
Checks to see if this object is a "Date/Datetime" object. |
boolean |
isEmpty()
Recursively checks the contents of the object and true if it contains any data. |
void |
setBaseline(XmlEnterpriseObject baseline)
Sets the baseline object associated to this object. |
void |
setCreateDoc(org.jdom.Document doc)
Sets the "primed" create document associated with this object. |
void |
setCreateSyncDoc(org.jdom.Document doc)
Sets the "primed" create sync document associated with this object. |
void |
setDeleteDoc(org.jdom.Document doc)
Sets the "primed" delete document associated with this object. |
void |
setDeleteSyncDoc(org.jdom.Document doc)
Sets the "primed" delete sync document associated with this object. |
void |
setEnterpriseFields(EnterpriseFields fields)
Sets the EnterpriseFields object associated with this object. |
void |
setGenerateDoc(org.jdom.Document doc)
Sets the "primed" generate document associated with this object. |
void |
setGenerateSyncDoc(org.jdom.Document doc)
Sets the "primed" generate sync document associated with this object. |
void |
setInputLayoutManager(EnterpriseLayoutManager elm)
|
void |
setInputLayoutManagers(java.util.HashMap iManagers)
|
void |
setOutputLayoutManager(EnterpriseLayoutManager elm)
|
void |
setOutputLayoutManagers(java.util.HashMap oManagers)
|
void |
setProvideDoc(org.jdom.Document doc)
Sets the "primed" provide document associated with this object. |
void |
setQueryDoc(org.jdom.Document doc)
Sets the "primed" query document associated with this object. |
void |
setResponseDoc(org.jdom.Document doc)
Sets the "primed" response document associated with this object. |
void |
setTestId(TestId tId)
Sets the test id associated to this object. |
void |
setUpdateDoc(org.jdom.Document doc)
Sets the "primed" update document associated with this object. |
void |
setUpdateSyncDoc(org.jdom.Document doc)
Sets the "primed" update sync document associated with this object. |
java.lang.String |
toString()
Returns a comma separated String containing all the data currently stored in this object. |
java.lang.String |
toXmlString()
A convenience method that can be used simply by application developers to retreive the contents of the object as an XML String. |
| Method Detail |
public void buildObjectFromInput(java.lang.Object input)
throws EnterpriseLayoutException
Additionally, if the data passed in is "application specific" data (like codes) this data will be converted to Enterprise Values based on Translation information also obtained from the EnterpriseObjects.xml document.
This method (along with buildOutputFromObject and the Layout Manager infrastructure) allows us to generalize the building our message objects so we don't have to put all of that logic in the objects themselves. We just implement new Layout Managers and associate those layouts to the objects. All objects have an Xml Layout Manager associated to them that is derived from the EnterpriseObjects.xml document.
EnterpriseLayoutException. - If an error occurs building the object
from the data passed in.
EnterpriseLayoutException
public java.lang.Object buildOutputFromObject()
throws EnterpriseLayoutException
This method (along with buildInputFromObject and the Layout Manager infrastructure) allows us to generalize the serialization our message objects so we don't have to put all of that logic in the objects themselves. We just implement new Layout Managers and associate those layouts to the objects. All objects have an Xml Layout Manager associated to them that is derived from the EnterpriseObjects.xml document.
EnterpriseLayoutException. - If an error occurs building the output
from the object.
EnterpriseLayoutException
public java.lang.Object buildOutputFromObject(java.lang.String appName)
throws EnterpriseLayoutException
This method (along with buildInputFromObject and the Layout Manager infrastructure) allows us to generalize the serialization our message objects so we don't have to put all of that logic in the objects themselves. We just implement new Layout Managers and associate those layouts to the objects. All objects have an Xml Layout Manager associated to them that is derived from the EnterpriseObjects.xml document.
EnterpriseLayoutException. - If an error occurs building the output
from the object.
EnterpriseLayoutException
public void buildObjectFromXmlString(java.lang.String theString)
throws XmlEnterpriseObjectException
XmlEnterpriseObjectException. - If an error occurs building the object
from the data passed in.
XmlEnterpriseObjectException
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic EnterpriseFields getEnterpriseFields()
EnterpriseFieldspublic void setEnterpriseFields(EnterpriseFields fields)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
EnterpriseFieldspublic void setTestId(TestId tId)
public TestId getTestId()
public void setBaseline(XmlEnterpriseObject baseline)
public XmlEnterpriseObject getBaseline()
public EnterpriseLayoutManager getInputLayoutManager()
public java.util.HashMap getInputLayoutManagers()
public EnterpriseLayoutManager getInputLayoutManager(java.lang.String type)
public void setInputLayoutManagers(java.util.HashMap iManagers)
public void addInputLayoutManager(java.lang.String type,
EnterpriseLayoutManager iLayout)
public void setInputLayoutManager(EnterpriseLayoutManager elm)
public java.util.HashMap getOutputLayoutManagers()
public EnterpriseLayoutManager getOutputLayoutManager()
public EnterpriseLayoutManager getOutputLayoutManager(java.lang.String type)
public void setOutputLayoutManagers(java.util.HashMap oManagers)
public void addOutputLayoutManager(java.lang.String type,
EnterpriseLayoutManager oLayout)
public void setOutputLayoutManager(EnterpriseLayoutManager elm)
public boolean isEmpty()
throws XmlEnterpriseObjectException
XmlEnterpriseObjectException - if any errors occur when determining
if the object empty.public boolean isDate()
public boolean equals(XmlEnterpriseObject xeo)
throws XmlEnterpriseObjectException
XmlEnterpriseObjectException. - If an error occurs serializing the
object to a String. This is usually due to invalid data (formats etc.) determined
from the object's current rules as specified in EnterpriseFields.
XmlEnterpriseObjectExceptionpublic java.lang.String toString()
Format for returned data:
FieldName1=some value, FieldName2=field2 data etc.
toString in class java.lang.Object
public java.lang.String toXmlString()
throws XmlEnterpriseObjectException
XmlEnterpriseObjectException. - If an error occurs serializing the
object to a String. This is usually due to invalid data (formats etc.) determined
from the object's current rules as specified in EnterpriseFields.
XmlEnterpriseObjectException
public java.lang.String getCombinedKeyValue()
throws XmlEnterpriseObjectException
XmlEnterpriseObjectException
public java.lang.Object getValueFromObject(java.lang.String fieldName)
throws XmlEnterpriseObjectException
XmlEnterpriseObjectException - if the field name passed in does not exist
or if any other errors occur calling the getter method associated to the field.
public java.lang.Object getValueFromObject(java.lang.String fieldName,
java.lang.Object[] parms,
java.lang.Class[] parmTypes)
throws XmlEnterpriseObjectException
XmlEnterpriseObjectException - if the field name passed in does not exist
or if any other errors occur calling the getter method associated to the field.public org.jdom.Document getCreateDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setCreateDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" create Documentpublic org.jdom.Document getCreateSyncDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setCreateSyncDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" create sync Documentpublic org.jdom.Document getDeleteDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setDeleteDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" delete Documentpublic org.jdom.Document getDeleteSyncDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setDeleteSyncDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" delete sync Documentpublic org.jdom.Document getGenerateDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setGenerateDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" generate Documentpublic void setGenerateSyncDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" generate sync Documentpublic org.jdom.Document getGenerateSyncDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public org.jdom.Document getUpdateDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setUpdateDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" update Documentpublic org.jdom.Document getUpdateSyncDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setUpdateSyncDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" update sync Documentpublic org.jdom.Document getProvideDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setProvideDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" provide Documentpublic org.jdom.Document getResponseDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setResponseDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" response Documentpublic org.jdom.Document getQueryDoc()
If the document is not initialized because of deferred initialization, the document will be initialized in this method and then it will be returned. This way, document initialization will only ever have to happen once and it can be configured to do it when an application starts or when the document is first requested.
public void setQueryDoc(org.jdom.Document doc)
This information is specified in the MessageObjectConfig XML Element in the deployment documents and is passed to this object during initialization by the MessageObjectConfig Java object.
doc - org.jdom.Document the "primed" query Document
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||