Class KKeyMetadata


  • public final class KKeyMetadata
    extends Object
    Contains metadata of a KKey.

    This class is immutable and therefore thread-safe.

    Author:
    Vlastimil Dolejs
    • Method Detail

      • getLength

        public Integer getLength()
        Returns the maximum length of the content of this K-key as defined in AQDEF format documentation.
        Returns:
      • getColumnName

        public String getColumnName()
        Returns name of the DB column in the Q-DAS database where this K-key is stored.
        Returns:
      • getDataType

        public Class<?> getDataType()
        Returns datatype of this K-key.
        Returns:
      • getConverter

        public IKKeyValueConverter<?> getConverter()
        Returns converter that can be used to convert the value of this K-key from and to the textual representation of AQDEF format.
        Returns:
      • isSaveToDb

        public boolean isSaveToDb()
        Whether this K-key is stored in Q-DAS database.
        Returns:
      • isRespectsCharacteristicDecimalSettings

        public boolean isRespectsCharacteristicDecimalSettings()
        Whether this K-key contains value that should respect decimal settings of the characteristic. These value are measured value and its limits.
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object