Class SecondaryHazardType


  • public class SecondaryHazardType
    extends Object

    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>
     
    • Constructor Detail

      • SecondaryHazardType

        public SecondaryHazardType()
    • Method Detail

      • getID

        public IDType getID()
        Gets the value of the id property.
        Returns:
        possible object is IDType
      • setID

        public void setID​(IDType value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is IDType
      • setPlacardNotation

        public void setPlacardNotation​(PlacardNotationType value)
        Sets the value of the placardNotation property.
        Parameters:
        value - allowed object is PlacardNotationType
      • getExtension

        public List<ExtensionType> getExtension()
        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

        Returns:
        The value of the extension property.