org.apache.openejb.jee.wls
Class RelationshipRoleMap

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

public class RelationshipRoleMap
extends 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  List<ColumnMap> columnMap
           
protected  String foreignKeyTable
           
protected  String id
           
protected  String primaryKeyTable
           
 
Constructor Summary
RelationshipRoleMap()
           
 
Method Summary
 List<ColumnMap> getColumnMap()
          Gets the value of the columnMap property.
 String getForeignKeyTable()
          Gets the value of the foreignKeyTable property.
 String getId()
          Gets the value of the id property.
 String getPrimaryKeyTable()
          Gets the value of the primaryKeyTable property.
 void setForeignKeyTable(String value)
          Sets the value of the foreignKeyTable property.
 void setId(String value)
          Sets the value of the id property.
 void setPrimaryKeyTable(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 String foreignKeyTable

primaryKeyTable

protected String primaryKeyTable

columnMap

protected List<ColumnMap> columnMap

id

protected String id
Constructor Detail

RelationshipRoleMap

public RelationshipRoleMap()
Method Detail

getForeignKeyTable

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

Returns:
possible object is String

setForeignKeyTable

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

Parameters:
value - allowed object is String

getPrimaryKeyTable

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

Returns:
possible object is String

setPrimaryKeyTable

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

Parameters:
value - allowed object is String

getColumnMap

public 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 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.