public class TransportEventType extends Object implements Serializable
<?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>
| Constructor and Description |
|---|
TransportEventType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
CompletionIndicatorType |
getCompletionIndicator()
<?
|
List<ContactType> |
getContact()
<?
|
ContactType |
getContactAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getContactCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<StatusType> |
getCurrentStatus()
<?
|
StatusType |
getCurrentStatusAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getCurrentStatusCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
DescriptionType |
getDescription()
<?
|
String |
getDescriptionValue()
Get the value of the contained DescriptionType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
IdentificationIDType |
getIdentificationID()
<?
|
String |
getIdentificationIDValue()
Get the value of the contained IdentificationIDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
OccurrenceDateType |
getOccurrenceDate()
<?
|
XMLGregorianCalendar |
getOccurrenceDateValue()
Get the value of the contained OccurrenceDateType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
OccurrenceTimeType |
getOccurrenceTime()
<?
|
XMLGregorianCalendar |
getOccurrenceTimeValue()
Get the value of the contained OccurrenceTimeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
ShipmentType |
getReportedShipment()
<?
|
TransportEventTypeCodeType |
getTransportEventTypeCode()
<?
|
String |
getTransportEventTypeCodeValue()
Get the value of the contained TransportEventTypeCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
boolean |
hasContactEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasCurrentStatusEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoContactEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoCurrentStatusEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
isCompletionIndicatorValue(boolean nullValue)
Get the value of the contained CompletionIndicatorType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
CompletionIndicatorType |
setCompletionIndicator(boolean valueParam)
Special setter with value of type boolean
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setCompletionIndicator(CompletionIndicatorType value)
Sets the value of the completionIndicator property.
|
void |
setContact(List<ContactType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setCurrentStatus(List<StatusType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDescription(DescriptionType value)
Sets the value of the description property.
|
DescriptionType |
setDescription(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setIdentificationID(IdentificationIDType value)
Sets the value of the identificationID property.
|
IdentificationIDType |
setIdentificationID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setOccurrenceDate(OccurrenceDateType value)
Sets the value of the occurrenceDate property.
|
OccurrenceDateType |
setOccurrenceDate(XMLGregorianCalendar valueParam)
Special setter with value of type XMLGregorianCalendar
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setOccurrenceTime(OccurrenceTimeType value)
Sets the value of the occurrenceTime property.
|
OccurrenceTimeType |
setOccurrenceTime(XMLGregorianCalendar valueParam)
Special setter with value of type XMLGregorianCalendar
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setReportedShipment(ShipmentType value)
Sets the value of the reportedShipment property.
|
TransportEventTypeCodeType |
setTransportEventTypeCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setTransportEventTypeCode(TransportEventTypeCodeType value)
Sets the value of the transportEventTypeCode property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TransportEventType()
@Nullable public IdentificationIDType getIdentificationID()
<?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>
IdentificationIDTypepublic void setIdentificationID(@Nullable IdentificationIDType value)
value - allowed object is
IdentificationIDType@Nullable public OccurrenceDateType getOccurrenceDate()
<?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>
OccurrenceDateTypepublic void setOccurrenceDate(@Nullable OccurrenceDateType value)
value - allowed object is
OccurrenceDateType@Nullable public OccurrenceTimeType getOccurrenceTime()
<?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>
OccurrenceTimeTypepublic void setOccurrenceTime(@Nullable OccurrenceTimeType value)
value - allowed object is
OccurrenceTimeType@Nullable public TransportEventTypeCodeType getTransportEventTypeCode()
<?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>
TransportEventTypeCodeTypepublic void setTransportEventTypeCode(@Nullable TransportEventTypeCodeType value)
value - allowed object is
TransportEventTypeCodeType@Nullable public 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: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>
DescriptionTypepublic void setDescription(@Nullable DescriptionType value)
value - allowed object is
DescriptionType@Nullable public CompletionIndicatorType getCompletionIndicator()
<?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>
CompletionIndicatorTypepublic void setCompletionIndicator(@Nullable CompletionIndicatorType value)
value - allowed object is
CompletionIndicatorType@Nullable public ShipmentType getReportedShipment()
<?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>
ShipmentTypepublic void setReportedShipment(@Nullable ShipmentType value)
value - allowed object is
ShipmentType@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<StatusType> getCurrentStatus()
<?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
StatusType
@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<ContactType> getContact()
<?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
ContactType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setCurrentStatus(@Nullable List<StatusType> aList)
aList - The new list member to set. May be null.public void setContact(@Nullable List<ContactType> aList)
aList - The new list member to set. May be null.public boolean hasCurrentStatusEntries()
true if at least one item is contained, false otherwise.public boolean hasNoCurrentStatusEntries()
true if no item is contained, false otherwise.@Nonnegative public int getCurrentStatusCount()
@Nullable public StatusType getCurrentStatusAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!public boolean hasContactEntries()
true if at least one item is contained, false otherwise.public boolean hasNoContactEntries()
true if no item is contained, false otherwise.@Nonnegative public int getContactCount()
@Nullable public ContactType getContactAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public CompletionIndicatorType setCompletionIndicator(boolean valueParam)
valueParam - The value to be set.null@Nonnull public OccurrenceTimeType setOccurrenceTime(@Nullable XMLGregorianCalendar valueParam)
valueParam - The value to be set. May be null.null@Nonnull public OccurrenceDateType setOccurrenceDate(@Nullable XMLGregorianCalendar valueParam)
valueParam - The value to be set. May be null.null@Nonnull public DescriptionType setDescription(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IdentificationIDType setIdentificationID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public TransportEventTypeCodeType setTransportEventTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIdentificationIDValue()
null@Nullable public XMLGregorianCalendar getOccurrenceDateValue()
null@Nullable public XMLGregorianCalendar getOccurrenceTimeValue()
null@Nullable public String getTransportEventTypeCodeValue()
null@Nullable public String getDescriptionValue()
nullpublic boolean isCompletionIndicatorValue(boolean nullValue)
nullValue - The value to be returned, if the owning object is null
Copyright © 2014 Philip Helger. All rights reserved.