|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.data.keyring.PluginKeys
public class PluginKeys
Class for mapping the PluginKeys
table.
Field Summary | |
---|---|
private int |
denied
|
private int |
granted
|
private int |
keyId
|
private int |
pluginDefinitionId
|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
PluginKeys()
Create new PluginKeys object |
Method Summary | |
---|---|
int |
compareTo(PluginKeys other)
Compare the keyId of this object to the keyId of another PluginKeys object. |
boolean |
equals(Object o)
Check if this object is equal to another RoleKeys
object. |
int |
getDenied()
Get the denied permissions. |
int |
getGranted()
Get the granted permissions. |
int |
getKeyId()
Gets the id of the RoleKey |
int |
getPluginDefinitionId()
Gets the id of the plugin |
int |
hashCode()
Calculate the hash code for the object. |
void |
setDenied(int denied)
Set the denied permissions. |
void |
setGranted(int granted)
Set the granted permissions. |
void |
setKeyId(int keyId)
Sets the id of the RoleKey |
void |
setPluginDefinitionId(int pluginDefinitionId)
Sets the PluginDefinition :s ID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private int pluginDefinitionId
private int keyId
private int granted
private int denied
Constructor Detail |
---|
public PluginKeys()
PluginKeys
object
Method Detail |
---|
public int getPluginDefinitionId()
public void setPluginDefinitionId(int pluginDefinitionId)
PluginDefinition
:s ID
pluginDefinitionId
- The ID of PluginDefinition
to be set.public int getKeyId()
RoleKey
public void setKeyId(int keyId)
RoleKey
keyId
- public final int getGranted()
public final void setGranted(int granted)
public final int getDenied()
public final void setDenied(int denied)
public boolean equals(Object o)
RoleKeys
object. They are considered to be the same if the role id and the
key id are the same. The permissions may be different.
equals
in class Object
public int hashCode()
hashCode
in class Object
public final int compareTo(PluginKeys other)
PluginKeys
object.
compareTo
in interface Comparable<PluginKeys>
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |