Class UPAttribute
java.lang.Object
org.keycloak.representations.userprofile.config.UPAttribute
- All Implemented Interfaces:
Cloneable
Configuration of the Attribute.
- Author:
- Vlastimil Elias <velias@redhat.com>
-
Constructor Summary
ConstructorDescriptionUPAttribute
(String name) UPAttribute
(String name, boolean multivalued, UPAttributePermissions permissions) UPAttribute
(String name, UPAttributePermissions permissions) UPAttribute
(String name, UPAttributePermissions permissions, UPAttributeRequired required) UPAttribute
(String name, UPAttributePermissions permissions, UPAttributeRequired required, UPAttributeSelector selector) UPAttribute
(String name, UPGroup group) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addValidation
(String validator, Map<String, Object> config) protected UPAttribute
clone()
boolean
getGroup()
getName()
int
hashCode()
boolean
void
setAnnotations
(Map<String, Object> annotations) void
setDisplayName
(String displayName) void
void
setMultivalued
(boolean multivalued) void
void
setPermissions
(UPAttributePermissions permissions) void
setRequired
(UPAttributeRequired required) void
setSelector
(UPAttributeSelector selector) void
toString()
-
Constructor Details
-
UPAttribute
public UPAttribute() -
UPAttribute
-
UPAttribute
-
UPAttribute
public UPAttribute(String name, UPAttributePermissions permissions, UPAttributeRequired required, UPAttributeSelector selector) -
UPAttribute
-
UPAttribute
-
UPAttribute
-
-
Method Details
-
getName
-
setName
-
getValidations
-
setValidations
-
getAnnotations
-
setAnnotations
-
getRequired
-
setRequired
-
getPermissions
-
setPermissions
-
addValidation
-
getSelector
-
setSelector
-
getDisplayName
-
setDisplayName
-
getGroup
-
setGroup
-
setMultivalued
public void setMultivalued(boolean multivalued) -
isMultivalued
public boolean isMultivalued() -
toString
-
clone
-
hashCode
public int hashCode() -
equals
-