|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biopax.paxtools.controller.UnionPropertyAccessor<D>
public class UnionPropertyAccessor<D extends BioPAXElement>
| Constructor Summary | |
|---|---|
UnionPropertyAccessor(java.util.Set<PropertyAccessor<? extends D,?>> union,
java.lang.Class<D> domain)
|
|
| Method Summary | |
|---|---|
java.lang.Class<D> |
getDomain()
Returns the domain of the property. |
java.lang.Class |
getRange()
Returns the range of the editor. |
java.util.Set |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnionPropertyAccessor(java.util.Set<PropertyAccessor<? extends D,?>> union,
java.lang.Class<D> domain)
| Method Detail |
|---|
public java.lang.Class<D> getDomain()
PropertyAccessor
getDomain in interface PropertyAccessor<D extends BioPAXElement,java.lang.Object>public java.lang.Class getRange()
PropertyAccessor
getRange in interface PropertyAccessor<D extends BioPAXElement,java.lang.Object>public boolean isMultipleCardinality()
PropertyAccessor
isMultipleCardinality in interface PropertyAccessor<D extends BioPAXElement,java.lang.Object>
public java.util.Set getValueFromBean(D bean)
throws IllegalBioPAXArgumentException
PropertyAccessor#getMethod.
getValueFromBean in interface PropertyAccessor<D extends BioPAXElement,java.lang.Object>bean - the object whose property is requested
IllegalBioPAXArgumentExceptionpublic boolean isUnknown(java.lang.Object value)
PropertyAccessor
isUnknown in interface PropertyAccessor<D extends BioPAXElement,java.lang.Object>value - the value to be checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||