Class ColumnRangePPMPrediction

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, Badgeable, Hideable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

@Component public class ColumnRangePPMPrediction extends Column
This type of column is made for specific range. You need to set SOURCE1 and SOURCE2. The ColumnRange will do a comparison between these two values, that are the limits of the range. If they are equal it won't display a range. Instead it will display a unique value. EX. Range 2 - 4. Range 4 -4 -> Range 4
See Also:
  • Field Details

    • source1

      protected String source1
    • source2

      protected String source2
    • pos1

      protected int pos1
    • pos2

      protected int pos2
  • Constructor Details

    • ColumnRangePPMPrediction

      public ColumnRangePPMPrediction()
  • Method Details

    • setSOURCE1

      public void setSOURCE1(String s)
      Sets the first source, it is the lower range usually. Place here the column name that contains the value.
      Parameters:
      s - the name of the column that is the first range.
    • setSOURCE2

      public void setSOURCE2(String s)
      Sets the second source, it is the upper range usually. Place here the column name that contains the value.
      Parameters:
      s - the name of the column that is the second range.
    • setupMetaData

      public void setupMetaData(DBView dbv)
      Description copied from class: Column
      Called to init all the field starting form the DBView
      Overrides:
      setupMetaData in class Column
      Parameters:
      dbv - The DBView with all the field used in the init
    • getHtmlRow

      public org.apache.ecs.Element getHtmlRow(EntitySet es, int row, int pagerow, ArrayList al)
      Description copied from class: Column
      Returns the html element that defines the row
      Overrides:
      getHtmlRow in class Column
      Parameters:
      es - The EntitySet to which the element belongs
      row - The number of the row
      pagerow - The number ofd the page
      al - The list of values of the row
      Returns:
      The html element that defines the row