org.openrdf.elmo.sesame
Class SesamePropertyFactory<E>

java.lang.Object
  extended by org.openrdf.elmo.sesame.SesamePropertyFactory<E>
Type Parameters:
E - property type
All Implemented Interfaces:
ElmoPropertyFactory<E>
Direct Known Subclasses:
InferencingPropertyFactory

public class SesamePropertyFactory<E>
extends Object
implements ElmoPropertyFactory<E>

Creates ElmoProperty objects for a given predicate.

Author:
James Leigh

Constructor Summary
SesamePropertyFactory()
           
 
Method Summary
 ElmoProperty<E> createElmoProperty(Object bean)
          Create a new instance of ElmoProperty for this bean.
 Set<? extends Value> getOneOf()
           
 URI getPredicate()
           
protected  PropertyChanger getPropertyChanger()
           
static ValueFactory getValueFactory()
           
 SesamePropertyFactory<E> setPropertyDescriptor(PropertyDescriptor property)
          Associates this factory with a given property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SesamePropertyFactory

public SesamePropertyFactory()
Method Detail

getValueFactory

public static ValueFactory getValueFactory()

getPredicate

public URI getPredicate()

getOneOf

public Set<? extends Value> getOneOf()

setPropertyDescriptor

public SesamePropertyFactory<E> setPropertyDescriptor(PropertyDescriptor property)
Description copied from interface: ElmoPropertyFactory
Associates this factory with a given property.

Specified by:
setPropertyDescriptor in interface ElmoPropertyFactory<E>
Returns:
itself

createElmoProperty

public ElmoProperty<E> createElmoProperty(Object bean)
Description copied from interface: ElmoPropertyFactory
Create a new instance of ElmoProperty for this bean.

Specified by:
createElmoProperty in interface ElmoPropertyFactory<E>
Returns:
ElmoProperty

getPropertyChanger

protected PropertyChanger getPropertyChanger()


Copyright © 2004-2008 Aduna. All Rights Reserved.