Class EntityPrinter


  • public class EntityPrinter
    extends Object
    Prints the model of an entity.
    Author:
    harald
    • 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 String print()
        Creates a pretty print of the entity model.
        Returns:
        the printed entity model