Class AssetModelProperty

    • Method Detail

      • id

        public final String id()

        The ID of the asset model property.

        Returns:
        The ID of the asset model property.
      • name

        public final String name()

        The name of the asset model property.

        Returns:
        The name of the asset model property.
      • dataTypeSpec

        public final String dataTypeSpec()

        The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.

        Returns:
        The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.
      • unit

        public final String unit()

        The unit of the asset model property, such as Newtons or RPM.

        Returns:
        The unit of the asset model property, such as Newtons or RPM.
      • type

        public final PropertyType type()

        The property type (see PropertyType).

        Returns:
        The property type (see PropertyType).
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)