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.impldomain, 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.
|
isUnknowngetDomain, getRange, getValueFromBeans, isMultipleCardinalitypublic Set<? extends R> getValueFromBean(D bean) throws IllegalBioPAXArgumentException
PropertyAccessorbean - the object whose property is requestedIllegalBioPAXArgumentExceptionpublic static <R extends BioPAXElement,D extends R> TransitivePropertyAccessor<R,D> create(PropertyAccessor<D,R> pa)
Copyright © 2015 BioPAX. All rights reserved.