public class UnionPropertyAccessor<D extends BioPAXElement,R> extends PropertyAccessorAdapter<D,R>
domain, multipleCardinality, range| Constructor and Description |
|---|
UnionPropertyAccessor(Set<PropertyAccessor<? extends D,? extends R>> union,
Class<D> domain) |
| Modifier and Type | Method and Description |
|---|---|
Set |
getValueFromBean(D bean)
Returns the value of the bean using the default getMethod.
|
boolean |
isUnknown(Object value)
Checks if the value is unkown.
|
getDomain, getRange, getValueFromBeans, isMultipleCardinalitypublic Set getValueFromBean(D bean) throws IllegalBioPAXArgumentException
PropertyAccessorbean - the object whose property is requestedIllegalBioPAXArgumentExceptionpublic boolean isUnknown(Object value)
PropertyAccessorvalue - the value to be checkedCopyright © 2017 BioPAX. All rights reserved.