org.apache.ws.jaxme.pm.generator.jdbc
Class TableDetails

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.pm.generator.jdbc.ConnectionDetails
          extended by org.apache.ws.jaxme.pm.generator.jdbc.TableDetails
All Implemented Interfaces:
XsObject

public class TableDetails
extends ConnectionDetails

Author:
Jochen Wiedmann

Constructor Summary
protected TableDetails(JaxMeJdbcSG pJdbcSG, XsObject pParent)
           
 
Method Summary
 void cloneFrom(TableDetails pFrom)
          Copies the current details from the given.
 java.util.List getKeys()
          Returns the names of the primary key columns.
 java.lang.String getName()
          Returns the tables name.
 void setKeys(java.lang.String pKeys)
          Sets the names of the primary key columns.
 void setName(java.lang.String pName)
          Sets the tables name.
 void validate()
          Validates the internal state of the type, attribute, element, or whatever object.
 
Methods inherited from class org.apache.ws.jaxme.pm.generator.jdbc.ConnectionDetails
cloneFrom, getDatasource, getDbMode, getDriver, getPassword, getUrl, getUser, isUsingDatasource, setDatasource, setDbMode, setDriver, setPassword, setUrl, setUser, setUsingDatasource
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDetails

protected TableDetails(JaxMeJdbcSG pJdbcSG,
                       XsObject pParent)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException
Method Detail

setName

public void setName(java.lang.String pName)
Sets the tables name.


getName

public java.lang.String getName()
Returns the tables name.


setKeys

public void setKeys(java.lang.String pKeys)
Sets the names of the primary key columns.


getKeys

public java.util.List getKeys()
Returns the names of the primary key columns.


cloneFrom

public void cloneFrom(TableDetails pFrom)
Copies the current details from the given.


validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: XsObject
Validates the internal state of the type, attribute, element, or whatever object.

Specified by:
validate in interface XsObject
Overrides:
validate in class ConnectionDetails
Throws:
org.xml.sax.SAXException