org.openeai.moa.objects.testsuite
Class Failure


java.lang.Object

  |

  +--org.openeai.OpenEaiObject

        |

        +--org.openeai.moa.EnterpriseObjectBase

              |

              +--org.openeai.moa.XmlEnterpriseObjectImpl

                    |

                    +--org.openeai.moa.objects.testsuite.Failure

All Implemented Interfaces:
java.lang.Cloneable, EnterpriseObject, PubliclyCloneable, XmlEnterpriseObject

public class Failure
extends XmlEnterpriseObjectImpl
implements XmlEnterpriseObject

A Class that wraps the TestStatus element as specified in the OpenEAI TestSuite definition.

Version:
3.0 beta2 - 28 January 2003
Author:
Tod Jackson (tod@openeai.org), Steve Wheat (steve@openeai.org)

Field Summary
 
Fields inherited from class org.openeai.moa.XmlEnterpriseObjectImpl
ENTERPRISE_FIELDS, XML_LAYOUT_MANAGER
 
Fields inherited from class org.openeai.OpenEaiObject
logger
 
Constructor Summary
Failure()
           
Failure(MessageObjectConfig mConfig)
           
 
Method Summary
 void addReason(java.lang.String aReason)
           
 java.util.List getReason()
           
 java.lang.String getReason(int index)
           
 int getReasonLength()
           
 void setReason(int index, java.lang.String aReason)
           
 void setReason(java.util.List aReason)
           
 
Methods inherited from class org.openeai.moa.XmlEnterpriseObjectImpl
addInputLayoutManager, addOutputLayoutManager, buildObjectFromInput, buildObjectFromXmlString, buildOutputFromObject, buildOutputFromObject, clone, deferInitialization, dumpData, equals, getApplicationValue, getBaseline, getCombinedKeyValue, getControlArea, getCreateDoc, getCreateDocUri, getCreateSyncDoc, getCreateSyncDocUri, getDeleteDoc, getDeleteDocUri, getDeleteSyncDoc, getDeleteSyncDocUri, getEnterpriseFields, getEnterpriseValue, getGenerateDoc, getGenerateDocUri, getGenerateSyncDoc, getGenerateSyncDocUri, getInputLayoutManager, getInputLayoutManager, getInputLayoutManagers, getOutputLayoutManager, getOutputLayoutManager, getOutputLayoutManagers, getProvideDoc, getProvideDocUri, getQueryDoc, getQueryDocUri, getResponseDoc, getResponseDocUri, getRootElementName, getTestId, getUpdateDoc, getUpdateDocUri, getUpdateSyncDoc, getUpdateSyncDocUri, getValidation, getValueFromObject, getValueFromObject, init, initializeChild, isDate, isEmpty, setBaseline, setCreateDoc, setCreateDocUri, setCreateSyncDoc, setCreateSyncDocUri, setDeleteDoc, setDeleteDocUri, setDeleteSyncDoc, setDeleteSyncDocUri, setEnterpriseFields, setGenerateDoc, setGenerateDocUri, setGenerateSyncDoc, setGenerateSyncDocUri, setInputLayoutManager, setInputLayoutManagers, setOutputLayoutManager, setOutputLayoutManagers, setProvideDoc, setProvideDocUri, setQueryDoc, setQueryDocUri, setResponseDoc, setResponseDocUri, setTestId, setUpdateDoc, setUpdateDocUri, setUpdateSyncDoc, setUpdateSyncDocUri, setValidation, toString, toXmlString
 
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openeai.moa.XmlEnterpriseObject
addInputLayoutManager, addOutputLayoutManager, buildObjectFromInput, buildObjectFromXmlString, buildOutputFromObject, buildOutputFromObject, clone, equals, getBaseline, getCombinedKeyValue, getCreateDoc, getCreateSyncDoc, getDeleteDoc, getDeleteSyncDoc, getEnterpriseFields, getGenerateDoc, getGenerateSyncDoc, getInputLayoutManager, getInputLayoutManager, getInputLayoutManagers, getOutputLayoutManager, getOutputLayoutManager, getOutputLayoutManagers, getProvideDoc, getQueryDoc, getResponseDoc, getTestId, getUpdateDoc, getUpdateSyncDoc, getValueFromObject, getValueFromObject, isDate, isEmpty, setBaseline, setCreateDoc, setCreateSyncDoc, setDeleteDoc, setDeleteSyncDoc, setEnterpriseFields, setGenerateDoc, setGenerateSyncDoc, setInputLayoutManager, setInputLayoutManagers, setOutputLayoutManager, setOutputLayoutManagers, setProvideDoc, setQueryDoc, setResponseDoc, setTestId, setUpdateDoc, setUpdateSyncDoc, toString, toXmlString
 

Constructor Detail

Failure


public Failure()

Failure


public Failure(MessageObjectConfig mConfig)
        throws EnterpriseObjectException
Method Detail

getReasonLength


public int getReasonLength()

getReason


public java.lang.String getReason(int index)

getReason


public java.util.List getReason()

setReason


public void setReason(int index,
                      java.lang.String aReason)

setReason


public void setReason(java.util.List aReason)

addReason


public void addReason(java.lang.String aReason)
               throws EnterpriseFieldException
EnterpriseFieldException


Copyright © 2002, OpenEAI Software Foundation