Class EntityPrinter


  • public class EntityPrinter
    extends java.lang.Object
    Prints the model of an entity.
    Author:
    harald
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String print()
      Creates a pretty print of the entity model.
      • Methods inherited from class java.lang.Object

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

      • EntityPrinter

        public EntityPrinter​(Entity entity,
                             PrintConfiguration configuration)
        Creates an entity printer.
        Parameters:
        entity - the entity to print
        configuration - the printing configuration
    • Method Detail

      • print

        public java.lang.String print()
        Creates a pretty print of the entity model.
        Returns:
        the printed entity model