public class UserDataConstraintType extends Object
Java class for user-data-constraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="user-data-constraintType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="transport-guarantee" type="{http://java.sun.com/xml/ns/javaee}transport-guaranteeType"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DescriptionType> |
description |
protected String |
id |
protected TransportGuaranteeType |
transportGuarantee |
| Constructor and Description |
|---|
UserDataConstraintType() |
| Modifier and Type | Method and Description |
|---|---|
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
String |
getId()
Gets the value of the id property.
|
TransportGuaranteeType |
getTransportGuarantee()
Gets the value of the transportGuarantee property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setTransportGuarantee(TransportGuaranteeType value)
Sets the value of the transportGuarantee property.
|
UserDataConstraintType |
withDescription(Collection<DescriptionType> values) |
UserDataConstraintType |
withDescription(DescriptionType... values) |
UserDataConstraintType |
withId(String value) |
UserDataConstraintType |
withTransportGuarantee(TransportGuaranteeType value) |
protected List<DescriptionType> description
protected TransportGuaranteeType transportGuarantee
protected String id
public List<DescriptionType> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public TransportGuaranteeType getTransportGuarantee()
TransportGuaranteeTypepublic void setTransportGuarantee(TransportGuaranteeType value)
value - allowed object is
TransportGuaranteeTypepublic void setId(String value)
value - allowed object is
Stringpublic UserDataConstraintType withDescription(DescriptionType... values)
public UserDataConstraintType withDescription(Collection<DescriptionType> values)
public UserDataConstraintType withTransportGuarantee(TransportGuaranteeType value)
public UserDataConstraintType withId(String value)
Copyright © 2020. All rights reserved.