Package com.rapidminer.belt.util
Class ColumnAnnotation
- java.lang.Object
-
- com.rapidminer.belt.util.ColumnAnnotation
-
- All Implemented Interfaces:
ColumnMetaData
public class ColumnAnnotation extends java.lang.Object implements ColumnMetaData
A column annotation in the form of a singleString
. There are no restrictions on the content of the annotation other than being non-null.- Author:
- Michael Knopf
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.rapidminer.belt.util.ColumnMetaData
ColumnMetaData.Uniqueness
-
-
Constructor Summary
Constructors Constructor Description ColumnAnnotation(java.lang.String annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
annotation()
Returns the column annotation.boolean
equals(java.lang.Object other)
int
hashCode()
java.lang.String
toString()
java.lang.String
type()
The unique type id of the column meta data.ColumnMetaData.Uniqueness
uniqueness()
The uniqueness level of the meta data.
-
-
-
Method Detail
-
annotation
public java.lang.String annotation()
Returns the column annotation.- Returns:
- the annotation
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
uniqueness
public ColumnMetaData.Uniqueness uniqueness()
Description copied from interface:ColumnMetaData
The uniqueness level of the meta data. Defaults toColumnMetaData.Uniqueness.NONE
(no restrictions).- Specified by:
uniqueness
in interfaceColumnMetaData
- Returns:
- the uniqueness level
-
type
public java.lang.String type()
Description copied from interface:ColumnMetaData
The unique type id of the column meta data.- Specified by:
type
in interfaceColumnMetaData
- Returns:
- the type id
-
-