org.apache.ws.jaxme.pm.ino.api4j
Class TaminoAPI4JDbPm

java.lang.Object
  extended by org.apache.ws.jaxme.pm.impl.PMImpl
      extended by org.apache.ws.jaxme.pm.ino.api4j.TaminoAPI4JPm
          extended by org.apache.ws.jaxme.pm.ino.api4j.TaminoAPI4JDbPm
All Implemented Interfaces:
PM

public class TaminoAPI4JDbPm
extends TaminoAPI4JPm

PM implementation for accessing a Tamino database via the basic version of the TaminoAPI4J.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.ws.jaxme.pm.impl.PMImpl
PMImpl.ListObserver
 
Constructor Summary
TaminoAPI4JDbPm()
           
 
Method Summary
 java.lang.String getPassword()
          Returns the database users password.
protected  TConnection getTConnection()
           
 java.lang.String getUrl()
          Sets the database URL.
 java.lang.String getUser()
          Returns the database user.
 void init(JMManager pManager)
          Initializes the PM.
 void setPassword(java.lang.String pPassword)
          Sets the database users password.
 void setUrl(java.lang.String pUrl)
          Returns the database URL.
 void setUser(java.lang.String pUser)
          Sets the database user.
 
Methods inherited from class org.apache.ws.jaxme.pm.ino.api4j.TaminoAPI4JPm
delete, getCollection, getTSAXObjectModel, getTXMLObject, insert, select, setCollection, update
 
Methods inherited from class org.apache.ws.jaxme.pm.impl.PMImpl
create, getManager, parseQuery, select, select, select
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaminoAPI4JDbPm

public TaminoAPI4JDbPm()
Method Detail

getUrl

public java.lang.String getUrl()
Sets the database URL. This includes the database name, but not the database collection.


setUrl

public void setUrl(java.lang.String pUrl)
Returns the database URL. This includes the database name, but not the database collection.


getUser

public java.lang.String getUser()
Returns the database user.


setUser

public void setUser(java.lang.String pUser)
Sets the database user.


getPassword

public java.lang.String getPassword()
Returns the database users password.


setPassword

public void setPassword(java.lang.String pPassword)
Sets the database users password.


init

public void init(JMManager pManager)
          throws JAXBException
Description copied from interface: PM

Initializes the PM. Called from the JAXBContextImpl upon initialization.

Specified by:
init in interface PM
Overrides:
init in class TaminoAPI4JPm
Parameters:
pManager - The manager being queried for configuration details.
Throws:
JAXBException

getTConnection

protected TConnection getTConnection()
                              throws PMException
Specified by:
getTConnection in class TaminoAPI4JPm
Throws:
PMException