Class TransportEventType


  • public class TransportEventType
    extends Object

    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" maxOccurs="unbounded" 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" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contact" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Location" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Signature" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Period" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TransportEventType

        public TransportEventType()
    • Method Detail

      • setOccurrenceDate

        public void setOccurrenceDate​(OccurrenceDateType value)
        Sets the value of the occurrenceDate property.
        Parameters:
        value - allowed object is OccurrenceDateType
      • setOccurrenceTime

        public void setOccurrenceTime​(OccurrenceTimeType value)
        Sets the value of the occurrenceTime property.
        Parameters:
        value - allowed object is OccurrenceTimeType
      • getDescription

        public List<DescriptionType> getDescription()
        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

      • getReportedShipment

        public ShipmentType getReportedShipment()
        Gets the value of the reportedShipment property.
        Returns:
        possible object is ShipmentType
      • setReportedShipment

        public void setReportedShipment​(ShipmentType value)
        Sets the value of the reportedShipment property.
        Parameters:
        value - allowed object is ShipmentType
      • getCurrentStatus

        public List<StatusType> getCurrentStatus()
        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 StatusType

      • getContact

        public List<ContactType> getContact()
        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 ContactType

      • getLocation

        public LocationType getLocation()
        Gets the value of the location property.
        Returns:
        possible object is LocationType
      • setLocation

        public void setLocation​(LocationType value)
        Sets the value of the location property.
        Parameters:
        value - allowed object is LocationType
      • getSignature

        public SignatureType getSignature()
        Gets the value of the signature property.
        Returns:
        possible object is SignatureType
      • setSignature

        public void setSignature​(SignatureType value)
        Sets the value of the signature property.
        Parameters:
        value - allowed object is SignatureType
      • getPeriod

        public List<PeriodType> getPeriod()
        Gets the value of the period 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 period property.

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

            getPeriod().add(newItem);
         

        Objects of the following type(s) are allowed in the list PeriodType