Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.extension.category
Class Category

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.extension.category.Category
All Implemented Interfaces:
de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable, Comparable<Category>

@Immutable
public final class Category
extends Object
implements de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable, Comparable<Category>

Represents a function category. Usually provided through the corresponding extension point.

Author:
Simon Templer

Constructor Summary
Category(String id, String name, String description)
          Create a function category
 
Method Summary
 int compareTo(Category o)
           
 String getDescription()
           
 String getId()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Category

public Category(String id,
                String name,
                String description)
Create a function category

Parameters:
id - the category id
name - the category name
description - the category description
Method Detail

getId

public String getId()
Specified by:
getId in interface de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
Returns:
the category id

getName

public String getName()
Returns:
the category name

getDescription

public String getDescription()
Returns:
the category description

compareTo

public int compareTo(Category o)
Specified by:
compareTo in interface Comparable<Category>
See Also:
Comparable.compareTo(java.lang.Object)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d