Class ProfileDataItem<T>

java.lang.Object
org.n52.io.response.dataset.profile.ProfileDataItem<T>
All Implemented Interfaces:
Comparable<ProfileDataItem<T>>
Direct Known Subclasses:
TrajectoryProfileDataItem

public class ProfileDataItem<T> extends Object implements Comparable<ProfileDataItem<T>>
  • Constructor Details

    • ProfileDataItem

      public ProfileDataItem()
    • ProfileDataItem

      public ProfileDataItem(BigDecimal vertical, T value)
    • ProfileDataItem

      public ProfileDataItem(BigDecimal verticalFrom, BigDecimal verticalTo, T value)
  • Method Details

    • getVerticalFrom

      public BigDecimal getVerticalFrom()
    • setVerticalFrom

      public void setVerticalFrom(BigDecimal verticalFrom)
    • isSetVerticalFrom

      protected boolean isSetVerticalFrom()
    • getVerticalTo

      public BigDecimal getVerticalTo()
    • getVertical

      public BigDecimal getVertical()
    • setVertical

      public void setVertical(BigDecimal vertical)
    • getValue

      public T getValue()
    • setValue

      public void setValue(T value)
    • setValueFormatter

      public void setValueFormatter(ValueFormatter<T> valueFormatter)
    • getFormattedValue

      public String getFormattedValue()
      Formats value as string by using valueFormatter. If no formatter has been set Object.toString() is being used. Otherwise null is returned.
      Returns:
      the value formatted as string or null if value is null
    • getDetectionLimit

      public DetectionLimitOutput getDetectionLimit()
    • setDetectionLimit

      public void setDetectionLimit(DetectionLimitOutput detectionLimit)
    • compareTo

      public int compareTo(ProfileDataItem<T> o)
      Specified by:
      compareTo in interface Comparable<T>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object