Class ColumnTemplate<T>

  • Type Parameters:
    T - The column data type.

    public class ColumnTemplate<T>
    extends Object
    Description of a template column.
    Author:
    Damien Carbonne
    • Method Detail

      • getName

        public String getName()
        Returns:
        The column name.
      • getUsage

        public Usage getUsage()
        Returns:
        The column usage.
      • getDataType

        public Class<T> getDataType()
        Returns:
        The column data type.
      • getPrimitive

        public Primitive getPrimitive()
      • getDescription

        public String getDescription()
      • getCheckerOrNull

        public cdc.util.validation.checkers.Checker<T> getCheckerOrNull()
        Returns:
        The checker or null.
      • getCheckFailureSeverity

        public cdc.issues.api.IssueSeverity getCheckFailureSeverity()
        Returns:
        The severity of a check failure.
      • getImportConverter

        public Function<String,​T> getImportConverter()
        Returns:
        the converter used to convert a string to data type.
      • getExportConverter

        public Function<T,​String> getExportConverter()
        Returns:
        the converter used to convert a data type to a string.
      • getComment

        public String getComment()
        Returns:
        The comment that should be used to describe this column.