org.openeai.moa.objects.testsuite
Class Failure

java.lang.Object
  extended by org.openeai.OpenEaiObject
      extended by org.openeai.moa.EnterpriseObjectBase
          extended by org.openeai.moa.XmlEnterpriseObjectImpl
              extended by org.openeai.moa.objects.testsuite.Failure
All Implemented Interfaces:
java.lang.Cloneable, EnterpriseObject, XmlEnterpriseObject, PubliclyCloneable

public class Failure
extends XmlEnterpriseObjectImpl
implements XmlEnterpriseObject

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

Version:
3.0 - 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, getLength, getOutputLayoutManager, getOutputLayoutManager, getOutputLayoutManagers, getProvideDoc, getProvideDocUri, getQueryDoc, getQueryDocUri, getResponseDoc, getResponseDocUri, getRootElementName, getTestId, getUpdateDoc, getUpdateDocUri, getUpdateSyncDoc, getUpdateSyncDocUri, getValidation, getValueFromObject, getValueFromObject, init, initializeChild, isDate, isEmpty, isRepeating, restoreLayoutManagers, saveLayoutManagers, 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, setValue, toString, toXmlString
 
Methods inherited from class org.openeai.OpenEaiObject
getAppName, getDebug, getFromAddr, 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, getValidation, getValueFromObject, getValueFromObject, initializeChild, 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
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
Throws:
EnterpriseFieldException


Copyright © 2002,2003 OpenEAI Software Foundation