Enum Class MetaDataType.ColumnType

java.lang.Object
java.lang.Enum<MetaDataType.ColumnType>
se.conciliate.extensions.documents.MetaDataType.ColumnType
All Implemented Interfaces:
Serializable, Comparable<MetaDataType.ColumnType>, Constable
Enclosing interface:
MetaDataType<T extends MetaData>

public static enum MetaDataType.ColumnType extends Enum<MetaDataType.ColumnType>
Column types are used by Modeling Tool's browser UI to determine in which column to place meta data of a certain type. This is useful to group different meta data from different document source under the same column. For example, two different document sources may both have the concept of document type. This enum is used to group both source's document type in the same column, even though they technically are different document types.
  • Enum Constant Details

    • TITLE

      public static final MetaDataType.ColumnType TITLE
      The document title. DataType: TextValue
    • PREFIX

      public static final MetaDataType.ColumnType PREFIX
      The document prefix. DataType: TextValue
    • DOCUMENT_TYPES

      public static final MetaDataType.ColumnType DOCUMENT_TYPES
      The document type(s) DataType: OptionsValue | TextValue
    • CREATED

      public static final MetaDataType.ColumnType CREATED
      The creation date. DataType: DateTimeValue
    • LAST_MODIFIED

      public static final MetaDataType.ColumnType LAST_MODIFIED
      The last modified date. DataType: DateTimeValue
    • CUSTOM

      public static final MetaDataType.ColumnType CUSTOM
      Custom column value. These values will be shown as columns when listing documents from this source but will never be merged into any of the standard columns.
    • NONE

      public static final MetaDataType.ColumnType NONE
      No column value. These values will never be shown as columns in lists.
  • Method Details

    • values

      public static MetaDataType.ColumnType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MetaDataType.ColumnType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public String getId()
    • isCompatibleWith

      public boolean isCompatibleWith(Class<? extends MetaData> dataType)
    • isPredefined

      public boolean isPredefined()
    • fromId

      public static Optional<MetaDataType.ColumnType> fromId(String id)