Class AssertFaultModel

java.lang.Object
org.citrusframework.model.testcase.core.TestActionType
org.citrusframework.model.testcase.ws.AssertFaultModel

public class AssertFaultModel extends TestActionType

Java-Klasse für SoapAssertActionType complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.


 <complexType name="SoapAssertActionType">
   <complexContent>
     <extension base="{http://www.citrusframework.org/schema/testcase}TestActionType">
       <sequence>
         <element name="fault-detail" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="schema-validation" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                 <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="schema-repository" type="{http://www.w3.org/2001/XMLSchema}string" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="when">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <group ref="{http://www.citrusframework.org/schema/testcase}actionGroup"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="fault-code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="fault-string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="fault-actor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="fault-validator" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • AssertFaultModel

      public AssertFaultModel()
  • Method Details

    • getFaultDetails

      public List<AssertFaultModel.FaultDetail> getFaultDetails()
      Gets the value of the faultDetails property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the faultDetails property.

      For example, to add a new item, do as follows:

       getFaultDetails().add(newItem);
       

      Objects of the following type(s) are allowed in the list AssertFaultModel.FaultDetail

      Returns:
      The value of the faultDetails property.
    • getWhen

      public AssertFaultModel.When getWhen()
      Ruft den Wert der when-Eigenschaft ab.
      Returns:
      possible object is AssertFaultModel.When
    • setWhen

      public void setWhen(AssertFaultModel.When value)
      Legt den Wert der when-Eigenschaft fest.
      Parameters:
      value - allowed object is AssertFaultModel.When
    • getFaultCode

      public String getFaultCode()
      Ruft den Wert der faultCode-Eigenschaft ab.
      Returns:
      possible object is String
    • setFaultCode

      public void setFaultCode(String value)
      Legt den Wert der faultCode-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getFaultString

      public String getFaultString()
      Ruft den Wert der faultString-Eigenschaft ab.
      Returns:
      possible object is String
    • setFaultString

      public void setFaultString(String value)
      Legt den Wert der faultString-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getFaultActor

      public String getFaultActor()
      Ruft den Wert der faultActor-Eigenschaft ab.
      Returns:
      possible object is String
    • setFaultActor

      public void setFaultActor(String value)
      Legt den Wert der faultActor-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getFaultValidator

      public String getFaultValidator()
      Ruft den Wert der faultValidator-Eigenschaft ab.
      Returns:
      possible object is String
    • setFaultValidator

      public void setFaultValidator(String value)
      Legt den Wert der faultValidator-Eigenschaft fest.
      Parameters:
      value - allowed object is String