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

java.lang.Object
  extended by org.jboss.picketlink.idm.internal.jpa.AbstractDatabaseAttribute<DatabaseRole>
      extended by org.jboss.picketlink.idm.internal.jpa.DatabaseRoleAttribute

@Entity
public class DatabaseRoleAttribute
extends AbstractDatabaseAttribute<DatabaseRole>

Author:
Pedro Silva

Constructor Summary
DatabaseRoleAttribute()
           
DatabaseRoleAttribute(String name, String value)
           
 
Method Summary
protected  DatabaseRole getIdentityType()
           
 DatabaseRole getRole()
           
protected  void setIdentityType(DatabaseRole identityType)
           
 void setRole(DatabaseRole role)
           
 
Methods inherited from class org.jboss.picketlink.idm.internal.jpa.AbstractDatabaseAttribute
getId, getName, getValue, setId, setName, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseRoleAttribute

public DatabaseRoleAttribute()

DatabaseRoleAttribute

public DatabaseRoleAttribute(String name,
                             String value)
Method Detail

getRole

public DatabaseRole getRole()
Returns:
the role

setRole

public void setRole(DatabaseRole role)
Parameters:
role - the role to set

getIdentityType

protected DatabaseRole getIdentityType()
Specified by:
getIdentityType in class AbstractDatabaseAttribute<DatabaseRole>
Returns:
the user

setIdentityType

protected void setIdentityType(DatabaseRole identityType)
Specified by:
setIdentityType in class AbstractDatabaseAttribute<DatabaseRole>


Copyright © 2012. All Rights Reserved.