org.apache.ws.jaxme.pm.impl

Class PMIdImpl

Implemented Interfaces:
PM
Known Direct Subclasses:
InoManager, XmlDbPM

public abstract class PMIdImpl
extends PMImpl

Author:
Jochen Wiedmann

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.ws.jaxme.pm.impl.PMImpl

PMImpl.ListObserver

Method Summary

String
getGetIdMethodName()
Returns the name of the method fetching the object ID.
protected String
getId(Element pElement)
void
init(JMManager pManager)
Initializes the PM.
void
setGetIdMethodName(String pProperty)
Sets the name of the method fetching the object ID.

Methods inherited from class org.apache.ws.jaxme.pm.impl.PMImpl

create, getManager, init, parseQuery, select, select, select

Method Details

getGetIdMethodName

public String getGetIdMethodName()
Returns the name of the method fetching the object ID.

getId

protected String getId(Element pElement)
            throws NoSuchMethodException,
                   IllegalAccessException,
                   InvocationTargetException,
                   PMException

init

public void init(JMManager pManager)
            throws JAXBException
Initializes the PM. Called from the JAXBContextImpl upon initialization.
Specified by:
init in interface PM
Overrides:
init in interface PMImpl
Parameters:
pManager - The manager being queried for configuration details.

setGetIdMethodName

public void setGetIdMethodName(String pProperty)
Sets the name of the method fetching the object ID.