Class MaritimeTransportType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.MaritimeTransportType
-
public class MaritimeTransportType extends Object
Java class for MaritimeTransportType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MaritimeTransportType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}VesselID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}VesselName" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RadioCallSignID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ShipsRequirements" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}GrossTonnageMeasure" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}NetTonnageMeasure" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RegistryCertificateDocumentReference" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}RegistryPortLocation" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected GrossTonnageMeasureTypegrossTonnageMeasureprotected NetTonnageMeasureTypenetTonnageMeasureprotected RadioCallSignIDTyperadioCallSignIDprotected DocumentReferenceTyperegistryCertificateDocumentReferenceprotected LocationTyperegistryPortLocationprotected List<ShipsRequirementsType>shipsRequirementsprotected VesselIDTypevesselIDprotected VesselNameTypevesselName
-
Constructor Summary
Constructors Constructor Description MaritimeTransportType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrossTonnageMeasureTypegetGrossTonnageMeasure()Gets the value of the grossTonnageMeasure property.NetTonnageMeasureTypegetNetTonnageMeasure()Gets the value of the netTonnageMeasure property.RadioCallSignIDTypegetRadioCallSignID()Gets the value of the radioCallSignID property.DocumentReferenceTypegetRegistryCertificateDocumentReference()Gets the value of the registryCertificateDocumentReference property.LocationTypegetRegistryPortLocation()Gets the value of the registryPortLocation property.List<ShipsRequirementsType>getShipsRequirements()Gets the value of the shipsRequirements property.VesselIDTypegetVesselID()Gets the value of the vesselID property.VesselNameTypegetVesselName()Gets the value of the vesselName property.voidsetGrossTonnageMeasure(GrossTonnageMeasureType value)Sets the value of the grossTonnageMeasure property.voidsetNetTonnageMeasure(NetTonnageMeasureType value)Sets the value of the netTonnageMeasure property.voidsetRadioCallSignID(RadioCallSignIDType value)Sets the value of the radioCallSignID property.voidsetRegistryCertificateDocumentReference(DocumentReferenceType value)Sets the value of the registryCertificateDocumentReference property.voidsetRegistryPortLocation(LocationType value)Sets the value of the registryPortLocation property.voidsetVesselID(VesselIDType value)Sets the value of the vesselID property.voidsetVesselName(VesselNameType value)Sets the value of the vesselName property.
-
-
-
Field Detail
-
vesselID
protected VesselIDType vesselID
-
vesselName
protected VesselNameType vesselName
-
radioCallSignID
protected RadioCallSignIDType radioCallSignID
-
shipsRequirements
protected List<ShipsRequirementsType> shipsRequirements
-
grossTonnageMeasure
protected GrossTonnageMeasureType grossTonnageMeasure
-
netTonnageMeasure
protected NetTonnageMeasureType netTonnageMeasure
-
registryCertificateDocumentReference
protected DocumentReferenceType registryCertificateDocumentReference
-
registryPortLocation
protected LocationType registryPortLocation
-
-
Method Detail
-
getVesselID
public VesselIDType getVesselID()
Gets the value of the vesselID property.- Returns:
- possible object is
VesselIDType
-
setVesselID
public void setVesselID(VesselIDType value)
Sets the value of the vesselID property.- Parameters:
value- allowed object isVesselIDType
-
getVesselName
public VesselNameType getVesselName()
Gets the value of the vesselName property.- Returns:
- possible object is
VesselNameType
-
setVesselName
public void setVesselName(VesselNameType value)
Sets the value of the vesselName property.- Parameters:
value- allowed object isVesselNameType
-
getRadioCallSignID
public RadioCallSignIDType getRadioCallSignID()
Gets the value of the radioCallSignID property.- Returns:
- possible object is
RadioCallSignIDType
-
setRadioCallSignID
public void setRadioCallSignID(RadioCallSignIDType value)
Sets the value of the radioCallSignID property.- Parameters:
value- allowed object isRadioCallSignIDType
-
getShipsRequirements
public List<ShipsRequirementsType> getShipsRequirements()
Gets the value of the shipsRequirements 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 shipsRequirements property.For example, to add a new item, do as follows:
getShipsRequirements().add(newItem);Objects of the following type(s) are allowed in the list
ShipsRequirementsType
-
getGrossTonnageMeasure
public GrossTonnageMeasureType getGrossTonnageMeasure()
Gets the value of the grossTonnageMeasure property.- Returns:
- possible object is
GrossTonnageMeasureType
-
setGrossTonnageMeasure
public void setGrossTonnageMeasure(GrossTonnageMeasureType value)
Sets the value of the grossTonnageMeasure property.- Parameters:
value- allowed object isGrossTonnageMeasureType
-
getNetTonnageMeasure
public NetTonnageMeasureType getNetTonnageMeasure()
Gets the value of the netTonnageMeasure property.- Returns:
- possible object is
NetTonnageMeasureType
-
setNetTonnageMeasure
public void setNetTonnageMeasure(NetTonnageMeasureType value)
Sets the value of the netTonnageMeasure property.- Parameters:
value- allowed object isNetTonnageMeasureType
-
getRegistryCertificateDocumentReference
public DocumentReferenceType getRegistryCertificateDocumentReference()
Gets the value of the registryCertificateDocumentReference property.- Returns:
- possible object is
DocumentReferenceType
-
setRegistryCertificateDocumentReference
public void setRegistryCertificateDocumentReference(DocumentReferenceType value)
Sets the value of the registryCertificateDocumentReference property.- Parameters:
value- allowed object isDocumentReferenceType
-
getRegistryPortLocation
public LocationType getRegistryPortLocation()
Gets the value of the registryPortLocation property.- Returns:
- possible object is
LocationType
-
setRegistryPortLocation
public void setRegistryPortLocation(LocationType value)
Sets the value of the registryPortLocation property.- Parameters:
value- allowed object isLocationType
-
-