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

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.xmi.Difference
      extended by org.apache.openejb.jee.was.v6.xmi.Replace

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>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openejb.jee.was.v6.xmi.Difference
Difference.Target
 
Field Summary
protected  java.lang.String position
           
protected  java.util.List<java.lang.Object> replacements
           
 
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
Replace()
           
 
Method Summary
 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.
 
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

position

protected java.lang.String position

replacements

protected java.util.List<java.lang.Object> replacements
Constructor Detail

Replace

public Replace()
Method Detail

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

getReplacements

public java.util.List<java.lang.Object> getReplacements()
Gets the value of the replacements 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 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-2011 The Apache OpenEJB development community. All Rights Reserved.