org.openrdf.elmo
Interface ElmoPropertyFactory<E>

Type Parameters:
E - propery type
All Known Implementing Classes:
InferencingPropertyFactory, SesamePropertyFactory

public interface ElmoPropertyFactory<E>

Internal interface to create ElmoProperty objects.

Author:
James Leigh

Method Summary
 ElmoProperty<E> createElmoProperty(Object bean)
          Create a new instance of ElmoProperty for this bean.
 ElmoPropertyFactory<E> setPropertyDescriptor(PropertyDescriptor property)
          Associates this factory with a given property.
 

Method Detail

setPropertyDescriptor

ElmoPropertyFactory<E> setPropertyDescriptor(PropertyDescriptor property)
Associates this factory with a given property.

Parameters:
property -
Returns:
itself

createElmoProperty

ElmoProperty<E> createElmoProperty(Object bean)
Create a new instance of ElmoProperty for this bean.

Parameters:
bean -
Returns:
ElmoProperty


Copyright © 2004-2008 Aduna. All Rights Reserved.