@Entity
public class SupportedPrincipals
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
SupportedPrincipals()
Default constructor for
SupportedPrincipals is necessary for
PojoInstantiator of HIBERNATE. |
protected |
SupportedPrincipals(java.lang.Class<? extends java.security.Principal> principal)
Constructor for SupportedPrincipals.
|
protected |
SupportedPrincipals(java.lang.String name)
Constructor for SupportedPrincipals.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
protected int |
getId()
Getter for the field
id. |
protected java.lang.String |
getName()
Getter for the field
name. |
int |
hashCode() |
protected void |
setId(int id)
Setter for the field
id. |
protected void |
setName(java.lang.String name)
Setter for the field
name. |
java.lang.String |
toString() |
protected SupportedPrincipals()
SupportedPrincipals is necessary for
PojoInstantiator of HIBERNATE.protected SupportedPrincipals(java.lang.String name)
name - a String object.protected SupportedPrincipals(java.lang.Class<? extends java.security.Principal> principal)
principal - the Principal to supportpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected int getId()
id.protected void setId(int id)
id.id - the id to setprotected java.lang.String getName()
name.protected void setName(java.lang.String name)
name.name - the name to set