public class FilteredPropertyAccessor<D extends BioPAXElement,R> extends DecoratingPropertyAccessor<D,R>
impl
domain, 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.
|
isUnknown
getDomain, getRange, getValueFromBeans, isMultipleCardinality
public Set<? extends R> getValueFromBean(D bean) throws IllegalBioPAXArgumentException
PropertyAccessor
bean
- the object whose property is requestedIllegalBioPAXArgumentException
public 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 © 2015 BioPAX. All rights reserved.