org.jboss.picketlink.idm.internal.jpa
Class AbstractDatabaseAttribute<O extends IdentityType>

java.lang.Object
  extended by org.jboss.picketlink.idm.internal.jpa.AbstractDatabaseAttribute<O>
Direct Known Subclasses:
DatabaseGroupAttribute, DatabaseRoleAttribute, DatabaseUserAttribute

@MappedSuperclass
public abstract class AbstractDatabaseAttribute<O extends IdentityType>
extends Object

Author:
Pedro Silva

Constructor Summary
AbstractDatabaseAttribute()
           
AbstractDatabaseAttribute(String name, String value)
           
 
Method Summary
 String getId()
           
protected abstract  O getIdentityType()
           
 String getName()
           
 String getValue()
           
 void setId(String id)
           
protected abstract  void setIdentityType(O identityType)
           
 void setName(String name)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDatabaseAttribute

public AbstractDatabaseAttribute()

AbstractDatabaseAttribute

public AbstractDatabaseAttribute(String name,
                                 String value)
Method Detail

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set

getIdentityType

protected abstract O getIdentityType()
Returns:
the user

setIdentityType

protected abstract void setIdentityType(O identityType)
Parameters:
user - the user to set

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getValue

public String getValue()
Returns:
the value

setValue

public void setValue(String value)
Parameters:
value - the value to set


Copyright © 2012. All Rights Reserved.