@CodingStyleguideUnaware public class MaritimeTransportType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe a vessel used for transport by water (including sea, river, and canal).</ccts:Definition><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass></ccts:Component>
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>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
MaritimeTransportType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addShipsRequirements(ShipsRequirementsType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
MaritimeTransportType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(MaritimeTransportType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
GrossTonnageMeasureType |
getGrossTonnageMeasure()
<?
|
BigDecimal |
getGrossTonnageMeasureValue()
Get the value of the contained GrossTonnageMeasureType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
NetTonnageMeasureType |
getNetTonnageMeasure()
<?
|
BigDecimal |
getNetTonnageMeasureValue()
Get the value of the contained NetTonnageMeasureType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
RadioCallSignIDType |
getRadioCallSignID()
<?
|
String |
getRadioCallSignIDValue()
Get the value of the contained RadioCallSignIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
DocumentReferenceType |
getRegistryCertificateDocumentReference()
<?
|
LocationType |
getRegistryPortLocation()
<?
|
List<ShipsRequirementsType> |
getShipsRequirements()
<?
|
ShipsRequirementsType |
getShipsRequirementsAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getShipsRequirementsCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
VesselIDType |
getVesselID()
<?
|
String |
getVesselIDValue()
Get the value of the contained VesselIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
VesselNameType |
getVesselName()
<?
|
String |
getVesselNameValue()
Get the value of the contained VesselNameType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoShipsRequirementsEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasShipsRequirementsEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
GrossTonnageMeasureType |
setGrossTonnageMeasure(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setGrossTonnageMeasure(GrossTonnageMeasureType value)
Sets the value of the grossTonnageMeasure property.
|
NetTonnageMeasureType |
setNetTonnageMeasure(BigDecimal valueParam)
Special setter with value of type BigDecimal
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setNetTonnageMeasure(NetTonnageMeasureType value)
Sets the value of the netTonnageMeasure property.
|
void |
setRadioCallSignID(RadioCallSignIDType value)
Sets the value of the radioCallSignID property.
|
RadioCallSignIDType |
setRadioCallSignID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setRegistryCertificateDocumentReference(DocumentReferenceType value)
Sets the value of the registryCertificateDocumentReference property.
|
void |
setRegistryPortLocation(LocationType value)
Sets the value of the registryPortLocation property.
|
void |
setShipsRequirements(List<ShipsRequirementsType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
VesselIDType |
setVesselID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setVesselID(VesselIDType value)
Sets the value of the vesselID property.
|
VesselNameType |
setVesselName(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setVesselName(VesselNameType value)
Sets the value of the vesselName property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public MaritimeTransportType()
@Nullable public VesselIDType getVesselID()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Vessel Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for a specific vessel.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass><ccts:PropertyTerm>Vessel Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:AlternativeBusinessTerms>Lloyds Number, Registration Number (WCO ID 167)</ccts:AlternativeBusinessTerms><ccts:Examples>International Maritime Organisation number of a vessel</ccts:Examples></ccts:Component>
VesselIDTypepublic void setVesselID(@Nullable VesselIDType value)
value - allowed object is
VesselIDType@Nullable public VesselNameType getVesselName()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Vessel Name. Name</ccts:DictionaryEntryName><ccts:Definition>The name of the vessel.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass><ccts:PropertyTerm>Vessel Name</ccts:PropertyTerm><ccts:RepresentationTerm>Name</ccts:RepresentationTerm><ccts:DataType>Name. Type</ccts:DataType><ccts:AlternativeBusinessTerms>Ships Name</ccts:AlternativeBusinessTerms></ccts:Component>
VesselNameTypepublic void setVesselName(@Nullable VesselNameType value)
value - allowed object is
VesselNameType@Nullable public RadioCallSignIDType getRadioCallSignID()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Radio Call Sign Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>The radio call sign of the vessel.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass><ccts:PropertyTerm>Radio Call Sign Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>NES</ccts:Examples></ccts:Component>
RadioCallSignIDTypepublic void setRadioCallSignID(@Nullable RadioCallSignIDType value)
value - allowed object is
RadioCallSignIDType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ShipsRequirementsType> getShipsRequirements()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Ships Requirements. Text</ccts:DictionaryEntryName><ccts:Definition>Information about what services a vessel will require when it arrives at a port, such as refueling, maintenance, waste disposal etc.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass><ccts:PropertyTerm>Ships Requirements</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>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 set method 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
@Nullable public GrossTonnageMeasureType getGrossTonnageMeasure()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Gross Tonnage. Measure</ccts:DictionaryEntryName><ccts:Definition>Gross tonnage is calculated by measuring a ship's volume (from keel to funnel, to the outside of the hull framing) and applying a mathematical formula and is used to determine things such as a ship's manning regulations, safety rules, registration fees and port dues.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass><ccts:PropertyTerm>Gross Tonnage</ccts:PropertyTerm><ccts:RepresentationTerm>Measure</ccts:RepresentationTerm><ccts:DataType>Measure. Type</ccts:DataType></ccts:Component>
GrossTonnageMeasureTypepublic void setGrossTonnageMeasure(@Nullable GrossTonnageMeasureType value)
value - allowed object is
GrossTonnageMeasureType@Nullable public NetTonnageMeasureType getNetTonnageMeasure()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Net Tonnage. Measure</ccts:DictionaryEntryName><ccts:Definition>Net tonnage is calculated by measuring a ship's internal volume and applying a mathematical formula and is used to calculate the port duties.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass><ccts:PropertyTerm>Net Tonnage</ccts:PropertyTerm><ccts:RepresentationTerm>Measure</ccts:RepresentationTerm><ccts:DataType>Measure. Type</ccts:DataType></ccts:Component>
NetTonnageMeasureTypepublic void setNetTonnageMeasure(@Nullable NetTonnageMeasureType value)
value - allowed object is
NetTonnageMeasureType@Nullable public DocumentReferenceType getRegistryCertificateDocumentReference()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Registry Certificate_ Document Reference. Document Reference</ccts:DictionaryEntryName><ccts:Definition>The certificate issued to the ship by the ships registry in a given flag state.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass><ccts:PropertyTermQualifier>Registry Certificate</ccts:PropertyTermQualifier><ccts:PropertyTerm>Document Reference</ccts:PropertyTerm><ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Document Reference</ccts:RepresentationTerm></ccts:Component>
DocumentReferenceTypepublic void setRegistryCertificateDocumentReference(@Nullable DocumentReferenceType value)
value - allowed object is
DocumentReferenceType@Nullable public LocationType getRegistryPortLocation()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Maritime Transport. Registry Port_ Location. Location</ccts:DictionaryEntryName><ccts:Definition>The port in which a vessel is registered or permanently based.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Maritime Transport</ccts:ObjectClass><ccts:PropertyTermQualifier>Registry Port</ccts:PropertyTermQualifier><ccts:PropertyTerm>Location</ccts:PropertyTerm><ccts:AssociatedObjectClass>Location</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Location</ccts:RepresentationTerm></ccts:Component>
LocationTypepublic void setRegistryPortLocation(@Nullable LocationType value)
value - allowed object is
LocationTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setShipsRequirements(@Nullable List<ShipsRequirementsType> aList)
aList - The new list member to set. May be null.public boolean hasShipsRequirementsEntries()
true if at least one item is contained, false otherwise.public boolean hasNoShipsRequirementsEntries()
true if no item is contained, false otherwise.@Nonnegative public int getShipsRequirementsCount()
@Nullable public ShipsRequirementsType getShipsRequirementsAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addShipsRequirements(@Nonnull ShipsRequirementsType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull MaritimeTransportType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public MaritimeTransportType clone()
@Nonnull public VesselIDType setVesselID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public RadioCallSignIDType setRadioCallSignID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public GrossTonnageMeasureType setGrossTonnageMeasure(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public NetTonnageMeasureType setNetTonnageMeasure(@Nullable BigDecimal valueParam)
valueParam - The value to be set. May be null.null@Nonnull public VesselNameType setVesselName(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getVesselIDValue()
null@Nullable public String getVesselNameValue()
null@Nullable public String getRadioCallSignIDValue()
null@Nullable public BigDecimal getGrossTonnageMeasureValue()
null@Nullable public BigDecimal getNetTonnageMeasureValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.