public class Replace extends Difference
<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>
Difference.Target| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
position |
protected java.util.List<java.lang.Object> |
replacements |
containers, differenceContainers, differences, differenceTargets, href, idref, label, targets, type, uuid, version| Constructor and Description |
|---|
Replace() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPosition()
Gets the value of the position property.
|
java.util.List<java.lang.Object> |
getReplacements()
Gets the value of the replacements property.
|
void |
setPosition(java.lang.String value)
Sets the value of the position property.
|
getContainers, getDifferenceContainers, getDifferences, getDifferenceTargets, getHref, getIdref, getLabel, getTargets, getType, getUuid, getVersion, setHref, setIdref, setLabel, setType, setUuid, setVersionprotected java.lang.String position
protected java.util.List<java.lang.Object> replacements
public java.lang.String getPosition()
Stringpublic void setPosition(java.lang.String value)
value - allowed object is Stringpublic java.util.List<java.lang.Object> getReplacements()
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