|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.wordhoard.model.tconview.TconCategory
public class TconCategory
A corpus table of contents category.
A category is used to group together works in a table of contents view for a corpus. For example, in the Shakespeare "By Genre" view, "Comedies" is a category.
Each category has a title and an ordered list of work tags for the works in the category.
| Constructor Summary | |
|---|---|
TconCategory()
Creates a new table of contents category. |
|
| Method Summary | |
|---|---|
void |
addWorkTag(java.lang.String workTag)
Adds a work tag. |
java.lang.Long |
getId()
Gets the unique id. |
java.lang.String |
getTitle()
Gets the category title. |
java.util.List |
getWorkTags()
Gets the list of work tags. |
void |
setTitle(java.lang.String title)
Sets the category title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TconCategory()
| Method Detail |
|---|
public java.lang.Long getId()
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - The category title. public java.util.List getWorkTags()
public void addWorkTag(java.lang.String workTag)
The new work tag is added to the end of the ordered list of work tags.
workTag - Work tag.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||