@CodingStyleguideUnaware public class SecondaryHazardType 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>Secondary Hazard. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe a secondary hazard associated with a hazardous item.</ccts:Definition><ccts:ObjectClass>Secondary Hazard</ccts:ObjectClass></ccts:Component>
Java class for SecondaryHazardType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SecondaryHazardType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PlacardNotation" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PlacardEndorsement" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EmergencyProceduresCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Extension" maxOccurs="unbounded" 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 |
|---|
SecondaryHazardType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtension(ExtensionType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
SecondaryHazardType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(SecondaryHazardType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
EmergencyProceduresCodeType |
getEmergencyProceduresCode()
<?
|
String |
getEmergencyProceduresCodeValue()
Get the value of the contained EmergencyProceduresCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<ExtensionType> |
getExtension()
<?
|
ExtensionType |
getExtensionAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getExtensionCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
IDType |
getID()
<?
|
String |
getIDValue()
Get the value of the contained IDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
PlacardEndorsementType |
getPlacardEndorsement()
<?
|
String |
getPlacardEndorsementValue()
Get the value of the contained PlacardEndorsementType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
PlacardNotationType |
getPlacardNotation()
<?
|
String |
getPlacardNotationValue()
Get the value of the contained PlacardNotationType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
boolean |
hasExtensionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoExtensionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setEmergencyProceduresCode(EmergencyProceduresCodeType value)
Sets the value of the emergencyProceduresCode property.
|
EmergencyProceduresCodeType |
setEmergencyProceduresCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setExtension(List<ExtensionType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPlacardEndorsement(PlacardEndorsementType value)
Sets the value of the placardEndorsement property.
|
PlacardEndorsementType |
setPlacardEndorsement(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPlacardNotation(PlacardNotationType value)
Sets the value of the placardNotation property.
|
PlacardNotationType |
setPlacardNotation(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public SecondaryHazardType()
@Nullable public IDType getID()
<?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>Secondary Hazard. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for this secondary hazard.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Secondary Hazard</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDType@Nullable public PlacardNotationType getPlacardNotation()
<?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>Secondary Hazard. Placard Notation. Text</ccts:DictionaryEntryName><ccts:Definition>Text of the placard notation corresponding to the hazard class of this secondary hazard. Can also be the hazard identification number of the orange placard (upper part) required on the means of transport.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Secondary Hazard</ccts:ObjectClass><ccts:PropertyTerm>Placard Notation</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>5.1 </ccts:Examples></ccts:Component>
PlacardNotationTypepublic void setPlacardNotation(@Nullable PlacardNotationType value)
value - allowed object is
PlacardNotationType@Nullable public PlacardEndorsementType getPlacardEndorsement()
<?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>Secondary Hazard. Placard Endorsement. Text</ccts:DictionaryEntryName><ccts:Definition>Text of the placard endorsement for this secondary hazard that is to be shown on the shipping papers for a hazardous item. Can also be used for the number of the orange placard (lower part) required on the means of transport.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Secondary Hazard</ccts:ObjectClass><ccts:PropertyTerm>Placard Endorsement</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>2 </ccts:Examples></ccts:Component>
PlacardEndorsementTypepublic void setPlacardEndorsement(@Nullable PlacardEndorsementType value)
value - allowed object is
PlacardEndorsementType@Nullable public EmergencyProceduresCodeType getEmergencyProceduresCode()
<?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>Secondary Hazard. Emergency Procedures Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code signifying the emergency procedures for this secondary hazard.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Secondary Hazard</ccts:ObjectClass><ccts:PropertyTerm>Emergency Procedures Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType><ccts:AlternativeBusinessTerms>EMG code, EMS Page Number</ccts:AlternativeBusinessTerms></ccts:Component>
EmergencyProceduresCodeTypepublic void setEmergencyProceduresCode(@Nullable EmergencyProceduresCodeType value)
value - allowed object is
EmergencyProceduresCodeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ExtensionType> getExtension()
<?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>Secondary Hazard. Extension. Text</ccts:DictionaryEntryName><ccts:Definition>Additional information about the hazardous substance, which can be used (for example) to specify the type of regulatory requirements that apply to this secondary hazard.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Secondary Hazard</ccts:ObjectClass><ccts:PropertyTerm>Extension</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:Examples>N.O.S. or a Waste Characteristics Code in conjunction with an EPA Waste Stream code </ccts:Examples></ccts:Component>Gets the value of the extension 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 extension property.
For example, to add a new item, do as follows:
getExtension().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setExtension(@Nullable List<ExtensionType> aList)
aList - The new list member to set. May be null.public boolean hasExtensionEntries()
true if at least one item is contained, false otherwise.public boolean hasNoExtensionEntries()
true if no item is contained, false otherwise.@Nonnegative public int getExtensionCount()
@Nullable public ExtensionType getExtensionAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addExtension(@Nonnull ExtensionType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull SecondaryHazardType 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 SecondaryHazardType clone()
@Nonnull public EmergencyProceduresCodeType setEmergencyProceduresCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IDType setID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PlacardNotationType setPlacardNotation(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public PlacardEndorsementType setPlacardEndorsement(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
null@Nullable public String getPlacardNotationValue()
null@Nullable public String getPlacardEndorsementValue()
null@Nullable public String getEmergencyProceduresCodeValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.