compbio.data.msa
Class Category

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

public class Category
extends java.lang.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 java.lang.String CATEGORY_ALIGNMENT
          All of the Category names
static java.lang.String CATEGORY_CONSERVATION
           
static java.lang.String CATEGORY_DISORDER
           
 java.lang.String name
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static java.util.Set<Category> getCategories()
           
 java.util.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 java.lang.String CATEGORY_ALIGNMENT
All of the Category names

See Also:
Constant Field Values

CATEGORY_DISORDER

public static final java.lang.String CATEGORY_DISORDER
See Also:
Constant Field Values

CATEGORY_CONSERVATION

public static final java.lang.String CATEGORY_CONSERVATION
See Also:
Constant Field Values

name

public java.lang.String name
Method Detail

getServices

public java.util.Set<Services> getServices()

getCategories

public static java.util.Set<Category> getCategories()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object