Class ProfileDataItem<T>
java.lang.Object
org.n52.io.response.dataset.profile.ProfileDataItem<T>
- All Implemented Interfaces:
Comparable<ProfileDataItem<T>>
- Direct Known Subclasses:
TrajectoryProfileDataItem
-
Constructor Summary
ConstructorsConstructorDescriptionProfileDataItem(BigDecimal verticalFrom, BigDecimal verticalTo, T value) ProfileDataItem(BigDecimal vertical, T value) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanFormats value as string by usingvalueFormatter.getValue()inthashCode()protected booleanvoidsetDetectionLimit(DetectionLimitOutput detectionLimit) voidvoidsetValueFormatter(ValueFormatter<T> valueFormatter) voidsetVertical(BigDecimal vertical) voidsetVerticalFrom(BigDecimal verticalFrom)
-
Constructor Details
-
ProfileDataItem
public ProfileDataItem() -
ProfileDataItem
-
ProfileDataItem
-
-
Method Details
-
getVerticalFrom
-
setVerticalFrom
-
isSetVerticalFrom
protected boolean isSetVerticalFrom() -
getVerticalTo
-
getVertical
-
setVertical
-
getValue
-
setValue
-
setValueFormatter
-
getFormattedValue
Formats value as string by usingvalueFormatter. If no formatter has been setObject.toString()is being used. Otherwisenullis returned.- Returns:
- the
valueformatted as string ornullif value isnull
-
getDetectionLimit
-
setDetectionLimit
-
compareTo
- Specified by:
compareToin interfaceComparable<T>
-
hashCode
public int hashCode() -
equals
-