|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjigcell.compare.data.type.TypeChecker
jigcell.compare.data.type.ListTypeChecker
jigcell.compare.data.type.StructuredTypeChecker
jigcell.compare.data.type.TimeSeriesTypeChecker
public class TimeSeriesTypeChecker
Type for time series data.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
| Field Summary | |
|---|---|
protected static java.lang.String |
DEFAULT_SERIESNAME
Default prefix for series with no names |
private java.lang.String[] |
seriesNames
Series names |
protected static java.lang.String |
TYPE_NAME
Name of this type |
protected static ITypeChecker |
TYPE_SINGLETON
Instance of this type |
| Fields inherited from class jigcell.compare.data.type.TypeChecker |
|---|
COMPARATOR_NAME |
| Fields inherited from interface jigcell.compare.ITypeChecker |
|---|
ATTRIBUTE_TYPE, METHOD_GENERATE, OPTION_TYPECHECKER |
| Constructor Summary | |
|---|---|
protected |
TimeSeriesTypeChecker()
Creates a new type checker. |
|
TimeSeriesTypeChecker(java.lang.String typeName)
Creates a new type checker. |
| Method Summary | |
|---|---|
static ITypeChecker |
getInstance()
A type checker. |
java.lang.String |
getName()
A name for this type. |
java.lang.String |
getName(long pos)
A name for the element at this position. Implementations that do not want to provide a name should return null. |
ITypeChecker |
getTypeChecker(long pos)
A type checker for the element at this position. Implementations that do not want to provide a type checker should return null. |
boolean |
isCompatible(ITypeChecker type)
Whether a data type can be converted to this type. |
boolean |
validate(IDataElement data)
Whether a data element is an instance of this type. |
| Methods inherited from class jigcell.compare.data.type.StructuredTypeChecker |
|---|
getDescription, getPrototype |
| Methods inherited from class jigcell.compare.data.type.ListTypeChecker |
|---|
getType |
| Methods inherited from class jigcell.compare.data.type.TypeChecker |
|---|
compareByName, getDescription, getTypeCheckerForGenerator, isCompatible, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jigcell.compare.ITypeChecker |
|---|
getDescription, getType |
| Field Detail |
|---|
protected static final java.lang.String DEFAULT_SERIESNAME
protected static final java.lang.String TYPE_NAME
protected static final ITypeChecker TYPE_SINGLETON
private java.lang.String[] seriesNames
| Constructor Detail |
|---|
public TimeSeriesTypeChecker(java.lang.String typeName)
typeName - An encoded name for the time series described by this type checker. The encoded name has the form "time-X-Y series" where
there can be any number of series names specified.protected TimeSeriesTypeChecker()
| Method Detail |
|---|
public static ITypeChecker getInstance()
public java.lang.String getName()
getName in interface ITypeCheckergetName in class ListTypeCheckerpublic java.lang.String getName(long pos)
getName in interface IStructuredTypeCheckergetName in class StructuredTypeCheckerpublic ITypeChecker getTypeChecker(long pos)
getTypeChecker in interface IStructuredTypeCheckergetTypeChecker in class StructuredTypeCheckerpublic boolean isCompatible(ITypeChecker type)
isCompatible in interface ITypeCheckerisCompatible in class TypeCheckertype - Type to convert frompublic boolean validate(IDataElement data)
validate in interface ITypeCheckervalidate in class TypeCheckerdata - Data element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||