net.sf.tacos.model.impl
Class BeanPropertyKeyProvider
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanPropertyKeyProvider
public BeanPropertyKeyProvider(String property)
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.