Class CustomProperty

    • Method Detail

      • fullyQualifiedName

        public final String fullyQualifiedName()

        The fully qualified name of the custom property. For example, the fully qualified name of a custom property might be ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS.

        Returns:
        The fully qualified name of the custom property. For example, the fully qualified name of a custom property might be ComplexDataTypes.VehicleDataTypes.SVMCamera.FPS.
      • dataTypeAsString

        public final String dataTypeAsString()

        The data type for the custom property.

        If the service returns an enum value that is not available in the current SDK version, dataType will return NodeDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dataTypeAsString().

        Returns:
        The data type for the custom property.
        See Also:
        NodeDataType
      • dataEncodingAsString

        public final String dataEncodingAsString()

        Indicates whether the property is binary data.

        If the service returns an enum value that is not available in the current SDK version, dataEncoding will return NodeDataEncoding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from dataEncodingAsString().

        Returns:
        Indicates whether the property is binary data.
        See Also:
        NodeDataEncoding
      • description

        public final String description()

        A brief description of the custom property.

        Returns:
        A brief description of the custom property.
      • deprecationMessage

        public final String deprecationMessage()

        The deprecation message for the node or the branch that was moved or deleted.

        Returns:
        The deprecation message for the node or the branch that was moved or deleted.
      • comment

        public final String comment()

        A comment in addition to the description.

        Returns:
        A comment in addition to the description.
      • structFullyQualifiedName

        public final String structFullyQualifiedName()

        The fully qualified name of the struct node for the custom property if the data type of the custom property is Struct or StructArray.

        Returns:
        The fully qualified name of the struct node for the custom property if the data type of the custom property is Struct or StructArray.
      • 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)