@CodingStyleguideUnaware public class ResponseType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Response. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe an application-level response to a document.</ccts:Definition><ccts:ObjectClass>Response</ccts:ObjectClass></ccts:Component>
Java class for ResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResponseType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ReferenceID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ResponseCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EffectiveDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EffectiveTime" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Status" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
ResponseType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addDescription(DescriptionType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addStatus(StatusType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
ResponseType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(ResponseType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<DescriptionType> |
getDescription()
<?
|
DescriptionType |
getDescriptionAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDescriptionCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
EffectiveDateType |
getEffectiveDate()
<?
|
LocalDate |
getEffectiveDateValue()
Get the value of the contained EffectiveDateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
EffectiveTimeType |
getEffectiveTime()
<?
|
LocalTime |
getEffectiveTimeValue()
Get the value of the contained EffectiveTimeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ReferenceIDType |
getReferenceID()
<?
|
String |
getReferenceIDValue()
Get the value of the contained ReferenceIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ResponseCodeType |
getResponseCode()
<?
|
String |
getResponseCodeValue()
Get the value of the contained ResponseCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<StatusType> |
getStatus()
<?
|
StatusType |
getStatusAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getStatusCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoStatusEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasStatusEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDescription(List<DescriptionType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setEffectiveDate(EffectiveDateType value)
Sets the value of the effectiveDate property.
|
EffectiveDateType |
setEffectiveDate(LocalDate valueParam)
Special setter with value of type LocalDate
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setEffectiveTime(EffectiveTimeType value)
Sets the value of the effectiveTime property.
|
EffectiveTimeType |
setEffectiveTime(LocalTime valueParam)
Special setter with value of type LocalTime
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setReferenceID(ReferenceIDType value)
Sets the value of the referenceID property.
|
ReferenceIDType |
setReferenceID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setResponseCode(ResponseCodeType value)
Sets the value of the responseCode property.
|
ResponseCodeType |
setResponseCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setStatus(List<StatusType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public ResponseType()
@Nullable public ReferenceIDType getReferenceID()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Response. Reference. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for the section (or line) of the document to which this response applies.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Response</ccts:ObjectClass><ccts:PropertyTerm>Reference</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
ReferenceIDTypepublic void setReferenceID(@Nullable ReferenceIDType value)
value - allowed object is
ReferenceIDType@Nullable public ResponseCodeType getResponseCode()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Response. Response Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code signifying the type of response.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Response</ccts:ObjectClass><ccts:PropertyTerm>Response Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
ResponseCodeTypepublic void setResponseCode(@Nullable ResponseCodeType value)
value - allowed object is
ResponseCodeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<DescriptionType> getDescription()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Response. Description. Text</ccts:DictionaryEntryName><ccts:Definition>Text describing this response.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Response</ccts:ObjectClass><ccts:PropertyTerm>Description</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>Gets the value of the description 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 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
@Nullable public EffectiveDateType getEffectiveDate()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Response. Effective Date. Date</ccts:DictionaryEntryName><ccts:Definition>The date upon which this response is valid.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Response</ccts:ObjectClass><ccts:PropertyTerm>Effective Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
EffectiveDateTypepublic void setEffectiveDate(@Nullable EffectiveDateType value)
value - allowed object is
EffectiveDateType@Nullable public EffectiveTimeType getEffectiveTime()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Response. Effective Time. Time</ccts:DictionaryEntryName><ccts:Definition>The time at which this response is valid.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Response</ccts:ObjectClass><ccts:PropertyTerm>Effective Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
EffectiveTimeTypepublic void setEffectiveTime(@Nullable EffectiveTimeType value)
value - allowed object is
EffectiveTimeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<StatusType> getStatus()
<?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Response. Status</ccts:DictionaryEntryName><ccts:Definition>A status report associated with this response.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Response</ccts:ObjectClass><ccts:PropertyTerm>Status</ccts:PropertyTerm><ccts:AssociatedObjectClass>Status</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Status</ccts:RepresentationTerm></ccts:Component>Gets the value of the status 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 status property.
For example, to add a new item, do as follows:
getStatus().add(newItem);
Objects of the following type(s) are allowed in the list
StatusType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setDescription(@Nullable List<DescriptionType> aList)
aList - The new list member to set. May be null.public void setStatus(@Nullable List<StatusType> aList)
aList - The new list member to set. May be null.public boolean hasDescriptionEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDescriptionEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDescriptionCount()
@Nullable public DescriptionType getDescriptionAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDescription(@Nonnull DescriptionType elem)
elem - The element to be added. May not be null.public boolean hasStatusEntries()
true if at least one item is contained, false otherwise.public boolean hasNoStatusEntries()
true if no item is contained, false otherwise.@Nonnegative public int getStatusCount()
@Nullable public StatusType getStatusAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addStatus(@Nonnull StatusType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull ResponseType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public ResponseType clone()
@Nonnull public ResponseCodeType setResponseCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public EffectiveDateType setEffectiveDate(@Nullable LocalDate valueParam)
valueParam - The value to be set. May be null.null@Nonnull public EffectiveTimeType setEffectiveTime(@Nullable LocalTime valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ReferenceIDType setReferenceID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getReferenceIDValue()
null@Nullable public String getResponseCodeValue()
null@Nullable public LocalDate getEffectiveDateValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.