Class ItemInstanceType


  • public class ItemInstanceType
    extends Object

    Java class for ItemInstanceType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="ItemInstanceType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ProductTraceID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ManufactureDate" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ManufactureTime" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BestBeforeDate" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RegistrationID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SerialID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AdditionalItemProperty" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LotIdentification" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ItemInstanceType

        public ItemInstanceType()
    • Method Detail

      • setProductTraceID

        public void setProductTraceID​(ProductTraceIDType value)
        Sets the value of the productTraceID property.
        Parameters:
        value - allowed object is ProductTraceIDType
      • setManufactureDate

        public void setManufactureDate​(ManufactureDateType value)
        Sets the value of the manufactureDate property.
        Parameters:
        value - allowed object is ManufactureDateType
      • setManufactureTime

        public void setManufactureTime​(ManufactureTimeType value)
        Sets the value of the manufactureTime property.
        Parameters:
        value - allowed object is ManufactureTimeType
      • setBestBeforeDate

        public void setBestBeforeDate​(BestBeforeDateType value)
        Sets the value of the bestBeforeDate property.
        Parameters:
        value - allowed object is BestBeforeDateType
      • setRegistrationID

        public void setRegistrationID​(RegistrationIDType value)
        Sets the value of the registrationID property.
        Parameters:
        value - allowed object is RegistrationIDType
      • getSerialID

        public SerialIDType getSerialID()
        Gets the value of the serialID property.
        Returns:
        possible object is SerialIDType
      • setSerialID

        public void setSerialID​(SerialIDType value)
        Sets the value of the serialID property.
        Parameters:
        value - allowed object is SerialIDType
      • getAdditionalItemProperty

        public List<ItemPropertyType> getAdditionalItemProperty()
        Gets the value of the additionalItemProperty 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 additionalItemProperty property.

        For example, to add a new item, do as follows:

         getAdditionalItemProperty().add(newItem);
         

        Objects of the following type(s) are allowed in the list ItemPropertyType

        Returns:
        The value of the additionalItemProperty property.