Class AbstractDataPointDefinition

  • All Implemented Interfaces:
    IDataPointDefinition

    public abstract class AbstractDataPointDefinition
    extends java.lang.Object
    implements IDataPointDefinition
    The abstract class implements an adapter for subclass.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCompatibleDataType​(java.lang.String type)
      Check if data type of specified component type is any.
      java.lang.String[] getDataPointTypes()
      Creates and returns a data types array.
      java.lang.String getDisplayText​(java.lang.String type)
      Returns the externalized text for display
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractDataPointDefinition

        public AbstractDataPointDefinition()
    • Method Detail

      • getDisplayText

        public java.lang.String getDisplayText​(java.lang.String type)
        Description copied from interface: IDataPointDefinition
        Returns the externalized text for display
        Specified by:
        getDisplayText in interface IDataPointDefinition
        Parameters:
        type - data type
        Returns:
        display text
      • getCompatibleDataType

        public int getCompatibleDataType​(java.lang.String type)
        Description copied from interface: IDataPointDefinition
        Check if data type of specified component type is any.
        Specified by:
        getCompatibleDataType in interface IDataPointDefinition
        Parameters:
        type - component type
        Returns:
        the compatible data types, it's a combination of (IConstants.NUMERICAL, IConstants.TEXT and IConstants.DATE_TIME).