Class EQFunction

java.lang.Object
com.foreach.across.modules.entity.query.EQFunction
All Implemented Interfaces:
EQType

public final class EQFunction extends Object implements EQType
Represents a function value. A function will be evaluated at runtime to determine the actual arguments returned. A function is identified by a name and optional set of arguments.
Since:
2.0.0
Author:
Arne Vandamme
See Also:
  • Constructor Details

    • EQFunction

      public EQFunction(String name)
    • EQFunction

      public EQFunction(String name, Collection<EQType> arguments)
    • EQFunction

      public EQFunction(@NonNull @NonNull String name, @NonNull @NonNull EQType[] arguments)
  • Method Details

    • getName

      public String getName()
      Returns:
      name of the function
    • getArguments

      public EQType[] getArguments()
      Returns:
      arguments for this function
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object