net.sourceforge.stripes.examples.bugzooky.biz
Class Component

java.lang.Object
  extended by net.sourceforge.stripes.examples.bugzooky.biz.Component

public class Component
extends Object

Class that represents a compopnent of a software system against which bugs can be filed.

Author:
Tim Fennell

Constructor Summary
Component()
          Default constructor.
Component(String name)
          Constructs a new component with the supplied name.
 
Method Summary
 boolean equals(Object obj)
          Perform equality checks based on identity.
 Integer getId()
          Gets the ID of the Component.
 String getName()
          Gets the name of the Component - may be null if one is not set.
 void setId(Integer id)
          Sets the ID of the Component.
 void setName(String name)
          Sets the name of the Component.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Component

public Component()
Default constructor.


Component

public Component(String name)
Constructs a new component with the supplied name.

Method Detail

getId

public Integer getId()
Gets the ID of the Component.


setId

public void setId(Integer id)
Sets the ID of the Component.


getName

public String getName()
Gets the name of the Component - may be null if one is not set.


setName

public void setName(String name)
Sets the name of the Component.


equals

public boolean equals(Object obj)
Perform equality checks based on identity.

Overrides:
equals in class Object


© Copyright 2005, Stripes Development Team.