Class AttributePrinter

java.lang.Object
org.tentackle.model.print.AttributePrinter

public class AttributePrinter extends Object
Pretty printer for attribute lines.
Author:
harald
  • Constructor Details

    • AttributePrinter

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

    • 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