Klasse EntityFormat<E extends Entity>

java.lang.Object
de.esoco.entity.EntityFormat<E>
Alle implementierten Schnittstellen:
de.esoco.lib.expression.Function<E,String>, Function<E,String>

public class EntityFormat<E extends Entity> extends Object implements de.esoco.lib.expression.Function<E,String>
A function that converts an entity into a formatted string value.
  • Feldübersicht

    Von Schnittstelle geerbte Felder de.esoco.lib.expression.Function

    INPUT_PLACEHOLDER
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    EntityFormat(String nullString)
    Creates a new instance.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    evaluate(E entity)
    static String
    toString(Entity entity)
    Formats an entity in to a describing string.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von Schnittstelle geerbte Methoden de.esoco.lib.expression.Function

    andFinally, apply, from, getToken, is, then

    Von Schnittstelle geerbte Methoden java.util.function.Function

    andThen, compose
  • Konstruktordetails

    • EntityFormat

      public EntityFormat(String nullString)
      Creates a new instance.
      Parameter:
      nullString - The string to be displayed if the input entity is NULL
  • Methodendetails

    • toString

      public static String toString(Entity entity)
      Formats an entity in to a describing string.
      Parameter:
      entity - The entity to format
      Gibt zurück:
      The resulting string
    • evaluate

      public String evaluate(E entity)
      Angegeben von:
      evaluate in Schnittstelle de.esoco.lib.expression.Function<E extends Entity,String>