Class SendFaultModel.Fault

java.lang.Object
org.citrusframework.model.testcase.ws.SendFaultModel.Fault
Enclosing class:
SendFaultModel

public static class SendFaultModel.Fault extends Object

Java-Klasse für anonymous complex type.

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


 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="fault-code" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="fault-string" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="fault-actor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <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" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Fault

      public Fault()
  • Method Details

    • 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
    • getFaultDetails

      public List<SendFaultModel.Fault.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 SendFaultModel.Fault.FaultDetail

      Returns:
      The value of the faultDetails property.