Class UserProperty


  • public final class UserProperty
    extends Object
    User property.
    • Constructor Detail

      • UserProperty

        public UserProperty()
    • Method Detail

      • name

        public String name()
        Get the name property: User property name.
        Returns:
        the name value.
      • withName

        public UserProperty withName​(String name)
        Set the name property: User property name.
        Parameters:
        name - the name value to set.
        Returns:
        the UserProperty object itself.
      • value

        public Object value()
        Get the value property: User property value. Type: string (or Expression with resultType string).
        Returns:
        the value value.
      • withValue

        public UserProperty withValue​(Object value)
        Set the value property: User property value. Type: string (or Expression with resultType string).
        Parameters:
        value - the value value to set.
        Returns:
        the UserProperty object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.