Class AbstractUserProfileBean.Attribute

All Implemented Interfaces:
Enclosing class:

public class AbstractUserProfileBean.Attribute extends Object implements Comparable<AbstractUserProfileBean.Attribute>
Info about user profile attribute available in Freemarker template.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getDisplayName

      public String getDisplayName()
    • isMultivalued

      public boolean isMultivalued()
    • getValue

      public String getValue()
    • getValues

      public List<String> getValues()
    • isRequired

      public boolean isRequired()
    • isReadOnly

      public boolean isReadOnly()
    • getAutocomplete

      public String getAutocomplete()
      define value of the autocomplete attribute for html input tag. if null then no html input tag attribute is added
    • getAnnotations

      public Map<String,Object> getAnnotations()
    • getHtml5DataAnnotations

      public Map<String,Object> getHtml5DataAnnotations()
    • getValidators

      public Map<String,Map<String,Object>> getValidators()
      Get info about validators applied to attribute.
      never null, map where key is validatorId and value is map with configuration for given validator (loaded from UserProfile configuration, never null)
    • getGroup

    • compareTo

      public int compareTo(AbstractUserProfileBean.Attribute o)
      Specified by:
      compareTo in interface Comparable<AbstractUserProfileBean.Attribute>