Class AttributePrinter


  • public class AttributePrinter
    extends Object
    Pretty printer for attribute lines.
    Author:
    harald
    • 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 String printType()
        Prints the attribute's type.
        Returns:
        the type
      • printJavaName

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

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

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