public class EjbRelation extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://jboss.org}ejb-relation-name"/>
<element ref="{http://jboss.org}read-only" minOccurs="0"/>
<element ref="{http://jboss.org}read-time-out" minOccurs="0"/>
<choice minOccurs="0">
<element ref="{http://jboss.org}foreign-key-mapping"/>
<element ref="{http://jboss.org}relation-table-mapping"/>
</choice>
<sequence minOccurs="0">
<element ref="{http://jboss.org}ejb-relationship-role"/>
<element ref="{http://jboss.org}ejb-relationship-role"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
EjbRelation() |
public List<Object> getContent()
You are getting this "catch-all" property because of the following reason: The field name "EjbRelationshipRole" is used by two different parts of a schema. See: line 476 of file:/Users/dblevins/work/openejb3/jbosscmp-jdbc_4_0.xsd line 475 of file:/Users/dblevins/work/openejb3/jbosscmp-jdbc_4_0.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
EjbRelationshipRole
EjbRelationName
RelationTableMapping
ForeignKeyMapping
ReadOnly
ReadTimeOut
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.