public class TransportMeansType 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 Means. Details</ccts:DictionaryEntryName><ccts:Definition>The particular vehicle used for the transport of goods or persons.</ccts:Definition><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:AlternativeBusinessTerms>Conveyance</ccts:AlternativeBusinessTerms></ccts:Component>
Java class for TransportMeansType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TransportMeansType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}JourneyID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RegistrationNationalityID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RegistrationNationality" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DirectionCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Stowage" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AirTransport" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RoadTransport" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RailTransport" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MaritimeTransport" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OwnerParty" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
TransportMeansType()
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
|
AirTransportType |
getAirTransport()
<?
|
DirectionCodeType |
getDirectionCode()
<?
|
String |
getDirectionCodeValue()
Get the value of the contained DirectionCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
JourneyIDType |
getJourneyID()
<?
|
String |
getJourneyIDValue()
Get the value of the contained JourneyIDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
MaritimeTransportType |
getMaritimeTransport()
<?
|
PartyType |
getOwnerParty()
<?
|
RailTransportType |
getRailTransport()
<?
|
List<RegistrationNationalityType> |
getRegistrationNationality()
<?
|
RegistrationNationalityType |
getRegistrationNationalityAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getRegistrationNationalityCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
RegistrationNationalityIDType |
getRegistrationNationalityID()
<?
|
String |
getRegistrationNationalityIDValue()
Get the value of the contained RegistrationNationalityIDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
RoadTransportType |
getRoadTransport()
<?
|
StowageType |
getStowage()
<?
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoRegistrationNationalityEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasRegistrationNationalityEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAirTransport(AirTransportType value)
Sets the value of the airTransport property.
|
void |
setDirectionCode(DirectionCodeType value)
Sets the value of the directionCode property.
|
DirectionCodeType |
setDirectionCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setJourneyID(JourneyIDType value)
Sets the value of the journeyID property.
|
JourneyIDType |
setJourneyID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setMaritimeTransport(MaritimeTransportType value)
Sets the value of the maritimeTransport property.
|
void |
setOwnerParty(PartyType value)
Sets the value of the ownerParty property.
|
void |
setRailTransport(RailTransportType value)
Sets the value of the railTransport property.
|
void |
setRegistrationNationality(List<RegistrationNationalityType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setRegistrationNationalityID(RegistrationNationalityIDType value)
Sets the value of the registrationNationalityID property.
|
RegistrationNationalityIDType |
setRegistrationNationalityID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setRoadTransport(RoadTransportType value)
Sets the value of the roadTransport property.
|
void |
setStowage(StowageType value)
Sets the value of the stowage property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public TransportMeansType()
@Nullable public JourneyIDType getJourneyID()
<?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 Means. Journey Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier assigned to a regularly scheduled service of a means of transport.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTerm>Journey Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:AlternativeBusinessTerms>Voyage Number, Scheduled Conveyance Identifier (WCO ID 205), Flight Number</ccts:AlternativeBusinessTerms></ccts:Component>
JourneyIDTypepublic void setJourneyID(@Nullable JourneyIDType value)
value - allowed object is
JourneyIDType@Nullable public RegistrationNationalityIDType getRegistrationNationalityID()
<?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 Means. Registration_ Nationality Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>Formal identification of the country in which a means of transport is registered.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTermQualifier>Registration</ccts:PropertyTermQualifier><ccts:PropertyTerm>Nationality Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:AlternativeBusinessTerms>Nationality of Means of Transport (WCO 175, 178 and 179)</ccts:AlternativeBusinessTerms><ccts:Examples>"LIB"</ccts:Examples></ccts:Component>
RegistrationNationalityIDTypepublic void setRegistrationNationalityID(@Nullable RegistrationNationalityIDType value)
value - allowed object is
RegistrationNationalityIDType@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<RegistrationNationalityType> getRegistrationNationality()
<?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 Means. Registration_ Nationality. Text</ccts:DictionaryEntryName><ccts:Definition>Name of the country in which a means of transport is registered.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTermQualifier>Registration</ccts:PropertyTermQualifier><ccts:PropertyTerm>Nationality</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:AlternativeBusinessTerms>Flag of Vessel, Nationality of Ship</ccts:AlternativeBusinessTerms><ccts:Examples>Liberia</ccts:Examples></ccts:Component>Gets the value of the registrationNationality 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 registrationNationality property.
For example, to add a new item, do as follows:
getRegistrationNationality().add(newItem);
Objects of the following type(s) are allowed in the list
RegistrationNationalityType
@Nullable public DirectionCodeType getDirectionCode()
<?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 Means. Direction Code. Code</ccts:DictionaryEntryName><ccts:Definition>The direction of the transport means.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTerm>Direction Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType><ccts:AlternativeBusinessTerms>Transit Direction</ccts:AlternativeBusinessTerms><ccts:Examples>"North","East"</ccts:Examples></ccts:Component>
DirectionCodeTypepublic void setDirectionCode(@Nullable DirectionCodeType value)
value - allowed object is
DirectionCodeType@Nullable public StowageType getStowage()
<?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 Means. Stowage</ccts:DictionaryEntryName><ccts:Definition>Association to a location on board a means of transport where specified goods or transport equipment have been or are to be stowed.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTerm>Stowage</ccts:PropertyTerm><ccts:AssociatedObjectClass>Stowage</ccts:AssociatedObjectClass></ccts:Component>
StowageTypepublic void setStowage(@Nullable StowageType value)
value - allowed object is
StowageType@Nullable public AirTransportType getAirTransport()
<?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 Means. Air Transport</ccts:DictionaryEntryName><ccts:Definition>Association to identify an aircraft.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTerm>Air Transport</ccts:PropertyTerm><ccts:AssociatedObjectClass>Air Transport</ccts:AssociatedObjectClass></ccts:Component>
AirTransportTypepublic void setAirTransport(@Nullable AirTransportType value)
value - allowed object is
AirTransportType@Nullable public RoadTransportType getRoadTransport()
<?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 Means. Road Transport</ccts:DictionaryEntryName><ccts:Definition>Association to identify a road vehicle.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTerm>Road Transport</ccts:PropertyTerm><ccts:AssociatedObjectClass>Road Transport</ccts:AssociatedObjectClass></ccts:Component>
RoadTransportTypepublic void setRoadTransport(@Nullable RoadTransportType value)
value - allowed object is
RoadTransportType@Nullable public RailTransportType getRailTransport()
<?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 Means. Rail Transport</ccts:DictionaryEntryName><ccts:Definition>Association to identify a train.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTerm>Rail Transport</ccts:PropertyTerm><ccts:AssociatedObjectClass>Rail Transport</ccts:AssociatedObjectClass></ccts:Component>
RailTransportTypepublic void setRailTransport(@Nullable RailTransportType value)
value - allowed object is
RailTransportType@Nullable public MaritimeTransportType getMaritimeTransport()
<?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 Means. Maritime Transport</ccts:DictionaryEntryName><ccts:Definition>Association to identify a ship.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTerm>Maritime Transport</ccts:PropertyTerm><ccts:AssociatedObjectClass>Maritime Transport</ccts:AssociatedObjectClass></ccts:Component>
MaritimeTransportTypepublic void setMaritimeTransport(@Nullable MaritimeTransportType value)
value - allowed object is
MaritimeTransportType@Nullable public PartyType getOwnerParty()
<?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 Means. Owner_ Party. Party</ccts:DictionaryEntryName><ccts:Definition>Association to the party owning the means of transport.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Transport Means</ccts:ObjectClass><ccts:PropertyTermQualifier>Owner</ccts:PropertyTermQualifier><ccts:PropertyTerm>Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Party</ccts:AssociatedObjectClass></ccts:Component>
PartyTypepublic void setOwnerParty(@Nullable PartyType value)
value - allowed object is
PartyTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setRegistrationNationality(@Nullable List<RegistrationNationalityType> aList)
aList - The new list member to set. May be null.public boolean hasRegistrationNationalityEntries()
true if at least one item is contained, false otherwise.public boolean hasNoRegistrationNationalityEntries()
true if no item is contained, false otherwise.@Nonnegative public int getRegistrationNationalityCount()
@Nullable public RegistrationNationalityType getRegistrationNationalityAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public JourneyIDType setJourneyID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public RegistrationNationalityIDType setRegistrationNationalityID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public DirectionCodeType setDirectionCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getJourneyIDValue()
null@Nullable public String getRegistrationNationalityIDValue()
nullCopyright © 2014 Philip Helger. All rights reserved.