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, isMultipleCardinality
public UnionPropertyAccessor(Set<PropertyAccessor<? extends D,? extends R>> union, Class<D> domain)
public Set getValueFromBean(D bean) throws IllegalBioPAXArgumentException
PropertyAccessor
bean
- the object whose property is requestedIllegalBioPAXArgumentException
public boolean isUnknown(Object value)
PropertyAccessor
value
- the value to be checkedCopyright © 2015 BioPAX. All rights reserved.