Interface ParameterType

All Superinterfaces:
DataType
All Known Subinterfaces:
NumericParameterType
All Known Implementing Classes:
AbsoluteTimeParameterType, AggregateParameterType, ArrayParameterType, BinaryParameterType, BooleanParameterType, EnumeratedParameterType, FloatParameterType, IntegerParameterType, StringParameterType

public interface ParameterType extends DataType
Interface implemented by all the parameters types.
  • Method Details

    • getDependentParameters

      default Set<Parameter> getDependentParameters()
      Returns:
      the set of parameters on which this one depends in order to be extracted or alarm checked can be an empty set if this parameter does not depend on any other
    • hasAlarm

      boolean hasAlarm()
      Whether this ParameterType has any alarms associated
    • getEncoding

      DataEncoding getEncoding()
      Get the data encoding for the parameter type.
      For arrays and aggregates types that do not have encoding; this operation will throw an UnsupportedOperationException
      Returns:
    • toBuilder

      <T extends ParameterType> ParameterType.Builder<?> toBuilder()
      Create a builder that can be used to make shallow copy of the parameter type

      all the fields reference to the same object like the original

      Returns: