org.apache.openejb.jee.oejb2
Class EjbRelationshipRoleType

java.lang.Object
  extended by org.apache.openejb.jee.oejb2.EjbRelationshipRoleType

public class EjbRelationshipRoleType
extends Object

Java class for ejb-relationship-roleType complex type.

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

 <complexType name="ejb-relationship-roleType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ejb-relationship-role-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="relationship-role-source">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="ejb-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="cmr-field" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="cmr-field-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="foreign-key-column-on-source" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
         <element name="role-mapping">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="cmr-field-mapping" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="key-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
                             <element name="foreign-key-column" type="{http://www.w3.org/2001/XMLSchema}string"/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class EjbRelationshipRoleType.CmrField
          Java class for anonymous complex type.
static class EjbRelationshipRoleType.RelationshipRoleSource
          Java class for anonymous complex type.
static class EjbRelationshipRoleType.RoleMapping
          Java class for anonymous complex type.
 
Field Summary
protected  EjbRelationshipRoleType.CmrField cmrField
           
protected  String ejbRelationshipRoleName
           
protected  EmptyType foreignKeyColumnOnSource
           
protected  EjbRelationshipRoleType.RelationshipRoleSource relationshipRoleSource
           
protected  EjbRelationshipRoleType.RoleMapping roleMapping
           
 
Constructor Summary
EjbRelationshipRoleType()
           
 
Method Summary
 EjbRelationshipRoleType.CmrField getCmrField()
          Gets the value of the cmrField property.
 String getEjbRelationshipRoleName()
          Gets the value of the ejbRelationshipRoleName property.
 EjbRelationshipRoleType.RelationshipRoleSource getRelationshipRoleSource()
          Gets the value of the relationshipRoleSource property.
 EjbRelationshipRoleType.RoleMapping getRoleMapping()
          Gets the value of the roleMapping property.
 boolean isForeignKeyColumnOnSource()
          Gets the value of the foreignKeyColumnOnSource property.
 void setCmrField(EjbRelationshipRoleType.CmrField value)
          Sets the value of the cmrField property.
 void setEjbRelationshipRoleName(String value)
          Sets the value of the ejbRelationshipRoleName property.
 void setForeignKeyColumnOnSource(boolean value)
          Sets the value of the foreignKeyColumnOnSource property.
 void setRelationshipRoleSource(EjbRelationshipRoleType.RelationshipRoleSource value)
          Sets the value of the relationshipRoleSource property.
 void setRoleMapping(EjbRelationshipRoleType.RoleMapping value)
          Sets the value of the roleMapping property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejbRelationshipRoleName

protected String ejbRelationshipRoleName

relationshipRoleSource

protected EjbRelationshipRoleType.RelationshipRoleSource relationshipRoleSource

cmrField

protected EjbRelationshipRoleType.CmrField cmrField

foreignKeyColumnOnSource

protected EmptyType foreignKeyColumnOnSource

roleMapping

protected EjbRelationshipRoleType.RoleMapping roleMapping
Constructor Detail

EjbRelationshipRoleType

public EjbRelationshipRoleType()
Method Detail

getEjbRelationshipRoleName

public String getEjbRelationshipRoleName()
Gets the value of the ejbRelationshipRoleName property.

Returns:
possible object is String

setEjbRelationshipRoleName

public void setEjbRelationshipRoleName(String value)
Sets the value of the ejbRelationshipRoleName property.

Parameters:
value - allowed object is String

getRelationshipRoleSource

public EjbRelationshipRoleType.RelationshipRoleSource getRelationshipRoleSource()
Gets the value of the relationshipRoleSource property.

Returns:
possible object is EjbRelationshipRoleType.RelationshipRoleSource

setRelationshipRoleSource

public void setRelationshipRoleSource(EjbRelationshipRoleType.RelationshipRoleSource value)
Sets the value of the relationshipRoleSource property.

Parameters:
value - allowed object is EjbRelationshipRoleType.RelationshipRoleSource

getCmrField

public EjbRelationshipRoleType.CmrField getCmrField()
Gets the value of the cmrField property.

Returns:
possible object is EjbRelationshipRoleType.CmrField

setCmrField

public void setCmrField(EjbRelationshipRoleType.CmrField value)
Sets the value of the cmrField property.

Parameters:
value - allowed object is EjbRelationshipRoleType.CmrField

isForeignKeyColumnOnSource

public boolean isForeignKeyColumnOnSource()
Gets the value of the foreignKeyColumnOnSource property.

Returns:
possible object is boolean

setForeignKeyColumnOnSource

public void setForeignKeyColumnOnSource(boolean value)
Sets the value of the foreignKeyColumnOnSource property.

Parameters:
value - allowed object is boolean

getRoleMapping

public EjbRelationshipRoleType.RoleMapping getRoleMapping()
Gets the value of the roleMapping property.

Returns:
possible object is EjbRelationshipRoleType.RoleMapping

setRoleMapping

public void setRoleMapping(EjbRelationshipRoleType.RoleMapping value)
Sets the value of the roleMapping property.

Parameters:
value - allowed object is EjbRelationshipRoleType.RoleMapping


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