Class TransportMeansType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.TransportMeansType
-
public class TransportMeansType extends Object
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:CommonBasicComponents-2}TransportMeansTypeCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TradeServiceCode" 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"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}MeasurementDimension" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AirTransportTypeairTransportprotected DirectionCodeTypedirectionCodeprotected JourneyIDTypejourneyIDprotected MaritimeTransportTypemaritimeTransportprotected List<DimensionType>measurementDimensionprotected PartyTypeownerPartyprotected RailTransportTyperailTransportprotected List<RegistrationNationalityType>registrationNationalityprotected RegistrationNationalityIDTyperegistrationNationalityIDprotected RoadTransportTyperoadTransportprotected StowageTypestowageprotected TradeServiceCodeTypetradeServiceCodeprotected TransportMeansTypeCodeTypetransportMeansTypeCode
-
Constructor Summary
Constructors Constructor Description TransportMeansType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AirTransportTypegetAirTransport()Gets the value of the airTransport property.DirectionCodeTypegetDirectionCode()Gets the value of the directionCode property.JourneyIDTypegetJourneyID()Gets the value of the journeyID property.MaritimeTransportTypegetMaritimeTransport()Gets the value of the maritimeTransport property.List<DimensionType>getMeasurementDimension()Gets the value of the measurementDimension property.PartyTypegetOwnerParty()Gets the value of the ownerParty property.RailTransportTypegetRailTransport()Gets the value of the railTransport property.List<RegistrationNationalityType>getRegistrationNationality()Gets the value of the registrationNationality property.RegistrationNationalityIDTypegetRegistrationNationalityID()Gets the value of the registrationNationalityID property.RoadTransportTypegetRoadTransport()Gets the value of the roadTransport property.StowageTypegetStowage()Gets the value of the stowage property.TradeServiceCodeTypegetTradeServiceCode()Gets the value of the tradeServiceCode property.TransportMeansTypeCodeTypegetTransportMeansTypeCode()Gets the value of the transportMeansTypeCode property.voidsetAirTransport(AirTransportType value)Sets the value of the airTransport property.voidsetDirectionCode(DirectionCodeType value)Sets the value of the directionCode property.voidsetJourneyID(JourneyIDType value)Sets the value of the journeyID property.voidsetMaritimeTransport(MaritimeTransportType value)Sets the value of the maritimeTransport property.voidsetOwnerParty(PartyType value)Sets the value of the ownerParty property.voidsetRailTransport(RailTransportType value)Sets the value of the railTransport property.voidsetRegistrationNationalityID(RegistrationNationalityIDType value)Sets the value of the registrationNationalityID property.voidsetRoadTransport(RoadTransportType value)Sets the value of the roadTransport property.voidsetStowage(StowageType value)Sets the value of the stowage property.voidsetTradeServiceCode(TradeServiceCodeType value)Sets the value of the tradeServiceCode property.voidsetTransportMeansTypeCode(TransportMeansTypeCodeType value)Sets the value of the transportMeansTypeCode property.
-
-
-
Field Detail
-
journeyID
protected JourneyIDType journeyID
-
registrationNationalityID
protected RegistrationNationalityIDType registrationNationalityID
-
registrationNationality
protected List<RegistrationNationalityType> registrationNationality
-
directionCode
protected DirectionCodeType directionCode
-
transportMeansTypeCode
protected TransportMeansTypeCodeType transportMeansTypeCode
-
tradeServiceCode
protected TradeServiceCodeType tradeServiceCode
-
stowage
protected StowageType stowage
-
airTransport
protected AirTransportType airTransport
-
roadTransport
protected RoadTransportType roadTransport
-
railTransport
protected RailTransportType railTransport
-
maritimeTransport
protected MaritimeTransportType maritimeTransport
-
ownerParty
protected PartyType ownerParty
-
measurementDimension
protected List<DimensionType> measurementDimension
-
-
Method Detail
-
getJourneyID
public JourneyIDType getJourneyID()
Gets the value of the journeyID property.- Returns:
- possible object is
JourneyIDType
-
setJourneyID
public void setJourneyID(JourneyIDType value)
Sets the value of the journeyID property.- Parameters:
value- allowed object isJourneyIDType
-
getRegistrationNationalityID
public RegistrationNationalityIDType getRegistrationNationalityID()
Gets the value of the registrationNationalityID property.- Returns:
- possible object is
RegistrationNationalityIDType
-
setRegistrationNationalityID
public void setRegistrationNationalityID(RegistrationNationalityIDType value)
Sets the value of the registrationNationalityID property.- Parameters:
value- allowed object isRegistrationNationalityIDType
-
getRegistrationNationality
public List<RegistrationNationalityType> getRegistrationNationality()
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
setmethod 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
-
getDirectionCode
public DirectionCodeType getDirectionCode()
Gets the value of the directionCode property.- Returns:
- possible object is
DirectionCodeType
-
setDirectionCode
public void setDirectionCode(DirectionCodeType value)
Sets the value of the directionCode property.- Parameters:
value- allowed object isDirectionCodeType
-
getTransportMeansTypeCode
public TransportMeansTypeCodeType getTransportMeansTypeCode()
Gets the value of the transportMeansTypeCode property.- Returns:
- possible object is
TransportMeansTypeCodeType
-
setTransportMeansTypeCode
public void setTransportMeansTypeCode(TransportMeansTypeCodeType value)
Sets the value of the transportMeansTypeCode property.- Parameters:
value- allowed object isTransportMeansTypeCodeType
-
getTradeServiceCode
public TradeServiceCodeType getTradeServiceCode()
Gets the value of the tradeServiceCode property.- Returns:
- possible object is
TradeServiceCodeType
-
setTradeServiceCode
public void setTradeServiceCode(TradeServiceCodeType value)
Sets the value of the tradeServiceCode property.- Parameters:
value- allowed object isTradeServiceCodeType
-
getStowage
public StowageType getStowage()
Gets the value of the stowage property.- Returns:
- possible object is
StowageType
-
setStowage
public void setStowage(StowageType value)
Sets the value of the stowage property.- Parameters:
value- allowed object isStowageType
-
getAirTransport
public AirTransportType getAirTransport()
Gets the value of the airTransport property.- Returns:
- possible object is
AirTransportType
-
setAirTransport
public void setAirTransport(AirTransportType value)
Sets the value of the airTransport property.- Parameters:
value- allowed object isAirTransportType
-
getRoadTransport
public RoadTransportType getRoadTransport()
Gets the value of the roadTransport property.- Returns:
- possible object is
RoadTransportType
-
setRoadTransport
public void setRoadTransport(RoadTransportType value)
Sets the value of the roadTransport property.- Parameters:
value- allowed object isRoadTransportType
-
getRailTransport
public RailTransportType getRailTransport()
Gets the value of the railTransport property.- Returns:
- possible object is
RailTransportType
-
setRailTransport
public void setRailTransport(RailTransportType value)
Sets the value of the railTransport property.- Parameters:
value- allowed object isRailTransportType
-
getMaritimeTransport
public MaritimeTransportType getMaritimeTransport()
Gets the value of the maritimeTransport property.- Returns:
- possible object is
MaritimeTransportType
-
setMaritimeTransport
public void setMaritimeTransport(MaritimeTransportType value)
Sets the value of the maritimeTransport property.- Parameters:
value- allowed object isMaritimeTransportType
-
getOwnerParty
public PartyType getOwnerParty()
Gets the value of the ownerParty property.- Returns:
- possible object is
PartyType
-
setOwnerParty
public void setOwnerParty(PartyType value)
Sets the value of the ownerParty property.- Parameters:
value- allowed object isPartyType
-
getMeasurementDimension
public List<DimensionType> getMeasurementDimension()
Gets the value of the measurementDimension 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 measurementDimension property.For example, to add a new item, do as follows:
getMeasurementDimension().add(newItem);Objects of the following type(s) are allowed in the list
DimensionType
-
-