gov.nih.nci.caarray.external.v1_0.query
Class AnnotationCriterion

java.lang.Object
  extended by gov.nih.nci.caarray.external.v1_0.query.AnnotationCriterion
All Implemented Interfaces:
java.io.Serializable

public class AnnotationCriterion
extends java.lang.Object
implements java.io.Serializable

An AnnotationCriterion specifies a criterion that matches Characteristics having the referenced category and given value.

Author:
dkokotov
See Also:
Serialized Form

Constructor Summary
AnnotationCriterion()
          No-arg constructor.
AnnotationCriterion(CaArrayEntityReference category, java.lang.String value)
          Constructor for AnnotationCriterion with given category and value.
 
Method Summary
 CaArrayEntityReference getCategory()
           
 java.lang.String getValue()
           
 void setCategory(CaArrayEntityReference category)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationCriterion

public AnnotationCriterion()
No-arg constructor.


AnnotationCriterion

public AnnotationCriterion(CaArrayEntityReference category,
                           java.lang.String value)
Constructor for AnnotationCriterion with given category and value.

Parameters:
category - the reference to the category
value - the value to match against
Method Detail

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set

getCategory

public CaArrayEntityReference getCategory()
Returns:
the category

setCategory

public void setCategory(CaArrayEntityReference category)
Parameters:
category - the category to set