All Downloads are FREE. Search and download functionalities are using the official Maven repository.

oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.TransportEventType Maven / Gradle / Ivy


package oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import com.phloc.commons.annotations.ReturnsMutableObject;
import com.phloc.commons.equals.EqualsUtils;
import com.phloc.commons.hash.HashCodeGenerator;
import com.phloc.commons.string.ToStringGenerator;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CompletionIndicatorType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DescriptionType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IdentificationIDType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.OccurrenceDateType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.OccurrenceTimeType;
import oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TransportEventTypeCodeType;


/**
 * 
 * 
 * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Details</ccts:DictionaryEntryName><ccts:Definition>A significant occurrence or happening related to the transportation of goods.</ccts:Definition><ccts:ObjectClass>Transport Event</ccts:ObjectClass></ccts:Component>
 * 
* * *

Java class for TransportEventType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TransportEventType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IdentificationID" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OccurrenceDate" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OccurrenceTime" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TransportEventTypeCode" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CompletionIndicator" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ReportedShipment" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CurrentStatus" maxOccurs="unbounded"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contact" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TransportEventType", propOrder = { "identificationID", "occurrenceDate", "occurrenceTime", "transportEventTypeCode", "description", "completionIndicator", "reportedShipment", "currentStatus", "contact" }) public class TransportEventType implements Serializable { @XmlElement(name = "IdentificationID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private IdentificationIDType identificationID; @XmlElement(name = "OccurrenceDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private OccurrenceDateType occurrenceDate; @XmlElement(name = "OccurrenceTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private OccurrenceTimeType occurrenceTime; @XmlElement(name = "TransportEventTypeCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private TransportEventTypeCodeType transportEventTypeCode; @XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private DescriptionType description; @XmlElement(name = "CompletionIndicator", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") private CompletionIndicatorType completionIndicator; @XmlElement(name = "ReportedShipment") private ShipmentType reportedShipment; @XmlElement(name = "CurrentStatus", required = true) private List currentStatus; @XmlElement(name = "Contact") private List contact; /** * Default constructor * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * */ public TransportEventType() { } /** * *
     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Identification. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for the event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTerm>Identification</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link IdentificationIDType } * */ @Nullable public IdentificationIDType getIdentificationID() { return identificationID; } /** * Sets the value of the identificationID property. * * @param value * allowed object is * {@link IdentificationIDType } * */ public void setIdentificationID( @Nullable IdentificationIDType value) { this.identificationID = value; } /** * *
     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Occurrence Date. Date</ccts:DictionaryEntryName><ccts:Definition>The date of an occurrence of the event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTerm>Occurrence Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link OccurrenceDateType } * */ @Nullable public OccurrenceDateType getOccurrenceDate() { return occurrenceDate; } /** * Sets the value of the occurrenceDate property. * * @param value * allowed object is * {@link OccurrenceDateType } * */ public void setOccurrenceDate( @Nullable OccurrenceDateType value) { this.occurrenceDate = value; } /** * *
     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Occurrence Time. Time</ccts:DictionaryEntryName><ccts:Definition>The time of an occurrence of the event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTerm>Occurrence Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link OccurrenceTimeType } * */ @Nullable public OccurrenceTimeType getOccurrenceTime() { return occurrenceTime; } /** * Sets the value of the occurrenceTime property. * * @param value * allowed object is * {@link OccurrenceTimeType } * */ public void setOccurrenceTime( @Nullable OccurrenceTimeType value) { this.occurrenceTime = value; } /** * *
     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Transport Event Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code specifying the type of event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTerm>Transport Event Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link TransportEventTypeCodeType } * */ @Nullable public TransportEventTypeCodeType getTransportEventTypeCode() { return transportEventTypeCode; } /** * Sets the value of the transportEventTypeCode property. * * @param value * allowed object is * {@link TransportEventTypeCodeType } * */ public void setTransportEventTypeCode( @Nullable TransportEventTypeCodeType value) { this.transportEventTypeCode = value; } /** * *
     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Description. Text</ccts:DictionaryEntryName><ccts:Definition>A textual description of the event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTerm>Description</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link DescriptionType } * */ @Nullable public DescriptionType getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link DescriptionType } * */ public void setDescription( @Nullable DescriptionType value) { this.description = value; } /** * *
     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Completion_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates if this event is completed.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTermQualifier>Completion</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
     * 
* * * @return * possible object is * {@link CompletionIndicatorType } * */ @Nullable public CompletionIndicatorType getCompletionIndicator() { return completionIndicator; } /** * Sets the value of the completionIndicator property. * * @param value * allowed object is * {@link CompletionIndicatorType } * */ public void setCompletionIndicator( @Nullable CompletionIndicatorType value) { this.completionIndicator = value; } /** * *
     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Reported_ Shipment. Shipment</ccts:DictionaryEntryName><ccts:Definition>Information about the separately identifiable collection of goods items (available to be) transported from one consignor to one consignee via one or more modes of transport.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTermQualifier>Reported</ccts:PropertyTermQualifier><ccts:PropertyTerm>Shipment</ccts:PropertyTerm><ccts:AssociatedObjectClass>Shipment</ccts:AssociatedObjectClass></ccts:Component>
     * 
* * * @return * possible object is * {@link ShipmentType } * */ @Nullable public ShipmentType getReportedShipment() { return reportedShipment; } /** * Sets the value of the reportedShipment property. * * @param value * allowed object is * {@link ShipmentType } * */ public void setReportedShipment( @Nullable ShipmentType value) { this.reportedShipment = value; } /** * *
     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Current_ Status. Status</ccts:DictionaryEntryName><ccts:Definition>The status of the event.</ccts:Definition><ccts:Cardinality>1..n</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTermQualifier>Current</ccts:PropertyTermQualifier><ccts:PropertyTerm>Status</ccts:PropertyTerm><ccts:AssociatedObjectClass>Status</ccts:AssociatedObjectClass></ccts:Component>
     * 
* Gets the value of the currentStatus 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 currentStatus property. * *

* For example, to add a new item, do as follows: *

     *    getCurrentStatus().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link StatusType } * * */ @Nonnull @ReturnsMutableObject(reason = "JAXB implementation style") public List getCurrentStatus() { if (currentStatus == null) { currentStatus = new ArrayList(); } return this.currentStatus; } /** * *

     * <?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:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Transport Event. Contact</ccts:DictionaryEntryName><ccts:Definition>Any contacts for the event.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Transport Event</ccts:ObjectClass><ccts:PropertyTerm>Contact</ccts:PropertyTerm><ccts:AssociatedObjectClass>Contact</ccts:AssociatedObjectClass></ccts:Component>
     * 
* Gets the value of the contact 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 contact property. * *

* For example, to add a new item, do as follows: *

     *    getContact().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ContactType } * * */ @Nonnull @ReturnsMutableObject(reason = "JAXB implementation style") public List getContact() { if (contact == null) { contact = new ArrayList(); } return this.contact; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public boolean equals(final Object o) { if (o == this) { return true; } if ((o == null)||(!getClass().equals(o.getClass()))) { return false; } final TransportEventType rhs = ((TransportEventType) o); if (!EqualsUtils.equals(identificationID, rhs.identificationID)) { return false; } if (!EqualsUtils.equals(occurrenceDate, rhs.occurrenceDate)) { return false; } if (!EqualsUtils.equals(occurrenceTime, rhs.occurrenceTime)) { return false; } if (!EqualsUtils.equals(transportEventTypeCode, rhs.transportEventTypeCode)) { return false; } if (!EqualsUtils.equals(description, rhs.description)) { return false; } if (!EqualsUtils.equals(completionIndicator, rhs.completionIndicator)) { return false; } if (!EqualsUtils.equals(reportedShipment, rhs.reportedShipment)) { return false; } if (!EqualsUtils.equals(currentStatus, rhs.currentStatus)) { return false; } if (!EqualsUtils.equals(contact, rhs.contact)) { return false; } return true; } /** * Created by phloc-jaxb22-plugin -Xphloc-equalshashcode * */ @Override public int hashCode() { return new HashCodeGenerator(this).append(identificationID).append(occurrenceDate).append(occurrenceTime).append(transportEventTypeCode).append(description).append(completionIndicator).append(reportedShipment).append(currentStatus).append(contact).getHashCode(); } /** * Created by phloc-jaxb22-plugin -Xphloc-tostring * */ @Override public String toString() { return new ToStringGenerator(this).append("identificationID", identificationID).append("occurrenceDate", occurrenceDate).append("occurrenceTime", occurrenceTime).append("transportEventTypeCode", transportEventTypeCode).append("description", description).append("completionIndicator", completionIndicator).append("reportedShipment", reportedShipment).append("currentStatus", currentStatus).append("contact", contact).toString(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setCurrentStatus( @Nullable final List aList) { currentStatus = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param aList * The new list member to set. May be null. */ public void setContact( @Nullable final List aList) { contact = aList; } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasCurrentStatusEntries() { return (!getCurrentStatus().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoCurrentStatusEntries() { return getCurrentStatus().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getCurrentStatusCount() { return getCurrentStatus().size(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be null * @throws ArrayIndexOutOfBoundsException * if the index is invalid! */ @Nullable public StatusType getCurrentStatusAtIndex( @Nonnegative final int index) { return getCurrentStatus().get(index); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if at least one item is contained, false otherwise. */ public boolean hasContactEntries() { return (!getContact().isEmpty()); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * true if no item is contained, false otherwise. */ public boolean hasNoContactEntries() { return getContact().isEmpty(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getContactCount() { return getContact().size(); } /** * Created by phloc-jaxb22-plugin -Xphloc-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be null * @throws ArrayIndexOutOfBoundsException * if the index is invalid! */ @Nullable public ContactType getContactAtIndex( @Nonnegative final int index) { return getContact().get(index); } /** * Special setter with value of type boolean * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. * @return * The created intermediary object of type CompletionIndicatorType and never null */ @Nonnull public CompletionIndicatorType setCompletionIndicator(final boolean valueParam) { CompletionIndicatorType aObj = getCompletionIndicator(); if (aObj == null) { aObj = new CompletionIndicatorType(valueParam); setCompletionIndicator(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type XMLGregorianCalendar * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type OccurrenceTimeType and never null */ @Nonnull public OccurrenceTimeType setOccurrenceTime( @Nullable final XMLGregorianCalendar valueParam) { OccurrenceTimeType aObj = getOccurrenceTime(); if (aObj == null) { aObj = new OccurrenceTimeType(valueParam); setOccurrenceTime(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type XMLGregorianCalendar * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type OccurrenceDateType and never null */ @Nonnull public OccurrenceDateType setOccurrenceDate( @Nullable final XMLGregorianCalendar valueParam) { OccurrenceDateType aObj = getOccurrenceDate(); if (aObj == null) { aObj = new OccurrenceDateType(valueParam); setOccurrenceDate(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type DescriptionType and never null */ @Nonnull public DescriptionType setDescription( @Nullable final String valueParam) { DescriptionType aObj = getDescription(); if (aObj == null) { aObj = new DescriptionType(valueParam); setDescription(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type IdentificationIDType and never null */ @Nonnull public IdentificationIDType setIdentificationID( @Nullable final String valueParam) { IdentificationIDType aObj = getIdentificationID(); if (aObj == null) { aObj = new IdentificationIDType(valueParam); setIdentificationID(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Special setter with value of type String * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param valueParam * The value to be set. May be null. * @return * The created intermediary object of type TransportEventTypeCodeType and never null */ @Nonnull public TransportEventTypeCodeType setTransportEventTypeCode( @Nullable final String valueParam) { TransportEventTypeCodeType aObj = getTransportEventTypeCode(); if (aObj == null) { aObj = new TransportEventTypeCodeType(valueParam); setTransportEventTypeCode(aObj); } else { aObj.setValue(valueParam); } return aObj; } /** * Get the value of the contained IdentificationIDType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained IdentificationIDType object or null */ @Nullable public String getIdentificationIDValue() { IdentificationIDType aObj = getIdentificationID(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained OccurrenceDateType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained OccurrenceDateType object or null */ @Nullable public XMLGregorianCalendar getOccurrenceDateValue() { OccurrenceDateType aObj = getOccurrenceDate(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained OccurrenceTimeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained OccurrenceTimeType object or null */ @Nullable public XMLGregorianCalendar getOccurrenceTimeValue() { OccurrenceTimeType aObj = getOccurrenceTime(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained TransportEventTypeCodeType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained TransportEventTypeCodeType object or null */ @Nullable public String getTransportEventTypeCodeValue() { TransportEventTypeCodeType aObj = getTransportEventTypeCode(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained DescriptionType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @return * Either the value of the contained DescriptionType object or null */ @Nullable public String getDescriptionValue() { DescriptionType aObj = getDescription(); return ((aObj == null)?null:aObj.getValue()); } /** * Get the value of the contained CompletionIndicatorType object * Created by phloc-ubl-jaxb-plugin -Xphloc-ubl-value * * @param nullValue * The value to be returned, if the owning object is null





© 2015 - 2024 Weber Informatics LLC | Privacy Policy