org.apache.ws.jaxme.pm.impl
Class PMIdImpl
java.lang.Object
org.apache.ws.jaxme.pm.impl.PMImpl
org.apache.ws.jaxme.pm.impl.PMIdImpl
- All Implemented Interfaces:
- PM
- Direct Known Subclasses:
- InoManager, XmlDbPM
public abstract class PMIdImpl
- extends PMImpl
- Author:
- Jochen Wiedmann
Method Summary |
java.lang.String |
getGetIdMethodName()
Returns the name of the method fetching the object ID. |
protected java.lang.String |
getId(Element pElement)
|
void |
init(JMManager pManager)
Initializes the PM. |
void |
setGetIdMethodName(java.lang.String pProperty)
Sets the name of the method fetching the object ID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PMIdImpl
public PMIdImpl()
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 PMImpl
- Parameters:
pManager
- The manager being queried for configuration details.
- Throws:
JAXBException
setGetIdMethodName
public void setGetIdMethodName(java.lang.String pProperty)
Sets the name of the method fetching the object ID.
getGetIdMethodName
public java.lang.String getGetIdMethodName()
Returns the name of the method fetching the object ID.
getId
protected java.lang.String getId(Element pElement)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
PMException
- Throws:
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
PMException