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.Stringannotation()Returns the column annotation.booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()java.lang.Stringtype()The unique type id of the column meta data.ColumnMetaData.Uniquenessuniqueness()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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
uniqueness
public ColumnMetaData.Uniqueness uniqueness()
Description copied from interface:ColumnMetaDataThe uniqueness level of the meta data. Defaults toColumnMetaData.Uniqueness.NONE(no restrictions).- Specified by:
uniquenessin interfaceColumnMetaData- Returns:
- the uniqueness level
-
type
public java.lang.String type()
Description copied from interface:ColumnMetaDataThe unique type id of the column meta data.- Specified by:
typein interfaceColumnMetaData- Returns:
- the type id
-
-