it.openutils.hibernate.security.dataobject
Class SecurityRule

java.lang.Object
  extended by it.openutils.hibernate.security.dataobject.SecurityRule
All Implemented Interfaces:
java.io.Serializable

public class SecurityRule
extends java.lang.Object
implements java.io.Serializable

Version:
$Id: SecurityRule.java 729 2008-03-06 09:26:46Z fcarone $ A security rule
Author:
fcarone
See Also:
Serialized Form

Constructor Summary
SecurityRule()
           
 
Method Summary
 java.lang.Boolean getDeleted()
          Returns the deleted.
 java.util.Map<java.lang.String,java.lang.String> getEntities()
          Returns the entities.
 java.lang.String getEntity()
          Returns the entity.
 java.lang.Long getId()
          Returns the id.
 ModifierEnum getModifier()
          Returns the modifier.
 java.util.List<PermissionEnum> getPermissions()
          Returns the permissions.
 java.lang.String getProperty()
          Returns the property.
 java.lang.String getRole()
          Returns the role.
 StatusEnum getStatus()
          Returns the status.
 java.lang.String getValue()
          Returns the value.
 boolean isEnabled()
           
 void setDeleted(java.lang.Boolean deleted)
          Sets the deleted.
 void setEntities(java.util.Map<java.lang.String,java.lang.String> entities)
          Sets the entities.
 void setEntity(java.lang.String entity)
          Sets the entity.
 void setId(java.lang.Long id)
          Sets the id.
 void setModifier(ModifierEnum modifier)
          Sets the modifier.
 void setPermissions(java.util.List<PermissionEnum> permissions)
          Sets the permissions.
 void setProperty(java.lang.String property)
          Sets the property.
 void setRole(java.lang.String role)
          Sets the role.
 void setStatus(StatusEnum status)
          Sets the status.
 void setValue(java.lang.String value)
          Sets the value.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityRule

public SecurityRule()
Method Detail

getRole

public java.lang.String getRole()
Returns the role.

Returns:
the role

setRole

public void setRole(java.lang.String role)
Sets the role.

Parameters:
role - the role to set

getEntity

public java.lang.String getEntity()
Returns the entity.

Returns:
the entity

setEntity

public void setEntity(java.lang.String entity)
Sets the entity.

Parameters:
entity - the entity to set

getProperty

public java.lang.String getProperty()
Returns the property.

Returns:
the property

setProperty

public void setProperty(java.lang.String property)
Sets the property.

Parameters:
property - the property to set

getValue

public java.lang.String getValue()
Returns the value.

Returns:
the value

setValue

public void setValue(java.lang.String value)
Sets the value.

Parameters:
value - the value to set

getModifier

public ModifierEnum getModifier()
Returns the modifier.

Returns:
the modifier

setModifier

public void setModifier(ModifierEnum modifier)
Sets the modifier.

Parameters:
modifier - the modifier to set

getPermissions

public java.util.List<PermissionEnum> getPermissions()
Returns the permissions.

Returns:
the permissions

setPermissions

public void setPermissions(java.util.List<PermissionEnum> permissions)
Sets the permissions.

Parameters:
permissions - the permissions to set

getId

public java.lang.Long getId()
Returns the id.

Returns:
the id

setId

public void setId(java.lang.Long id)
Sets the id.

Parameters:
id - the id to set

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getStatus

public StatusEnum getStatus()
Returns the status.

Returns:
the status

setStatus

public void setStatus(StatusEnum status)
Sets the status.

Parameters:
status - the status to set

isEnabled

public boolean isEnabled()
Returns:
True if the rule is enabled

getEntities

public java.util.Map<java.lang.String,java.lang.String> getEntities()
Returns the entities.

Returns:
the entities

setEntities

public void setEntities(java.util.Map<java.lang.String,java.lang.String> entities)
Sets the entities.

Parameters:
entities - the entities to set

getDeleted

public java.lang.Boolean getDeleted()
Returns the deleted.

Returns:
the deleted

setDeleted

public void setDeleted(java.lang.Boolean deleted)
Sets the deleted.

Parameters:
deleted - the deleted to set


Copyright © 2008 Openmind. All Rights Reserved.