|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttextclassifier.ARCBC.Category
public class Category
Represents a classification category
Constructor Summary | |
---|---|
Category(int id,
java.lang.String name,
java.lang.String description)
Constructor of the class Category |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object ocat2)
Compares two objects of the class Category |
int |
getId()
Returns a value of number identifier of a category |
java.lang.String |
getName()
Returns a name of a category |
java.lang.String |
toShortString()
Converts information about a category into a shorter string form |
java.lang.String |
toString()
Converts information about a category into a string form |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Category(int id, java.lang.String name, java.lang.String description)
id
- number identifier of a categoryname
- name of the categorydescription
- description of the category in a form of stringMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toShortString()
public int getId()
public java.lang.String getName()
public boolean equals(java.lang.Object ocat2)
equals
in class java.lang.Object
ocat2
- the second object to compare
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |