public interface PropertyAccessor<D extends BioPAXElement,R>
Modifier and Type | Method and Description |
---|---|
Class<D> |
getDomain()
Returns the domain of the property.
|
Class<R> |
getRange()
Returns the range of the editor.
|
Set<? extends R> |
getValueFromBean(D bean)
Returns the value of the bean using the default getMethod.
|
Set<? extends R> |
getValueFromBeans(Collection<? extends D> beans)
Returns the values for a collection of beans using the default getMethod.
|
boolean |
isMultipleCardinality()
Checks if the property to which editor is assigned has multiple cardinality.
|
boolean |
isUnknown(Object value)
Checks if the value is unkown.
|
Class<D> getDomain()
boolean isMultipleCardinality()
Set<? extends R> getValueFromBean(D bean) throws IllegalBioPAXArgumentException
bean
- the object whose property is requestedIllegalBioPAXArgumentException
Set<? extends R> getValueFromBeans(Collection<? extends D> beans) throws IllegalBioPAXArgumentException
beans
- collection of BioPAX objectsIllegalBioPAXArgumentException
Copyright © 2015 BioPAX. All rights reserved.