Class Variable<T>

  • Type Parameters:
    T - data type of the variable

    public class Variable<T>
    extends Object
    Builder pattern like class used to build a variable.
    A variable requires a name and a data type.
    Value and metadata are optional.
    Usage:
      Variable.var("test",String.class)
              .value("example value")
              .metadata("readOnly",true).
              .metadata("required",false)
     
    See Also:
    NodeContainerBuilder.variable(Variable)