Class Add


  • public class Add
    extends Difference
    Java class for Add complex type. The following schema fragment specifies the expected content contained within this class.
     <complexType name="Add">
       <complexContent>
         <extension base="{http://www.omg.org/XMI}Difference">
           <attribute name="addition" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
           <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Add

        public Add()
    • Method Detail

      • getAdditions

        public List<Object> getAdditions()
        Gets the value of the additions 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 additions property. For example, to add a new item, do as follows:
         getAdditions().add(newItem);
         
        Objects of the following type(s) are allowed in the list Object
      • getPosition

        public String getPosition()
        Gets the value of the position property.
        Returns:
        possible object is String
      • setPosition

        public void setPosition​(String value)
        Sets the value of the position property.
        Parameters:
        value - allowed object is String