ch.elca.el4j.util.objectwrapper.interfaces
Interface KeyedVersioned

All Superinterfaces:
Wrappable
All Known Implementing Classes:
KeyedVersionedEl4jImpl, KeyedVersionedHibernateImpl, KeyedVersionedReflectionImpl

public interface KeyedVersioned
extends Wrappable

Aspect of having a key and version.

Author:
David Bernhard (DBD)
File-location:
KeyedVersioned
Last check-in date:
2010-01-08 13:32:17 +0100 (Fr, 08. Jan 2010) by jonasha for revision 4083

Method Summary
 Serializable getKey()
           
 Class<?> getKeyClass()
           
 Serializable getVersion()
           
 Class<?> getVersionClass()
           
 void setKey(Serializable key)
          Set the object's key.
 void setVersion(Serializable version)
          Set the version.
 

Method Detail

getKey

Serializable getKey()
Returns:
The key this object holds.

setKey

void setKey(Serializable key)
Set the object's key.

Parameters:
key - The key to set.

getVersion

Serializable getVersion()
Returns:
The version.

setVersion

void setVersion(Serializable version)
Set the version.

Parameters:
version - The version to set.

getKeyClass

Class<?> getKeyClass()
Returns:
The effective class of the key property.

getVersionClass

Class<?> getVersionClass()
Returns:
The effective class of the version property.


Copyright © 2005-2011 ELCA. All Rights Reserved.