jim.pums.assess.bus
Class Category

java.lang.Object
  extended by jim.pums.assess.bus.Category
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class Category
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Category()
          Creates a new instance of Category
Category(java.lang.String name, int weight, int index)
           
Category(java.lang.String name, java.lang.String longname, java.lang.String description, int weight, int index)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String getDescription()
          Getter for property description.
 int getIndex()
          Getter for property index.
 java.lang.String getLongname()
          Getter for property longname.
 java.lang.String getName()
          Getter for property name.
 int getWeight()
          Getter for property weight.
 void setDescription(java.lang.String description)
          Setter for property description.
 void setIndex(int index)
          Setter for property index.
 void setLongname(java.lang.String longname)
          Setter for property longname.
 void setName(java.lang.String name)
          Setter for property name.
 void setWeight(int weight)
          Setter for property weight.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category()
Creates a new instance of Category


Category

public Category(java.lang.String name,
                int weight,
                int index)

Category

public Category(java.lang.String name,
                java.lang.String longname,
                java.lang.String description,
                int weight,
                int index)
Method Detail

getName

public java.lang.String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

getWeight

public int getWeight()
Getter for property weight.

Returns:
Value of property weight.

setWeight

public void setWeight(int weight)
Setter for property weight.

Parameters:
weight - New value of property weight.

getIndex

public int getIndex()
Getter for property index.

Returns:
Value of property index.

setIndex

public void setIndex(int index)
Setter for property index.

Parameters:
index - New value of property index.

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getLongname

public java.lang.String getLongname()
Getter for property longname.

Returns:
Value of property longname.

setLongname

public void setLongname(java.lang.String longname)
Setter for property longname.

Parameters:
longname - New value of property longname.

getDescription

public java.lang.String getDescription()
Getter for property description.

Returns:
Value of property description.

setDescription

public void setDescription(java.lang.String description)
Setter for property description.

Parameters:
description - New value of property description.