org.apache.openejb.jee.wls
Class WeblogicRdbmsRelation

java.lang.Object
  extended by org.apache.openejb.jee.wls.WeblogicRdbmsRelation

public class WeblogicRdbmsRelation
extends Object

Java class for weblogic-rdbms-relation complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="weblogic-rdbms-relation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="relation-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="weblogic-relationship-role" type="{http://www.bea.com/ns/weblogic/90}weblogic-relationship-role"/>
         <element name="weblogic-relationship-role" type="{http://www.bea.com/ns/weblogic/90}weblogic-relationship-role" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<javax.xml.bind.JAXBElement<?>> content
           
protected  String id
           
 
Constructor Summary
WeblogicRdbmsRelation()
           
 
Method Summary
 List<javax.xml.bind.JAXBElement<?>> getContent()
          Gets the rest of the content model.
 String getId()
          Gets the value of the id property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<javax.xml.bind.JAXBElement<?>> content

id

protected String id
Constructor Detail

WeblogicRdbmsRelation

public WeblogicRdbmsRelation()
Method Detail

getContent

public List<javax.xml.bind.JAXBElement<?>> getContent()
Gets the rest of the content model.

You are getting this "catch-all" property because of the following reason: The field name "WeblogicRelationshipRole" is used by two different parts of a schema. See: line 761 of file:/Users/dblevins/work/openejb3/container/openejb-jee/src/main/resources/META-INF/schema/weblogic.xsd line 760 of file:/Users/dblevins/work/openejb3/container/openejb-jee/src/main/resources/META-INF/schema/weblogic.xsd

To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content 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 content property.

For example, to add a new item, do as follows:

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<WeblogicRelationshipRole> JAXBElement<String> JAXBElement<String>


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


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