net.sf.tacos.model.impl
Class BeanPropertyKeyProvider

java.lang.Object
  extended by net.sf.tacos.model.impl.BeanPropertyKeyProvider
All Implemented Interfaces:
IKeyProvider

public class BeanPropertyKeyProvider
extends Object
implements IKeyProvider

Key provider that uses a property of the object as a key.

Author:
andyhot

Constructor Summary
BeanPropertyKeyProvider(String property)
           
 
Method Summary
 Serializable getKey(Object obj)
          Gets the key for a particular value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertyKeyProvider

public BeanPropertyKeyProvider(String property)
Method Detail

getKey

public Serializable getKey(Object obj)
Description copied from interface: IKeyProvider
Gets the key for a particular value

Specified by:
getKey in interface IKeyProvider
Returns:


Copyright © 2006-2007 SourceForge.net. All Rights Reserved.