Class Reason
java.lang.Object
net.finmath.smartcontract.product.xml.Reason
A type defining a content model for describing the nature and possible
location of a error within a previous message.
Java class for Reason complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Reason"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="reasonCode" type="{http://www.fpml.org/FpML-5/confirmation}ReasonCode"/> <element name="location" type="{http://www.fpml.org/FpML-5/confirmation}ProblemLocation" minOccurs="0"/> <element name="description" type="{http://www.fpml.org/FpML-5/confirmation}String" minOccurs="0"/> <element name="validationRuleId" type="{http://www.fpml.org/FpML-5/confirmation}Validation" minOccurs="0"/> <element name="additionalData" type="{http://www.fpml.org/FpML-5/confirmation}AdditionalData" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<AdditionalData> protected String
protected ProblemLocation
protected ReasonCode
protected Validation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the additionalData property.Gets the value of the description property.Gets the value of the location property.Gets the value of the reasonCode property.Gets the value of the validationRuleId property.void
setDescription
(String value) Sets the value of the description property.void
setLocation
(ProblemLocation value) Sets the value of the location property.void
setReasonCode
(ReasonCode value) Sets the value of the reasonCode property.void
setValidationRuleId
(Validation value) Sets the value of the validationRuleId property.
-
Field Details
-
reasonCode
-
location
-
description
-
validationRuleId
-
additionalData
-
-
Constructor Details
-
Reason
public Reason()
-
-
Method Details
-
getReasonCode
Gets the value of the reasonCode property.- Returns:
- possible object is
ReasonCode
-
setReasonCode
Sets the value of the reasonCode property.- Parameters:
value
- allowed object isReasonCode
-
getLocation
Gets the value of the location property.- Returns:
- possible object is
ProblemLocation
-
setLocation
Sets the value of the location property.- Parameters:
value
- allowed object isProblemLocation
-
getDescription
-
setDescription
-
getValidationRuleId
Gets the value of the validationRuleId property.- Returns:
- possible object is
Validation
-
setValidationRuleId
Sets the value of the validationRuleId property.- Parameters:
value
- allowed object isValidation
-
getAdditionalData
Gets the value of the additionalData 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 Jakarta XML Binding object. This is why there is not a
set
method for the additionalData property.For example, to add a new item, do as follows:
getAdditionalData().add(newItem);
Objects of the following type(s) are allowed in the list
AdditionalData
-