org.codehaus.plexus.security.authorization.rbac.jdo.v0_9_0
Class JdoPermission

java.lang.Object
  extended by org.codehaus.plexus.security.authorization.rbac.jdo.v0_9_0.JdoPermission
All Implemented Interfaces:
Serializable, org.codehaus.plexus.security.rbac.Permission

public class JdoPermission
extends Object
implements org.codehaus.plexus.security.rbac.Permission, Serializable

Class JdoPermission.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.codehaus.plexus.security.rbac.Permission
ROLE
 
Constructor Summary
JdoPermission()
           
 
Method Summary
 boolean equals(Object other)
          Method equals.
 String getDescription()
          Get the description field.
 String getName()
          Get the name field.
 org.codehaus.plexus.security.rbac.Operation getOperation()
          Get the operation field.
 org.codehaus.plexus.security.rbac.Resource getResource()
          Get the resource field.
 int hashCode()
          Method hashCode.
 boolean isPermanent()
          Get true if this object is permanent.
 void setDescription(String description)
          Set the description field.
 void setName(String name)
          Set the name field.
 void setOperation(org.codehaus.plexus.security.rbac.Operation operation)
          Set the operation field.
 void setPermanent(boolean permanent)
          Set true if this object is permanent.
 void setResource(org.codehaus.plexus.security.rbac.Resource resource)
          Set the resource field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdoPermission

public JdoPermission()
Method Detail

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getDescription

public String getDescription()
Get the description field.

Specified by:
getDescription in interface org.codehaus.plexus.security.rbac.Permission
Returns:
String

getName

public String getName()
Get the name field.

Specified by:
getName in interface org.codehaus.plexus.security.rbac.Permission
Returns:
String

getOperation

public org.codehaus.plexus.security.rbac.Operation getOperation()
Get the operation field.

Specified by:
getOperation in interface org.codehaus.plexus.security.rbac.Permission
Returns:
Operation

getResource

public org.codehaus.plexus.security.rbac.Resource getResource()
Get the resource field.

Specified by:
getResource in interface org.codehaus.plexus.security.rbac.Permission
Returns:
Resource

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

isPermanent

public boolean isPermanent()
Get true if this object is permanent.

Specified by:
isPermanent in interface org.codehaus.plexus.security.rbac.Permission
Returns:
boolean

setDescription

public void setDescription(String description)
Set the description field.

Specified by:
setDescription in interface org.codehaus.plexus.security.rbac.Permission
Parameters:
description -

setName

public void setName(String name)
Set the name field.

Specified by:
setName in interface org.codehaus.plexus.security.rbac.Permission
Parameters:
name -

setOperation

public void setOperation(org.codehaus.plexus.security.rbac.Operation operation)
Set the operation field.

Specified by:
setOperation in interface org.codehaus.plexus.security.rbac.Permission
Parameters:
operation -

setPermanent

public void setPermanent(boolean permanent)
Set true if this object is permanent.

Specified by:
setPermanent in interface org.codehaus.plexus.security.rbac.Permission
Parameters:
permanent -

setResource

public void setResource(org.codehaus.plexus.security.rbac.Resource resource)
Set the resource field.

Specified by:
setResource in interface org.codehaus.plexus.security.rbac.Permission
Parameters:
resource -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.