public class ComplaintType extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para ComplaintType complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType name="ComplaintType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Id" type="{http://www.w3.org/2001/XMLSchema}ID"/>
<element name="Summary" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Reason" type="{http://www.fispace.eu/domain/ag}ComplaintReasonType" maxOccurs="3"/>
<element name="Severity" type="{http://www.fispace.eu/domain/ag}ComplaintSeverityType"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected List<ComplaintReasonType> |
reason |
protected ComplaintSeverityType |
severity |
protected String |
summary |
| Constructor and Description |
|---|
ComplaintType() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
String |
getId()
Obtiene el valor de la propiedad id.
|
List<ComplaintReasonType> |
getReason()
Gets the value of the reason property.
|
ComplaintSeverityType |
getSeverity()
Obtiene el valor de la propiedad severity.
|
String |
getSummary()
Obtiene el valor de la propiedad summary.
|
boolean |
isSetId() |
boolean |
isSetReason() |
boolean |
isSetSeverity() |
boolean |
isSetSummary() |
void |
setId(String value)
Define el valor de la propiedad id.
|
void |
setSeverity(ComplaintSeverityType value)
Define el valor de la propiedad severity.
|
void |
setSummary(String value)
Define el valor de la propiedad summary.
|
String |
toString() |
void |
unsetReason() |
ComplaintType |
withId(String value) |
ComplaintType |
withReason(Collection<ComplaintReasonType> values) |
ComplaintType |
withReason(ComplaintReasonType... values) |
ComplaintType |
withSeverity(ComplaintSeverityType value) |
ComplaintType |
withSummary(String value) |
protected String id
protected String summary
protected List<ComplaintReasonType> reason
protected ComplaintSeverityType severity
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
public String getSummary()
Stringpublic void setSummary(String value)
value - allowed object is
Stringpublic boolean isSetSummary()
public List<ComplaintReasonType> getReason()
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 reason property.
For example, to add a new item, do as follows:
getReason().add(newItem);
Objects of the following type(s) are allowed in the list
ComplaintReasonType
public boolean isSetReason()
public void unsetReason()
public ComplaintSeverityType getSeverity()
ComplaintSeverityTypepublic void setSeverity(ComplaintSeverityType value)
value - allowed object is
ComplaintSeverityTypepublic boolean isSetSeverity()
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic ComplaintType withId(String value)
public ComplaintType withSummary(String value)
public ComplaintType withReason(ComplaintReasonType... values)
public ComplaintType withReason(Collection<ComplaintReasonType> values)
public ComplaintType withSeverity(ComplaintSeverityType value)
Copyright © 2015. All Rights Reserved.