org.geworkbench.bison.annotation
Class CSAnnotationType<T extends DSNamed>

java.lang.Object
  extended by org.geworkbench.bison.annotation.CSAnnotationType<T>
All Implemented Interfaces:
DSAnnotationType<T>

public class CSAnnotationType<T extends DSNamed>
extends java.lang.Object
implements DSAnnotationType<T>

Author:
John Watkinson

Constructor Summary
CSAnnotationType(java.lang.Class<T> type, java.lang.String label)
           
 
Method Summary
 java.lang.String getLabel()
          Retrieves the label (name) for this annotation type.
 java.lang.Class<T> getType()
          Retrieves the type of the annotation type's associated values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSAnnotationType

public CSAnnotationType(java.lang.Class<T> type,
                        java.lang.String label)
Method Detail

getLabel

public java.lang.String getLabel()
Description copied from interface: DSAnnotationType
Retrieves the label (name) for this annotation type.

Specified by:
getLabel in interface DSAnnotationType<T extends DSNamed>

getType

public java.lang.Class<T> getType()
Description copied from interface: DSAnnotationType
Retrieves the type of the annotation type's associated values.

Specified by:
getType in interface DSAnnotationType<T extends DSNamed>