Creating a Taxonomic e-Science

org.cateproject.controller.flow.action.upload
Class AbstractMatrixHeader<T extends eu.etaxonomy.cdm.model.common.IdentifiableEntity>

java.lang.Object
  extended by org.cateproject.controller.flow.action.upload.AbstractMatrixHeader<T>
All Implemented Interfaces:
Serializable, Comparable<AbstractMatrixHeader<T>>

public class AbstractMatrixHeader<T extends eu.etaxonomy.cdm.model.common.IdentifiableEntity>
extends Object
implements Serializable, Comparable<AbstractMatrixHeader<T>>

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
AbstractMatrixHeader(String path, int index, Class<T> clazz, Map<Class,List<Class>> classes, eu.etaxonomy.cdm.api.service.ITermService termService)
           
 
Method Summary
 int compareTo(AbstractMatrixHeader o)
           
 Class<T> getClazz()
           
 Class getFieldType()
           
 MatrixHeader<T> getHeaderForObject(T o, org.springframework.core.convert.ConversionService conversionService)
           
 int getIndex()
           
 String getLabel()
           
protected  String getPath()
           
 String getPath(String prefix)
           
 HeaderPath[] getPaths()
           
 List<eu.etaxonomy.cdm.model.common.DefinedTermBase> getTerms()
           
 AbstractMatrixHeaderType getType()
           
 boolean isApplicable(Object o, org.springframework.core.convert.ConversionService conversionService)
           
 boolean isClassType()
           
 boolean isMap()
           
 boolean isNested()
           
 boolean isObjectType()
           
 boolean isSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

AbstractMatrixHeader

public AbstractMatrixHeader(String path,
                            int index,
                            Class<T> clazz,
                            Map<Class,List<Class>> classes,
                            eu.etaxonomy.cdm.api.service.ITermService termService)
Method Detail

isNested

public boolean isNested()

getPaths

public HeaderPath[] getPaths()

getHeaderForObject

public MatrixHeader<T> getHeaderForObject(T o,
                                          org.springframework.core.convert.ConversionService conversionService)

isApplicable

public boolean isApplicable(Object o,
                            org.springframework.core.convert.ConversionService conversionService)

isClassType

public boolean isClassType()

isObjectType

public boolean isObjectType()

getIndex

public int getIndex()

getLabel

public String getLabel()

getPath

public String getPath(String prefix)

getPath

protected String getPath()

compareTo

public int compareTo(AbstractMatrixHeader o)
Specified by:
compareTo in interface Comparable<AbstractMatrixHeader<T extends eu.etaxonomy.cdm.model.common.IdentifiableEntity>>

getType

public AbstractMatrixHeaderType getType()

getTerms

public List<eu.etaxonomy.cdm.model.common.DefinedTermBase> getTerms()

getClazz

public Class<T> getClazz()

getFieldType

public Class getFieldType()

isSet

public boolean isSet()

isMap

public boolean isMap()

Creating a Taxonomic e-Science

Copyright © 2010. All Rights Reserved.