Enum Class MetaDataType.ColumnType
- All Implemented Interfaces:
Serializable
,Comparable<MetaDataType.ColumnType>
,Constable
- Enclosing interface:
- MetaDataType<T extends MetaData>
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe creation date.Custom column value.The document type(s) DataType: OptionsValue | TextValueThe last modified date.Link to the document.No column value.The document prefix.The document title. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<MetaDataType.ColumnType>
getId()
boolean
isCompatibleWith
(Class<? extends MetaData> dataType) boolean
static MetaDataType.ColumnType
Returns the enum constant of this class with the specified name.static MetaDataType.ColumnType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TITLE
The document title. DataType: TextValue -
LINK
Link to the document. DataType: DateTimeValue -
PREFIX
The document prefix. DataType: TextValue -
DOCUMENT_TYPES
The document type(s) DataType: OptionsValue | TextValue -
CREATED
The creation date. DataType: DateTimeValue -
LAST_MODIFIED
The last modified date. DataType: DateTimeValue -
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
No column value. These values will never be shown as columns in lists.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getId
-
isCompatibleWith
-
isPredefined
public boolean isPredefined() -
fromId
-