com.atlassian.jira.security.roles
Class ProjectRoleImpl
java.lang.Object
com.atlassian.jira.security.roles.ProjectRoleImpl
- All Implemented Interfaces:
- ProjectRole
public class ProjectRoleImpl
- extends Object
- implements ProjectRole
ProjectRoleImpl
public ProjectRoleImpl(String name,
String description)
ProjectRoleImpl
public ProjectRoleImpl(Long id,
String name,
String description)
getId
public 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 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 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(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.