com.atlassian.jira.security.roles
Class ProjectRoleImpl
java.lang.Object
com.atlassian.jira.security.roles.ProjectRoleImpl
- All Implemented Interfaces:
- ProjectRole
public class ProjectRoleImpl
- extends java.lang.Object
- implements ProjectRole
Constructor Summary |
ProjectRoleImpl(java.lang.Long id,
java.lang.String name,
java.lang.String description)
|
ProjectRoleImpl(java.lang.String name,
java.lang.String description)
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getDescription()
Will get the description of this role, null if not set. |
java.lang.Long |
getId()
Will return the unique identifier for this project role. |
java.lang.String |
getName()
Will get the description of this role, null if not set. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ProjectRoleImpl
public ProjectRoleImpl(java.lang.String name,
java.lang.String description)
ProjectRoleImpl
public ProjectRoleImpl(java.lang.Long id,
java.lang.String name,
java.lang.String description)
getId
public java.lang.Long getId()
- Description copied from interface:
ProjectRole
- Will return the unique identifier for this project role.
- Specified by:
getId
in interface ProjectRole
- Returns:
- Long the unique id for this proejct role.
getName
public java.lang.String getName()
- Description copied from interface:
ProjectRole
- Will get the description of this role, null if not set.
- Specified by:
getName
in interface ProjectRole
- Returns:
- name or null if not set
getDescription
public java.lang.String getDescription()
- Description copied from interface:
ProjectRole
- Will get the description of this role, null if not set.
- Specified by:
getDescription
in interface ProjectRole
- Returns:
- description or null if not set
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2011 Atlassian. All Rights Reserved.