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

Class TableDetails

Implemented Interfaces:
XsObject

public class TableDetails
extends ConnectionDetails

Author:
Jochen Wiedmann

Constructor Summary

TableDetails(JaxMeJdbcSG pJdbcSG, XsObject pParent)

Method Summary

void
cloneFrom(TableDetails pFrom)
Copies the current details from the given.
List
getKeys()
Returns the names of the primary key columns.
String
getName()
Returns the tables name.
void
setKeys(String pKeys)
Sets the names of the primary key columns.
void
setName(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, validate

Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl

asXsQName, asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate

Constructor Details

TableDetails

protected TableDetails(JaxMeJdbcSG pJdbcSG,
                       XsObject pParent)
            throws SAXException

Method Details

cloneFrom

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

getKeys

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

getName

public String getName()
Returns the tables name.

setKeys

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

setName

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

validate

public void validate()
            throws SAXException
Validates the internal state of the type, attribute, element, or whatever object.
Specified by:
validate in interface XsObject
Overrides:
validate in interface ConnectionDetails