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>
Difference.Target| Modifier and Type | Field and Description |
|---|---|
protected String |
position |
protected List<Object> |
replacements |
containers, differenceContainers, differences, differenceTargets, href, idref, label, targets, type, uuid, version| Constructor and Description |
|---|
Replace() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPosition()
Gets the value of the position property.
|
List<Object> |
getReplacements()
Gets the value of the replacements property.
|
void |
setPosition(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, setVersionpublic String getPosition()
Stringpublic void setPosition(String value)
value - allowed object is Stringpublic List<Object> getReplacements()
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
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.