compbio.data.msa
Class Category

java.lang.Object
  extended by compbio.data.msa.Category

public class Category
extends Object

Class that splits Services to categories. Services themselves have no knowledge which category they belongs to. This class is responsible for initialization of all the categories (done statically) and holds the category names as constrains. Two categories considered equals if their names are equals.

Version:
1.0 September 2011
Author:
pvtroshin

Field Summary
static String CATEGORY_ALIGNMENT
          All of the Category names
static String CATEGORY_CONSERVATION
           
static String CATEGORY_DISORDER
           
 String name
           
 
Method Summary
 boolean equals(Object obj)
           
static Set<Category> getCategories()
           
 Set<Services> getServices()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CATEGORY_ALIGNMENT

public static final String CATEGORY_ALIGNMENT
All of the Category names

See Also:
Constant Field Values

CATEGORY_DISORDER

public static final String CATEGORY_DISORDER
See Also:
Constant Field Values

CATEGORY_CONSERVATION

public static final String CATEGORY_CONSERVATION
See Also:
Constant Field Values

name

public String name
Method Detail

getServices

public Set<Services> getServices()

getCategories

public static Set<Category> getCategories()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object