Class AbstractBooleanValueDataUtility

java.lang.Object
com.ptc.core.components.factory.AbstractDataUtility
com.ptc.core.components.factory.dataUtilities.AbstractBooleanValueDataUtility
All Implemented Interfaces:
DataUtility
Direct Known Subclasses:
AbstractNonSelectableRowDataUtility, AbstractRowStrikeThroughDataUtility, DefaultBooleanValueDataUtility

public abstract class AbstractBooleanValueDataUtility extends AbstractDataUtility
Abstract super class for Data-Utilities that need to render a boolean attribute.
Supported API: true

Extendable: true
  • Method Details

    • getBooleanAttributeValue

      public abstract boolean getBooleanAttributeValue(String component_id, Object datum, ModelContext mc) throws WTException
      This method will need to be implemented by DataUtilities which return the boolean value of the cell.

      Supported API: true
      Parameters:
      component_id - The identifier of the component that requested this data utility.
      datum - The data objects that will subsequently be processed by calls to getDataValue.
      mc - The context in which the component model data is being extracted
      Returns:
      boolean returns true/false for the given row.
      Throws:
      WTException - If a problem occurs while extracting the data