Class PromotionalSpecificationType


  • public class PromotionalSpecificationType
    extends Object

    Java class for PromotionalSpecificationType complex type

    .

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

    
     <complexType name="PromotionalSpecificationType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SpecificationID" minOccurs="0"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PromotionalEventLineItem" maxOccurs="unbounded"/>
             <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}EventTactic" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • PromotionalSpecificationType

        public PromotionalSpecificationType()
    • Method Detail

      • setSpecificationID

        public void setSpecificationID​(SpecificationIDType value)
        Sets the value of the specificationID property.
        Parameters:
        value - allowed object is SpecificationIDType
      • getPromotionalEventLineItem

        public List<PromotionalEventLineItemType> getPromotionalEventLineItem()
        Gets the value of the promotionalEventLineItem 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 promotionalEventLineItem property.

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

         getPromotionalEventLineItem().add(newItem);
         

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

        Returns:
        The value of the promotionalEventLineItem property.
      • getEventTactic

        public List<EventTacticType> getEventTactic()
        Gets the value of the eventTactic 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 eventTactic property.

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

         getEventTactic().add(newItem);
         

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

        Returns:
        The value of the eventTactic property.