Class FunctionCategory

java.lang.Object
com.appiancorp.suiteapi.expression.FunctionCategory
All Implemented Interfaces:
Serializable, Cloneable, Comparable

public class FunctionCategory extends Object implements Serializable, Comparable, Cloneable
This class represents a function category in the Expression Editor.
See Also:
  • Constructor Details

    • FunctionCategory

      public FunctionCategory()
    • FunctionCategory

      public FunctionCategory(FunctionCategory fc)
    • FunctionCategory

      public FunctionCategory(String name)
    • FunctionCategory

      public FunctionCategory(String name, List<Function> functions)
  • Method Details

    • getFunctionsList

      public List<Function> getFunctionsList()
      Gets the functions in this category
      Returns:
      an array of Function objects representing the functions in this category
      See Also:
    • getFunctions

      public Function[] getFunctions()
      Keep this as the JavaScript side needs it instead of the List. Ack.
      Returns:
    • setFunctionsList

      public void setFunctionsList(List<Function> functions)
      Sets the functions in this category
      Parameters:
      functions - an array of Function objects representing the functions to set in this category
      See Also:
    • addFunction

      public void addFunction(Function f)
    • getName

      public String getName()
      Gets the name of the category
      Returns:
      the unique string name of the category
    • setName

      public void setName(String name)
      Sets the unique string name of the category
      Parameters:
      name - The name of the category
    • getI18nKey

      public String getI18nKey()
    • setI18nKey

      public void setI18nKey(String i18nKey)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      String for debugging purposes
    • compareTo

      public int compareTo(Object o)
      Specified by:
      compareTo in interface Comparable
      Returns:
      int a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
    • clone

      public Object clone()
      Overrides:
      clone in class Object