Class ThingTypeMetadata

    • Method Detail

      • deprecated

        public final Boolean deprecated()

        Whether the thing type is deprecated. If true, no new things could be associated with this type.

        Returns:
        Whether the thing type is deprecated. If true, no new things could be associated with this type.
      • deprecationDate

        public final Instant deprecationDate()

        The date and time when the thing type was deprecated.

        Returns:
        The date and time when the thing type was deprecated.
      • creationDate

        public final Instant creationDate()

        The date and time when the thing type was created.

        Returns:
        The date and time when the thing type was created.
      • 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)