java.lang.Object
org.tentackle.model.print.AttributePrinter
Pretty printer for attribute lines.
- Author:
- harald
-
Constructor Summary
ConstructorDescriptionAttributePrinter
(Attribute attribute, PrintConfiguration configuration) Creates an attribute printer. -
Method Summary
Modifier and TypeMethodDescriptionPrints the attribute's column name.Prints the attribute's comment string.Prints the attribute's java name.Prints the attribute's type.
-
Constructor Details
-
AttributePrinter
Creates an attribute printer.- Parameters:
attribute
- the attributeconfiguration
- the printing configuration
-
-
Method Details
-
printType
Prints the attribute's type.- Returns:
- the type
-
printJavaName
Prints the attribute's java name.- Returns:
- the name
-
printColumnName
Prints the attribute's column name.- Returns:
- the column
-
printComment
Prints the attribute's comment string.- Returns:
- the comment
-