com.taskadapter.redmineapi.bean
Class IssueCategory

java.lang.Object
  extended by com.taskadapter.redmineapi.bean.IssueCategory
All Implemented Interfaces:
Identifiable, Serializable

public class IssueCategory
extends Object
implements Identifiable, Serializable

Redmine issue category.

Author:
Matthias Paul Scholz
See Also:
Serialized Form

Constructor Summary
IssueCategory()
          No-params constructor is required for reflective construction.
IssueCategory(Project project, String name)
          Constructor with some mandatory fields.
 
Method Summary
 boolean equals(Object o)
           
 User getAssignee()
           
 Integer getId()
           
 String getName()
           
 Project getProject()
           
 int hashCode()
           
 void setAssignee(User assignee)
           
 void setId(Integer id)
           
 void setName(String name)
           
 void setProject(Project project)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IssueCategory

public IssueCategory()
No-params constructor is required for reflective construction.


IssueCategory

public IssueCategory(Project project,
                     String name)
Constructor with some mandatory fields.

Parameters:
project - the Project
name - the name
Method Detail

getId

public Integer getId()
Specified by:
getId in interface Identifiable

setId

public void setId(Integer id)

getName

public String getName()

setName

public void setName(String name)

getProject

public Project getProject()

setProject

public void setProject(Project project)

getAssignee

public User getAssignee()

setAssignee

public void setAssignee(User assignee)

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 © 2012. All Rights Reserved.