@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.UserAttribute
getName
in interface UserManager.UserAttribute
public boolean isMandatory()
UserManager.UserAttribute
isMandatory
in interface UserManager.UserAttribute
public boolean isEditable()
UserManager.UserAttribute
isEditable
in interface UserManager.UserAttribute
public String getDefaultValue()
UserManager.UserAttribute
getDefaultValue
in interface UserManager.UserAttribute
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.