Interface Attribute.Builder

    • Method Detail

      • fullyQualifiedName

        Attribute.Builder fullyQualifiedName​(String fullyQualifiedName)

        The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be Vehicle.Body.Engine.Type.

        Parameters:
        fullyQualifiedName - The fully qualified name of the attribute. For example, the fully qualified name of an attribute might be Vehicle.Body.Engine.Type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataType

        Attribute.Builder dataType​(String dataType)

        The specified data type of the attribute.

        Parameters:
        dataType - The specified data type of the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NodeDataType, NodeDataType
      • dataType

        Attribute.Builder dataType​(NodeDataType dataType)

        The specified data type of the attribute.

        Parameters:
        dataType - The specified data type of the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        NodeDataType, NodeDataType
      • description

        Attribute.Builder description​(String description)

        A brief description of the attribute.

        Parameters:
        description - A brief description of the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        Attribute.Builder unit​(String unit)

        The scientific unit for the attribute.

        Parameters:
        unit - The scientific unit for the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedValues

        Attribute.Builder allowedValues​(Collection<String> allowedValues)

        A list of possible values an attribute can be assigned.

        Parameters:
        allowedValues - A list of possible values an attribute can be assigned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowedValues

        Attribute.Builder allowedValues​(String... allowedValues)

        A list of possible values an attribute can be assigned.

        Parameters:
        allowedValues - A list of possible values an attribute can be assigned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • min

        Attribute.Builder min​(Double min)

        The specified possible minimum value of the attribute.

        Parameters:
        min - The specified possible minimum value of the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • max

        Attribute.Builder max​(Double max)

        The specified possible maximum value of the attribute.

        Parameters:
        max - The specified possible maximum value of the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assignedValue

        @Deprecated
        Attribute.Builder assignedValue​(String assignedValue)
        Deprecated.
        assignedValue is no longer in use

        A specified value for the attribute.

        Parameters:
        assignedValue - A specified value for the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultValue

        Attribute.Builder defaultValue​(String defaultValue)

        The default value of the attribute.

        Parameters:
        defaultValue - The default value of the attribute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deprecationMessage

        Attribute.Builder deprecationMessage​(String deprecationMessage)

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

        Parameters:
        deprecationMessage - The deprecation message for the node or the branch that was moved or deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • comment

        Attribute.Builder comment​(String comment)

        A comment in addition to the description.

        Parameters:
        comment - A comment in addition to the description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.