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> setField(Field fied)
          Associates this factory with a given field.
 ElmoPropertyFactory<E> setPropertyDescriptor(PropertyDescriptor property)
          Associates this factory with a given property.
 ElmoPropertyFactory<E> setReadOnly(boolean readOnly)
           
 ElmoPropertyFactory<E> setUri(String uri)
          Associates this factory with a given uri.
 

Method Detail

setPropertyDescriptor

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

Parameters:
property -
Returns:
itself

setField

ElmoPropertyFactory<E> setField(Field fied)
Associates this factory with a given field.

Parameters:
field -
Returns:
itself

setUri

ElmoPropertyFactory<E> setUri(String uri)
Associates this factory with a given uri.

Parameters:
uri -
Returns:
itself

setReadOnly

ElmoPropertyFactory<E> setReadOnly(boolean readOnly)

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.