|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyAccessor<D extends BioPAXElement,R>
Allows generic access to the properties or a path of properties from a bean.
| Method Summary | |
|---|---|
java.lang.Class<D> |
getDomain()
Returns the domain of the property. |
java.lang.Class<R> |
getRange()
Returns the range of the editor. |
java.util.Set<? extends R> |
getValueFromBean(D bean)
Returns the value of the bean using the default #getMethod. |
boolean |
isMultipleCardinality()
Checks if the property to which editor is assigned has multiple cardinality. |
boolean |
isUnknown(java.lang.Object value)
Checks if the value is unkown. |
| Method Detail |
|---|
java.lang.Class<D> getDomain()
java.lang.Class<R> getRange()
boolean isMultipleCardinality()
java.util.Set<? extends R> getValueFromBean(D bean)
throws IllegalBioPAXArgumentException
#getMethod.
bean - the object whose property is requested
IllegalBioPAXArgumentExceptionboolean isUnknown(java.lang.Object value)
value - the value to be checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||