Klasse EntityFunctions.GetExtraAttribute<E extends Entity,V>

java.lang.Object
de.esoco.lib.expression.function.AbstractFunction<E,V>
de.esoco.lib.expression.function.AbstractBinaryFunction<E,org.obrel.core.RelationType<V>,V>
de.esoco.lib.expression.function.GetElement<E,org.obrel.core.RelationType<V>,V>
de.esoco.entity.EntityFunctions.GetExtraAttribute<E,V>
Alle implementierten Schnittstellen:
de.esoco.lib.expression.BinaryFunction<E,org.obrel.core.RelationType<V>,V>, de.esoco.lib.expression.ElementAccess<org.obrel.core.RelationType<V>>, de.esoco.lib.expression.ElementAccessFunction<org.obrel.core.RelationType<V>,E,V>, de.esoco.lib.expression.Function<E,V>, Function<E,V>
Umschließende Klasse:
EntityFunctions

public static class EntityFunctions.GetExtraAttribute<E extends Entity,V> extends de.esoco.lib.expression.function.GetElement<E,org.obrel.core.RelationType<V>,V>
An element accessor that returns the value of a certain extra attribute from an entity input value.
  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen de.esoco.lib.expression.function.GetElement

    de.esoco.lib.expression.function.GetElement.GetField<I,O>, de.esoco.lib.expression.function.GetElement.GetListElement<O>, de.esoco.lib.expression.function.GetElement.GetMapValue<K,V>, de.esoco.lib.expression.function.GetElement.GetRelation<I extends org.obrel.core.Relatable,O>, de.esoco.lib.expression.function.GetElement.GetRelationValue<I extends org.obrel.core.Relatable,O>, de.esoco.lib.expression.function.GetElement.ReadField<I,O>
  • Feldübersicht

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

    INPUT_PLACEHOLDER
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    GetExtraAttribute(org.obrel.core.RelationType<V> key, V defaultValue)
    Creates a new instance that accesses a particular single-type relation.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected V
    getElementValue(E entity, org.obrel.core.RelationType<V> key)
     

    Von Klasse geerbte Methoden de.esoco.lib.expression.function.GetElement

    evaluate, getElementDescriptor

    Von Klasse geerbte Methoden de.esoco.lib.expression.function.AbstractBinaryFunction

    evaluate, getRightValue, paramsEqual, paramsHashCode, thenLeft, thenRight, toString

    Von Klasse geerbte Methoden de.esoco.lib.expression.function.AbstractFunction

    equals, getToken, hashCode

    Von Klasse geerbte Methoden java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

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

    from, withRight

    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

    • GetExtraAttribute

      public GetExtraAttribute(org.obrel.core.RelationType<V> key, V defaultValue)
      Creates a new instance that accesses a particular single-type relation.
      Parameter:
      key - The typed key of the extra attribute
      defaultValue - The default value if the attribute doesn't exist
  • Methodendetails

    • getElementValue

      protected V getElementValue(E entity, org.obrel.core.RelationType<V> key)
      Angegeben von:
      getElementValue in Klasse de.esoco.lib.expression.function.GetElement<E extends Entity,org.obrel.core.RelationType<V>,V>
      Siehe auch:
      • GetElement.getElementValue(Object, Object)