org.apache.openejb.jee.was.v6.xmi
Class Add

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.xmi.Difference
      extended by 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
protected  java.util.List<java.lang.Object> additions
           
protected  java.lang.String position
           
 
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
Add()
           
 
Method Summary
 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.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

additions

protected java.util.List<java.lang.Object> additions

position

protected java.lang.String position
Constructor Detail

Add

public Add()
Method Detail

getAdditions

public java.util.List<java.lang.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 a 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


getPosition

public java.lang.String getPosition()
Gets the value of the position property.

Returns:
possible object is String

setPosition

public void setPosition(java.lang.String value)
Sets the value of the position property.

Parameters:
value - allowed object is String


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.