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

java.lang.Object
  extended by org.jboss.picketlink.idm.internal.jpa.AbstractDatabaseIdentityType<DatabaseGroupAttribute>
      extended by org.jboss.picketlink.idm.internal.jpa.DatabaseGroup
All Implemented Interfaces:
Group, IdentityType

@Entity
public class DatabaseGroup
extends AbstractDatabaseIdentityType<DatabaseGroupAttribute>
implements Group

Author:
Pedro Silva

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

Constructor Detail

DatabaseGroup

public DatabaseGroup()

DatabaseGroup

public DatabaseGroup(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface Group

setName

public void setName(String name)

getParentGroup

public Group getParentGroup()
Specified by:
getParentGroup in interface Group

setParentGroup

public void setParentGroup(DatabaseGroup parentGroup)

getOwnerAttributes

public List<DatabaseGroupAttribute> getOwnerAttributes()
Specified by:
getOwnerAttributes in class AbstractDatabaseIdentityType<DatabaseGroupAttribute>
Returns:
the userAttributes

createAttribute

protected DatabaseGroupAttribute createAttribute(String name,
                                                 String value)
Specified by:
createAttribute in class AbstractDatabaseIdentityType<DatabaseGroupAttribute>


Copyright © 2012. All Rights Reserved.