org.apache.openejb.jee.wls
Class RelationshipRoleMap

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

public class RelationshipRoleMap
extends java.lang.Object

Java class for relationship-role-map complex type.

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

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


Field Summary
protected  java.util.List<ColumnMap> columnMap
           
protected  java.lang.String foreignKeyTable
           
protected  java.lang.String id
           
protected  java.lang.String primaryKeyTable
           
 
Constructor Summary
RelationshipRoleMap()
           
 
Method Summary
 java.util.List<ColumnMap> getColumnMap()
          Gets the value of the columnMap property.
 java.lang.String getForeignKeyTable()
          Gets the value of the foreignKeyTable property.
 java.lang.String getId()
          Gets the value of the id property.
 java.lang.String getPrimaryKeyTable()
          Gets the value of the primaryKeyTable property.
 void setForeignKeyTable(java.lang.String value)
          Sets the value of the foreignKeyTable property.
 void setId(java.lang.String value)
          Sets the value of the id property.
 void setPrimaryKeyTable(java.lang.String value)
          Sets the value of the primaryKeyTable property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

foreignKeyTable

protected java.lang.String foreignKeyTable

primaryKeyTable

protected java.lang.String primaryKeyTable

columnMap

protected java.util.List<ColumnMap> columnMap

id

protected java.lang.String id
Constructor Detail

RelationshipRoleMap

public RelationshipRoleMap()
Method Detail

getForeignKeyTable

public java.lang.String getForeignKeyTable()
Gets the value of the foreignKeyTable property.

Returns:
possible object is String

setForeignKeyTable

public void setForeignKeyTable(java.lang.String value)
Sets the value of the foreignKeyTable property.

Parameters:
value - allowed object is String

getPrimaryKeyTable

public java.lang.String getPrimaryKeyTable()
Gets the value of the primaryKeyTable property.

Returns:
possible object is String

setPrimaryKeyTable

public void setPrimaryKeyTable(java.lang.String value)
Sets the value of the primaryKeyTable property.

Parameters:
value - allowed object is String

getColumnMap

public java.util.List<ColumnMap> getColumnMap()
Gets the value of the columnMap 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 columnMap property.

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

    getColumnMap().add(newItem);
 

Objects of the following type(s) are allowed in the list ColumnMap


getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String


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