org.jboss.picketlink.idm.internal.jpa
Class DatabaseRole

java.lang.Object
  extended by org.jboss.picketlink.idm.internal.jpa.AbstractDatabaseIdentityType<DatabaseRoleAttribute>
      extended by org.jboss.picketlink.idm.internal.jpa.DatabaseRole
All Implemented Interfaces:
IdentityType, Role

@Entity
public class DatabaseRole
extends AbstractDatabaseIdentityType<DatabaseRoleAttribute>
implements Role

Author:
Pedro Silva

Field Summary
 
Fields inherited from interface org.jboss.picketlink.idm.model.Role
KEY_PREFIX
 
Constructor Summary
DatabaseRole()
           
DatabaseRole(String name)
           
 
Method Summary
protected  DatabaseRoleAttribute createAttribute(String name, String value)
           
 String getName()
           
 List<DatabaseRoleAttribute> getOwnerAttributes()
           
 void setName(String name)
           
 
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
 
Methods inherited from interface org.jboss.picketlink.idm.model.IdentityType
getAttribute, getAttributes, getAttributeValues, getCreationDate, getExpirationDate, getKey, isEnabled, removeAttribute, setAttribute, setAttribute
 

Constructor Detail

DatabaseRole

public DatabaseRole()

DatabaseRole

public DatabaseRole(String name)
Method Detail

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.