Class StandardBusinessDocumentHeader
- All Implemented Interfaces:
com.helger.base.lang.IExplicitlyCloneable,Serializable,Cloneable
Java class for StandardBusinessDocumentHeader complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="StandardBusinessDocumentHeader">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="HeaderVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Sender" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}Partner" maxOccurs="unbounded"/>
<element name="Receiver" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}Partner" maxOccurs="unbounded"/>
<element name="DocumentIdentification" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}DocumentIdentification"/>
<element name="Manifest" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}Manifest" minOccurs="0"/>
<element name="BusinessScope" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}BusinessScope" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb-plugin -Xph-annotate
This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb-plugin -Xph-tostring
This class contains methods created by ph-jaxb-plugin -Xph-list-extension
This class contains methods created by ph-jaxb-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb-plugin -Xph-value-extender
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor
Note: automatically created by ph-jaxb-plugin -Xph-value-extender -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReceiver(@NonNull Partner elem) Created by ph-jaxb-plugin -Xph-list-extensionvoidCreated by ph-jaxb-plugin -Xph-list-extensionclone()Created by ph-jaxb-plugin -Xph-cloneable2voidThis method clones all values fromthisto the passed object.booleanCreated by ph-jaxb-plugin -Xph-equalshashcode@Nullable BusinessScopeGets the value of the businessScope property.@Nullable DocumentIdentificationGets the value of the documentIdentification property.@Nullable StringGets the value of the headerVersion property.@Nullable ManifestGets the value of the manifest property.Gets the value of the receiver property.@Nullable PartnergetReceiverAtIndex(int index) Created by ph-jaxb-plugin -Xph-list-extensionintCreated by ph-jaxb-plugin -Xph-list-extensionGets the value of the sender property.@Nullable PartnergetSenderAtIndex(int index) Created by ph-jaxb-plugin -Xph-list-extensionintCreated by ph-jaxb-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodebooleanCreated by ph-jaxb-plugin -Xph-list-extensionbooleanCreated by ph-jaxb-plugin -Xph-list-extensionbooleanCreated by ph-jaxb-plugin -Xph-list-extensionbooleanCreated by ph-jaxb-plugin -Xph-list-extensionvoidsetBusinessScope(@Nullable BusinessScope value) Sets the value of the businessScope property.voidsetDocumentIdentification(@Nullable DocumentIdentification value) Sets the value of the documentIdentification property.voidsetHeaderVersion(@Nullable String value) Sets the value of the headerVersion property.voidsetManifest(@Nullable Manifest value) Sets the value of the manifest property.voidsetReceiver(@Nullable List<Partner> aList) Created by ph-jaxb-plugin -Xph-list-extensionvoidCreated by ph-jaxb-plugin -Xph-list-extensiontoString()Created by ph-jaxb-plugin -Xph-tostring
-
Constructor Details
-
StandardBusinessDocumentHeader
public StandardBusinessDocumentHeader()Default constructor
Note: automatically created by ph-jaxb-plugin -Xph-value-extender
-
-
Method Details
-
getHeaderVersion
Gets the value of the headerVersion property.- Returns:
- possible object is
String
-
setHeaderVersion
Sets the value of the headerVersion property.- Parameters:
value- allowed object isString
-
getSender
Gets the value of the sender 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
setmethod for the sender property.For example, to add a new item, do as follows:
getSender().add(newItem);
Objects of the following type(s) are allowed in the list
Partner- Returns:
- The value of the sender property.
-
getReceiver
Gets the value of the receiver 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
setmethod for the receiver property.For example, to add a new item, do as follows:
getReceiver().add(newItem);
Objects of the following type(s) are allowed in the list
Partner- Returns:
- The value of the receiver property.
-
getDocumentIdentification
Gets the value of the documentIdentification property.- Returns:
- possible object is
DocumentIdentification
-
setDocumentIdentification
Sets the value of the documentIdentification property.- Parameters:
value- allowed object isDocumentIdentification
-
getManifest
Gets the value of the manifest property.- Returns:
- possible object is
Manifest
-
setManifest
Sets the value of the manifest property.- Parameters:
value- allowed object isManifest
-
getBusinessScope
Gets the value of the businessScope property.- Returns:
- possible object is
BusinessScope
-
setBusinessScope
Sets the value of the businessScope property.- Parameters:
value- allowed object isBusinessScope
-
equals
Created by ph-jaxb-plugin -Xph-equalshashcode -
hashCode
public int hashCode()Created by ph-jaxb-plugin -Xph-equalshashcode -
toString
Created by ph-jaxb-plugin -Xph-tostring -
setSender
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setReceiver
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasSenderEntries
public boolean hasSenderEntries()Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoSenderEntries
public boolean hasNoSenderEntries()Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getSenderCount
@Nonnegative public int getSenderCount()Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getSenderAtIndex
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addSender
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasReceiverEntries
public boolean hasReceiverEntries()Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoReceiverEntries
public boolean hasNoReceiverEntries()Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getReceiverCount
@Nonnegative public int getReceiverCount()Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getReceiverAtIndex
public @Nullable Partner getReceiverAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addReceiver
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
Created by ph-jaxb-plugin -Xph-cloneable2
-