@Portable public class UserAttributeImpl extends Object implements UserManager.UserAttribute
Default portable User attribute implementation class.
| Constructor and Description |
|---|
UserAttributeImpl(String name,
boolean isMandatory,
boolean isEditable,
String defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDefaultValue()
The default value for an attribute.
|
String |
getName()
The attribute name.
|
boolean |
isEditable()
Specifies if the attribute can be modified.
|
boolean |
isMandatory()
Specifies if the attribute is required for creating a user or if it cannot be removed.
|
public String getName()
UserManager.UserAttributegetName in interface UserManager.UserAttributepublic boolean isMandatory()
UserManager.UserAttributeisMandatory in interface UserManager.UserAttributepublic boolean isEditable()
UserManager.UserAttributeisEditable in interface UserManager.UserAttributepublic String getDefaultValue()
UserManager.UserAttributegetDefaultValue in interface UserManager.UserAttributeCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.