public class AssertFaultModel extends TestActionType
Java class for SoapAssertActionType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
| Modifier and Type | Class and Description |
|---|---|
static class |
AssertFaultModel.FaultDetail
Java class for anonymous complex type.
|
static class |
AssertFaultModel.When
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
faultActor |
protected String |
faultCode |
protected List<AssertFaultModel.FaultDetail> |
faultDetails |
protected String |
faultString |
protected String |
faultValidator |
protected AssertFaultModel.When |
when |
description| Constructor and Description |
|---|
AssertFaultModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFaultActor()
Gets the value of the faultActor property.
|
String |
getFaultCode()
Gets the value of the faultCode property.
|
List<AssertFaultModel.FaultDetail> |
getFaultDetails()
Gets the value of the faultDetails property.
|
String |
getFaultString()
Gets the value of the faultString property.
|
String |
getFaultValidator()
Gets the value of the faultValidator property.
|
AssertFaultModel.When |
getWhen()
Gets the value of the when property.
|
void |
setFaultActor(String value)
Sets the value of the faultActor property.
|
void |
setFaultCode(String value)
Sets the value of the faultCode property.
|
void |
setFaultString(String value)
Sets the value of the faultString property.
|
void |
setFaultValidator(String value)
Sets the value of the faultValidator property.
|
void |
setWhen(AssertFaultModel.When value)
Sets the value of the when property.
|
getDescription, setDescriptionprotected List<AssertFaultModel.FaultDetail> faultDetails
protected AssertFaultModel.When when
protected String faultCode
protected String faultString
protected String faultActor
protected String faultValidator
public List<AssertFaultModel.FaultDetail> getFaultDetails()
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
public AssertFaultModel.When getWhen()
AssertFaultModel.Whenpublic void setWhen(AssertFaultModel.When value)
value - allowed object is
AssertFaultModel.Whenpublic String getFaultCode()
Stringpublic void setFaultCode(String value)
value - allowed object is
Stringpublic String getFaultString()
Stringpublic void setFaultString(String value)
value - allowed object is
Stringpublic String getFaultActor()
Stringpublic void setFaultActor(String value)
value - allowed object is
Stringpublic String getFaultValidator()
StringCopyright © 2008–2019 ConSol Software GmbH. All rights reserved.