Class AttributePrinter


  • public class AttributePrinter
    extends java.lang.Object
    Pretty printer for attribute lines.
    Author:
    harald
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String printColumnName()
      Prints the attribute's column name.
      java.lang.String printComment()
      Prints the attribute's comment string.
      java.lang.String printJavaName()
      Prints the attribute's java name.
      java.lang.String printType()
      Prints the attribute's type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AttributePrinter

        public AttributePrinter​(Attribute attribute,
                                PrintConfiguration configuration)
        Creates an attribute printer.
        Parameters:
        attribute - the attribute
        configuration - the printing configuration
    • Method Detail

      • printType

        public java.lang.String printType()
        Prints the attribute's type.
        Returns:
        the type
      • printJavaName

        public java.lang.String printJavaName()
        Prints the attribute's java name.
        Returns:
        the name
      • printColumnName

        public java.lang.String printColumnName()
        Prints the attribute's column name.
        Returns:
        the column
      • printComment

        public java.lang.String printComment()
        Prints the attribute's comment string.
        Returns:
        the comment