Class Replace


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

      • position

        protected String position
      • replacements

        protected List<Object> replacements
    • Constructor Detail

      • Replace

        public Replace()
    • Method Detail

      • 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
      • getReplacements

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