@CodingStyleguideUnaware public class DocumentResponseType 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>Document Response. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe an application-level response to a document.</ccts:Definition><ccts:ObjectClass>Document Response</ccts:ObjectClass></ccts:Component>
Java class for DocumentResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DocumentResponseType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Response"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}DocumentReference" maxOccurs="unbounded"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}IssuerParty" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RecipientParty" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LineResponse" 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 |
|---|
DocumentResponseType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addDocumentReference(DocumentReferenceType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addLineResponse(LineResponseType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
DocumentResponseType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(DocumentResponseType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<DocumentReferenceType> |
getDocumentReference()
<?
|
DocumentReferenceType |
getDocumentReferenceAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDocumentReferenceCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
PartyType |
getIssuerParty()
<?
|
List<LineResponseType> |
getLineResponse()
<?
|
LineResponseType |
getLineResponseAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getLineResponseCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
PartyType |
getRecipientParty()
<?
|
ResponseType |
getResponse()
<?
|
boolean |
hasDocumentReferenceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasLineResponseEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoDocumentReferenceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoLineResponseEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDocumentReference(List<DocumentReferenceType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setIssuerParty(PartyType value)
Sets the value of the issuerParty property.
|
void |
setLineResponse(List<LineResponseType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setRecipientParty(PartyType value)
Sets the value of the recipientParty property.
|
void |
setResponse(ResponseType value)
Sets the value of the response property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public DocumentResponseType()
@Nullable public ResponseType getResponse()
<?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>Document Response. Response</ccts:DictionaryEntryName><ccts:Definition>A response to the document as a whole.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Document Response</ccts:ObjectClass><ccts:PropertyTerm>Response</ccts:PropertyTerm><ccts:AssociatedObjectClass>Response</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Response</ccts:RepresentationTerm></ccts:Component>
ResponseTypepublic void setResponse(@Nullable ResponseType value)
value - allowed object is
ResponseType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<DocumentReferenceType> getDocumentReference()
<?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>Document Response. Document Reference</ccts:DictionaryEntryName><ccts:Definition>A referenced document.</ccts:Definition><ccts:Cardinality>1..n</ccts:Cardinality><ccts:ObjectClass>Document Response</ccts:ObjectClass><ccts:PropertyTerm>Document Reference</ccts:PropertyTerm><ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm></ccts:Component>Gets the value of the documentReference 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 documentReference property.
For example, to add a new item, do as follows:
getDocumentReference().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentReferenceType
@Nullable public PartyType getIssuerParty()
<?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>Document Response. Issuer_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>The party that issued the document.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Document Response</ccts:ObjectClass><ccts:PropertyTermQualifier>Issuer</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Party</ccts:RepresentationTerm></ccts:Component>
PartyTypepublic void setIssuerParty(@Nullable PartyType value)
value - allowed object is
PartyType@Nullable public PartyType getRecipientParty()
<?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>Document Response. Recipient_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>The party for which the document is intended.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Document Response</ccts:ObjectClass><ccts:PropertyTermQualifier>Recipient</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Party</ccts:RepresentationTerm></ccts:Component>
PartyTypepublic void setRecipientParty(@Nullable PartyType value)
value - allowed object is
PartyType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<LineResponseType> getLineResponse()
<?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>Document Response. Line Response</ccts:DictionaryEntryName><ccts:Definition>A response to a particular line in the document.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Document Response</ccts:ObjectClass><ccts:PropertyTerm>Line Response</ccts:PropertyTerm><ccts:AssociatedObjectClass>Line Response</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Line Response</ccts:RepresentationTerm></ccts:Component>Gets the value of the lineResponse 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 lineResponse property.
For example, to add a new item, do as follows:
getLineResponse().add(newItem);
Objects of the following type(s) are allowed in the list
LineResponseType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setDocumentReference(@Nullable List<DocumentReferenceType> aList)
aList - The new list member to set. May be null.public void setLineResponse(@Nullable List<LineResponseType> aList)
aList - The new list member to set. May be null.public boolean hasDocumentReferenceEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDocumentReferenceEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDocumentReferenceCount()
@Nullable public DocumentReferenceType getDocumentReferenceAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDocumentReference(@Nonnull DocumentReferenceType elem)
elem - The element to be added. May not be null.public boolean hasLineResponseEntries()
true if at least one item is contained, false otherwise.public boolean hasNoLineResponseEntries()
true if no item is contained, false otherwise.@Nonnegative public int getLineResponseCount()
@Nullable public LineResponseType getLineResponseAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addLineResponse(@Nonnull LineResponseType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull DocumentResponseType 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 DocumentResponseType clone()
Copyright © 2014–2020 Philip Helger. All rights reserved.