org.apache.openejb.jee.wls
Class Table

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

public class Table
extends Object

Java class for table complex type.

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

 <complexType name="table">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="table-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="dbms-column" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
         <element name="ejb-relationship-role-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> dbmsColumn
           
protected  String ejbRelationshipRoleName
           
protected  String tableName
           
 
Constructor Summary
Table()
           
 
Method Summary
 List<String> getDbmsColumn()
          Gets the value of the dbmsColumn property.
 String getEjbRelationshipRoleName()
          Gets the value of the ejbRelationshipRoleName property.
 String getTableName()
          Gets the value of the tableName property.
 void setEjbRelationshipRoleName(String value)
          Sets the value of the ejbRelationshipRoleName property.
 void setTableName(String value)
          Sets the value of the tableName property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableName

protected String tableName

dbmsColumn

protected List<String> dbmsColumn

ejbRelationshipRoleName

protected String ejbRelationshipRoleName
Constructor Detail

Table

public Table()
Method Detail

getTableName

public String getTableName()
Gets the value of the tableName property.

Returns:
possible object is String

setTableName

public void setTableName(String value)
Sets the value of the tableName property.

Parameters:
value - allowed object is String

getDbmsColumn

public List<String> getDbmsColumn()
Gets the value of the dbmsColumn 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 dbmsColumn property.

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

    getDbmsColumn().add(newItem);
 

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


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


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