public class Add extends Difference
<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>
Difference.Target
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.Object> |
additions |
protected java.lang.String |
position |
containers, differenceContainers, differences, differenceTargets, href, idref, label, targets, type, uuid, version
Constructor and Description |
---|
Add() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getAdditions()
Gets the value of the additions property.
|
java.lang.String |
getPosition()
Gets the value of the position 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, setVersion
protected java.util.List<java.lang.Object> additions
protected java.lang.String position
public java.util.List<java.lang.Object> getAdditions()
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
public java.lang.String getPosition()
String
public void setPosition(java.lang.String value)
value
- allowed object is String