|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.util.objectwrapper.impl.AbstractWrapper
ch.elca.el4j.util.objectwrapper.impl.KeyedVersionedEl4jImpl
public class KeyedVersionedEl4jImpl
Implementation of KeyedVersioned that uses the provided methods of the EL4J base class. Thus, it is more efficient.
Field Summary |
---|
Fields inherited from class ch.elca.el4j.util.objectwrapper.impl.AbstractWrapper |
---|
m_target, m_wrapper |
Constructor Summary | |
---|---|
KeyedVersionedEl4jImpl()
|
Method Summary | |
---|---|
void |
create()
Override this in implementations to instantiate an object. |
Serializable |
getKey()
|
Class<?> |
getKeyClass()
|
Serializable |
getVersion()
|
Class<?> |
getVersionClass()
|
void |
setKey(Serializable key)
Set the object's key. |
void |
setVersion(Serializable version)
Set the version. |
Methods inherited from class ch.elca.el4j.util.objectwrapper.impl.AbstractWrapper |
---|
clone, setTarget, setWrapper |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyedVersionedEl4jImpl()
Method Detail |
---|
public void create() throws ObjectWrapperRTException
create
in class AbstractWrapper
ObjectWrapperRTException
- If creation failed.public Serializable getKey()
getKey
in interface KeyedVersioned
public Class<?> getKeyClass()
getKeyClass
in interface KeyedVersioned
public Serializable getVersion()
getVersion
in interface KeyedVersioned
public Class<?> getVersionClass()
getVersionClass
in interface KeyedVersioned
public void setKey(Serializable key)
setKey
in interface KeyedVersioned
key
- The key to set.public void setVersion(Serializable version)
setVersion
in interface KeyedVersioned
version
- The version to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |