Class VTLPropertyImpl

    • Constructor Detail

      • VTLPropertyImpl

        public VTLPropertyImpl​(String name,
                               String description,
                               String placeholder,
                               boolean required)
      • VTLPropertyImpl

        public VTLPropertyImpl​(String name,
                               String description,
                               String placeholder,
                               boolean required,
                               boolean multiple,
                               String... defaultValue)
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface VTLProperty
        Returns:
        The name of the system property that provides a starting value
      • getValue

        public String getValue()
        Specified by:
        getValue in interface VTLProperty
        Returns:
        The current value for this property
      • setValue

        public void setValue​(String newValue)
        Description copied from interface: VTLProperty
        Change the value for this property
        Specified by:
        setValue in interface VTLProperty
        Parameters:
        newValue - The new value for this property
      • isMultiple

        public boolean isMultiple()
        Specified by:
        isMultiple in interface VTLProperty
        Returns:
        true if the property allows multiple values
      • isRequired

        public boolean isRequired()
        Specified by:
        isRequired in interface VTLProperty
        Returns:
        true if the property must have a value set before using the component
      • getPlaceholder

        public String getPlaceholder()
        Specified by:
        getPlaceholder in interface VTLProperty
        Returns:
        A placeholder for the property that can be used as a hint for the property contents
      • hasValue

        public boolean hasValue()
        Specified by:
        hasValue in interface VTLProperty
        Returns:
        true if a value was set for this property or it has a default value