Class Parameter

    • Method Detail

      • getBuiltIn

        public java.util.Optional<java.lang.String> getBuiltIn()
      • getDefaultValue

        public java.util.Optional<Value> getDefaultValue()
      • isRequired

        public boolean isRequired()
      • toType

        public Type toType()
      • isBuiltIn

        public boolean isBuiltIn()
      • getValue

        public java.util.Optional<Value> getValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • template

        public java.lang.String template()
      • toNode

        public Node toNode()
        Description copied from interface: ToNode
        Converts a value to a Node.
        Specified by:
        toNode in interface ToNode
        Returns:
        Returns the creates Node.
      • toExpression

        public Expression toExpression()
        Provides a reference to this parameter as an expression.
        Returns:
        the reference to the parameter.
      • equal

        public Function equal​(boolean b)
        Provides a function comparing this parameter to a boolean value.
        Parameters:
        b - the boolean value to compare the parameter to.
        Returns:
        the BooleanEquals function comparing the parameter.
      • equal

        public Function equal​(Expression expression)
        Provides a function comparing this parameter to expression.
        Parameters:
        expression - the expression.
        Returns:
        the BooleanEquals function comparing the parameter.
      • getDocumentation

        public java.util.Optional<java.lang.String> getDocumentation()
      • getDefault

        public java.util.Optional<Value> getDefault()
        The default value for this Parameter.
        Returns:
        The value. This value must match the type of this parameter.