Class AbstractUserProfileBean.Attribute
- java.lang.Object
- 
- org.keycloak.forms.login.freemarker.model.AbstractUserProfileBean.Attribute
 
- 
- All Implemented Interfaces:
- Comparable<AbstractUserProfileBean.Attribute>
 - Enclosing class:
- AbstractUserProfileBean
 
 public class AbstractUserProfileBean.Attribute extends Object implements Comparable<AbstractUserProfileBean.Attribute> Info about user profile attribute available in Freemarker template.
- 
- 
Constructor SummaryConstructors Constructor Description Attribute(AttributeMetadata metadata)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AbstractUserProfileBean.Attribute o)Map<String,Object>getAnnotations()StringgetAutocomplete()define value of the autocomplete attribute for html input tag.StringgetDisplayName()StringgetGroup()Map<String,Object>getGroupAnnotations()StringgetGroupDisplayDescription()StringgetGroupDisplayHeader()StringgetName()Map<String,Map<String,Object>>getValidators()Get info about validators applied to attribute.StringgetValue()List<String>getValues()booleanisReadOnly()booleanisRequired()
 
- 
- 
- 
Constructor Detail- 
Attributepublic Attribute(AttributeMetadata metadata) 
 
- 
 - 
Method Detail- 
getNamepublic String getName() 
 - 
getDisplayNamepublic String getDisplayName() 
 - 
getValuepublic String getValue() 
 - 
isRequiredpublic boolean isRequired() 
 - 
isReadOnlypublic boolean isReadOnly() 
 - 
getAutocompletepublic String getAutocomplete() define value of the autocomplete attribute for html input tag. if null then no html input tag attribute is added
 - 
getValidatorspublic Map<String,Map<String,Object>> getValidators() Get info about validators applied to attribute.- Returns:
- never null, map where key is validatorId and value is map with configuration for given validator (loaded from UserProfile configuration, never null)
 
 - 
getGrouppublic String getGroup() 
 - 
getGroupDisplayHeaderpublic String getGroupDisplayHeader() 
 - 
getGroupDisplayDescriptionpublic String getGroupDisplayDescription() 
 - 
compareTopublic int compareTo(AbstractUserProfileBean.Attribute o) - Specified by:
- compareToin interface- Comparable<AbstractUserProfileBean.Attribute>
 
 
- 
 
-