org.biopax.paxtools.controller
Class FilteredPropertyAccessor<D extends BioPAXElement,R,F extends R>

java.lang.Object
  extended by org.biopax.paxtools.controller.DecoratingPropertyAccessor<D,R>
      extended by org.biopax.paxtools.controller.FilteredPropertyAccessor<D,R,F>
All Implemented Interfaces:
PropertyAccessor<D,R>

public class FilteredPropertyAccessor<D extends BioPAXElement,R,F extends R>
extends DecoratingPropertyAccessor<D,R>


Field Summary
 
Fields inherited from class org.biopax.paxtools.controller.DecoratingPropertyAccessor
impl
 
Method Summary
static
<D extends BioPAXElement,R,F extends R>
PropertyAccessor<D,R>
create(PropertyAccessor<D,R> pa, java.lang.Class<F> filter)
           
 java.util.Set<? extends R> getValueFromBean(D bean)
          Returns the value of the bean using the default #getMethod.
 
Methods inherited from class org.biopax.paxtools.controller.DecoratingPropertyAccessor
getDomain, getRange, isMultipleCardinality, isUnknown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValueFromBean

public java.util.Set<? extends R> getValueFromBean(D bean)
                                            throws IllegalBioPAXArgumentException
Description copied from interface: PropertyAccessor
Returns the value of the bean using the default #getMethod.

Parameters:
bean - the object whose property is requested
Returns:
an object as the value
Throws:
IllegalBioPAXArgumentException

create

public static <D extends BioPAXElement,R,F extends R> PropertyAccessor<D,R> create(PropertyAccessor<D,R> pa,
                                                                                   java.lang.Class<F> filter)


Copyright © 2011 BioPAX. All Rights Reserved.