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

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

public class TransitivePropertyAccessor<D extends BioPAXElement,R>
extends DecoratingPropertyAccessor<D,R>

This class is a transitive decorator for PropertyAccessors


Field Summary
 
Fields inherited from class org.biopax.paxtools.controller.DecoratingPropertyAccessor
impl
 
Method Summary
static
<D extends BioPAXElement,R>
TransitivePropertyAccessor<D,R>
create(PropertyAccessor<D,R> pa)
           
 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> TransitivePropertyAccessor<D,R> create(PropertyAccessor<D,R> pa)


Copyright © 2011 BioPAX. All Rights Reserved.