|
||||||||||
| 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 AbstractWrapperObjectWrapperRTException - If creation failed.public Serializable getKey()
getKey in interface KeyedVersionedpublic Class<?> getKeyClass()
getKeyClass in interface KeyedVersionedpublic Serializable getVersion()
getVersion in interface KeyedVersionedpublic Class<?> getVersionClass()
getVersionClass in interface KeyedVersionedpublic void setKey(Serializable key)
setKey in interface KeyedVersionedkey - The key to set.public void setVersion(Serializable version)
setVersion in interface KeyedVersionedversion - The version to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||