org.jboss.picketlink.idm.internal.jpa
Class DatabaseRole
java.lang.Object
org.jboss.picketlink.idm.internal.jpa.AbstractDatabaseIdentityType<DatabaseRoleAttribute>
org.jboss.picketlink.idm.internal.jpa.DatabaseRole
- All Implemented Interfaces:
- IdentityType, Role
@Entity
public class DatabaseRole
- extends AbstractDatabaseIdentityType<DatabaseRoleAttribute>
- implements Role
- Author:
- Pedro Silva
| Fields inherited from interface org.jboss.picketlink.idm.model.Role |
KEY_PREFIX |
| Methods inherited from class org.jboss.picketlink.idm.internal.jpa.AbstractDatabaseIdentityType |
getAttribute, getAttributes, getAttributeValues, getCreationDate, getExpirationDate, getId, getKey, isEnabled, removeAttribute, setAttribute, setAttribute, setCreationDate, setEnabled, setExpirationDate, setId, setKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseRole
public DatabaseRole()
DatabaseRole
public DatabaseRole(String name)
getName
public String getName()
- Specified by:
getName in interface Role
setName
public void setName(String name)
getOwnerAttributes
public List<DatabaseRoleAttribute> getOwnerAttributes()
- Specified by:
getOwnerAttributes in class AbstractDatabaseIdentityType<DatabaseRoleAttribute>
- Returns:
- the userAttributes
createAttribute
protected DatabaseRoleAttribute createAttribute(String name,
String value)
- Specified by:
createAttribute in class AbstractDatabaseIdentityType<DatabaseRoleAttribute>
Copyright © 2012. All Rights Reserved.