|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.registry.model.CategoryType
public final class CategoryType
This class represents the category types supported by the registry that can be attached to service providers and services
Field Summary | |
---|---|
static java.util.List |
categories
Stores a reference to all the categoryTypes |
static CategoryType |
CATEGORY_DDC
Stores a reference to the DDC (dewey decimal characterisation) category |
static CategoryType |
CATEGORY_GENERAL_KEYWORDS
Stores a reference to the general keyword category. |
static CategoryType |
CATEGORY_LCSH
Stores a reference to the LCSH (library of congress subject headings) category. |
private java.lang.String |
name
Stores a reference to the name of the category. |
Constructor Summary | |
---|---|
private |
CategoryType(java.lang.String name)
Private constructor to create the supported category |
Method Summary | |
---|---|
boolean |
equals(CategoryType category)
Compares two category instances to see if they are equal |
static java.util.List |
getAllCategoryTypes()
Returns a list of all the supported category types |
java.lang.String |
getName()
Returns the name of the category |
java.lang.String |
toString()
Returns the to String representation of the category |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CategoryType CATEGORY_DDC
public static final CategoryType CATEGORY_LCSH
public static final CategoryType CATEGORY_GENERAL_KEYWORDS
private java.lang.String name
public static java.util.List categories
Constructor Detail |
---|
private CategoryType(java.lang.String name)
name
- The name of the category being createdMethod Detail |
---|
public static java.util.List getAllCategoryTypes()
public java.lang.String getName()
public boolean equals(CategoryType category)
category
- The category to compare against this instance
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |