public class FilteredPropertyAccessor<D extends BioPAXElement,R> extends DecoratingPropertyAccessor<D,R>
impldomain, multipleCardinality, range| Modifier and Type | Method and Description |
|---|---|
static <D extends BioPAXElement,R> |
create(PropertyAccessor<D,R> pa,
Class filter)
FactoryMethod that creates a filtered property accessor by decorating a given accessor with a class filter.
|
Set<? extends R> |
getValueFromBean(D bean)
Returns the value of the bean using the default getMethod.
|
isUnknowngetDomain, getRange, getValueFromBeans, isMultipleCardinalitypublic Set<? extends R> getValueFromBean(D bean) throws IllegalBioPAXArgumentException
PropertyAccessorbean - the object whose property is requestedIllegalBioPAXArgumentExceptionpublic static <D extends BioPAXElement,R> PropertyAccessor<D,R> create(PropertyAccessor<D,R> pa, Class filter)
D - Domain of the original accessorR - Range of the original accessorpa - to be decoratedfilter - Class to be filtered, must extend from R.Copyright © 2018 BioPAX. All rights reserved.