Class ColumnAnnotation

  • All Implemented Interfaces:
    ColumnMetaData

    public class ColumnAnnotation
    extends java.lang.Object
    implements ColumnMetaData
    A column annotation in the form of a single String. There are no restrictions on the content of the annotation other than being non-null.
    Author:
    Michael Knopf
    • Constructor Detail

      • ColumnAnnotation

        public ColumnAnnotation​(java.lang.String annotation)
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • type

        public java.lang.String type()
        Description copied from interface: ColumnMetaData
        The unique type id of the column meta data.
        Specified by:
        type in interface ColumnMetaData
        Returns:
        the type id