Class PrimitivePropertyEditor<D extends BioPAXElement,R>

All Implemented Interfaces:
DataPropertyEditor<D,R>, PropertyAccessor<D,R>, PropertyEditor<D,R>

public class PrimitivePropertyEditor<D extends BioPAXElement,R> extends AbstractPropertyEditor<D,R> implements DataPropertyEditor<D,R>
Provides a primitive (int, float, double) class compatible editor by extending the PropertyEditor.
See Also:
  • Constructor Details

    • PrimitivePropertyEditor

      public PrimitivePropertyEditor(String property, Method getMethod, Class<D> domain, Class<R> range, boolean multipleCardinality)
      Parameters:
      property - Name of the property, e.g. stoichiometricCoefficient.
      getMethod - A "Method" class that represents the getter method. e.g. getEntityReference()
      domain - name of the domain of this property. e.g. PhysicalEntity
      range - name of the range of this property. e.g. EntityReference.
      multipleCardinality - false if this property is functional, e.g. many-to-one or one-to-one.
  • Method Details