|
TissueInfo API 20091124110011 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cornell.med.icb.tissueinfo.annotations.AnnotationType
public class AnnotationType
| Constructor Summary | |
|---|---|
AnnotationType(MutableString type)
|
|
| Method Summary | |
|---|---|
void |
associate(int sampleId,
int value)
|
void |
associate(int sampleId,
MutableString value)
|
IntSet |
getAnnotations(int sampleIndex)
Returns the annotations associated with this sample. |
int |
getNumberOfValues()
Returns the number of distinct value identifiers for this type. |
MutableString |
getType()
|
MutableString |
getValue(int valueIndex)
|
int |
getValueIndex(MutableString valueId)
Return the value that represents this value identifier in the annotation sets. |
void |
registerDefaultValue(MutableString annotationValue)
Register a default value for this type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationType(MutableString type)
| Method Detail |
|---|
public MutableString getType()
public void associate(int sampleId,
MutableString value)
public void associate(int sampleId,
int value)
public IntSet getAnnotations(int sampleIndex)
sampleIndex - Index of the sample
public int getValueIndex(MutableString valueId)
valueId - value identifier, such as lung, liver for tissue type annotations.
public int getNumberOfValues()
public MutableString getValue(int valueIndex)
public void registerDefaultValue(MutableString annotationValue)
annotationValue - Default value.
|
TissueInfo API 20091124110011 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||