com.danube.scrumworks.api2
Class Permission

java.lang.Object
  extended by com.danube.scrumworks.api2.Permission
All Implemented Interfaces:
com.danube.scrumworks.util.HasName, java.io.Serializable

public class Permission
extends java.lang.Object
implements java.io.Serializable, com.danube.scrumworks.util.HasName

Product level restrictions that can be added to a product role.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.danube.scrumworks.util.HasName
com.danube.scrumworks.util.HasName.CompareIgnoreCase
 
Field Summary
 
Fields inherited from interface com.danube.scrumworks.util.HasName
COMPARATOR, NAME_MAPPING
 
Constructor Summary
Permission()
          Constructs a new Permission.
 
Method Summary
 java.lang.String getDescription()
          Gets the description.
 java.lang.String getGroup()
          Gets the categorization group.
 java.lang.Integer getId()
          Gets the id.
 java.util.List<Permission> getiDependOn()
          Gets the permissions that this permission depends on.
 java.lang.String getName()
          Gets the name.
 void setDescription(java.lang.String description)
          Sets the description.
 void setGroup(java.lang.String group)
          Sets the categorization group.
 void setId(java.lang.Integer id)
          Sets the id.
 void setiDependOn(java.util.List<Permission> iDependOn)
          Sets permissions that this depends on.
 void setName(java.lang.String name)
          Sets the name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Permission

public Permission()
Constructs a new Permission.

Method Detail

getId

public final java.lang.Integer getId()
Gets the id.

Returns:
the id

setId

public final void setId(java.lang.Integer id)
Sets the id.

Parameters:
id - the new id

getName

public final java.lang.String getName()
Gets the name.

Specified by:
getName in interface com.danube.scrumworks.util.HasName
Returns:
the name

setName

public final void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getDescription

public final java.lang.String getDescription()
Gets the description.

Returns:
the description

setDescription

public final void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - the new description

getGroup

public final java.lang.String getGroup()
Gets the categorization group.

Returns:
the categorization group

setGroup

public final void setGroup(java.lang.String group)
Sets the categorization group.

Parameters:
group - the new group

getiDependOn

public final java.util.List<Permission> getiDependOn()
Gets the permissions that this permission depends on.

Returns:
all permissions that this permission depends on.

setiDependOn

public final void setiDependOn(java.util.List<Permission> iDependOn)
Sets permissions that this depends on.

Parameters:
iDependOn - the permissions that this permission depends on