public class TransitivePropertyAccessor<R extends BioPAXElement,D extends R> extends DecoratingPropertyAccessor<D,R>
Complex.getComponent()
it will not only return the immediate components but also the components of the components.impl
domain, multipleCardinality, range
Modifier and Type | Method and Description |
---|---|
static <R extends BioPAXElement,D extends R> |
create(PropertyAccessor<D,R> pa) |
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 <R extends BioPAXElement,D extends R> TransitivePropertyAccessor<R,D> create(PropertyAccessor<D,R> pa)
Copyright © 2015 BioPAX. All rights reserved.