org.biopax.paxtools.controller
Class DecoratingPropertyAccessor<D extends BioPAXElement,R>
java.lang.Object
org.biopax.paxtools.controller.DecoratingPropertyAccessor<D,R>
- All Implemented Interfaces:
- PropertyAccessor<D,R>
- Direct Known Subclasses:
- FilteredPropertyAccessor, TransitivePropertyAccessor
public abstract class DecoratingPropertyAccessor<D extends BioPAXElement,R>
- extends java.lang.Object
- implements PropertyAccessor<D,R>
|
Method Summary |
java.lang.Class<D> |
getDomain()
Returns the domain of the property. |
java.lang.Class<R> |
getRange()
Returns the range of the editor. |
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 |
impl
protected PropertyAccessor<D extends BioPAXElement,R> impl
DecoratingPropertyAccessor
protected DecoratingPropertyAccessor(PropertyAccessor<D,R> impl)
getDomain
public java.lang.Class<D> getDomain()
- Description copied from interface:
PropertyAccessor
- Returns the domain of the property.
- Specified by:
getDomain in interface PropertyAccessor<D extends BioPAXElement,R>
- Returns:
- the domain of the editor
getRange
public java.lang.Class<R> getRange()
- Description copied from interface:
PropertyAccessor
- Returns the range of the editor.
- Specified by:
getRange in interface PropertyAccessor<D extends BioPAXElement,R>
- Returns:
- a class
isMultipleCardinality
public boolean isMultipleCardinality()
- Description copied from interface:
PropertyAccessor
- Checks if the property to which editor is assigned has multiple cardinality.
- Specified by:
isMultipleCardinality in interface PropertyAccessor<D extends BioPAXElement,R>
- Returns:
- true if editor belongs to a multiple cardinality property.
isUnknown
public boolean isUnknown(java.lang.Object value)
- Description copied from interface:
PropertyAccessor
- Checks if the value is unkown. In this context a value is regarded to be
unknown if it is null (unset).
- Specified by:
isUnknown in interface PropertyAccessor<D extends BioPAXElement,R>
- Parameters:
value - the value to be checked
- Returns:
- true if the value is unknown
Copyright © 2011 BioPAX. All Rights Reserved.