Class Add
- java.lang.Object
-
- org.apache.openejb.jee.was.v6.xmi.Difference
-
- org.apache.openejb.jee.was.v6.xmi.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>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.openejb.jee.was.v6.xmi.Difference
Difference.Target
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>additionsprotected Stringposition-
Fields inherited from class org.apache.openejb.jee.was.v6.xmi.Difference
containers, differenceContainers, differences, differenceTargets, href, idref, label, targets, type, uuid, version
-
-
Constructor Summary
Constructors Constructor Description Add()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getAdditions()Gets the value of the additions property.StringgetPosition()Gets the value of the position property.voidsetPosition(String value)Sets the value of the position property.-
Methods inherited from class org.apache.openejb.jee.was.v6.xmi.Difference
getContainers, getDifferenceContainers, getDifferences, getDifferenceTargets, getHref, getIdref, getLabel, getTargets, getType, getUuid, getVersion, setHref, setIdref, setLabel, setType, setUuid, setVersion
-
-
-
-
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 asetmethod 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 listObject
-
getPosition
public String getPosition()
Gets the value of the position property.- Returns:
- possible object is
String
-
-