Class CpoFunctionBean

java.lang.Object
org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CpoFunction

public class CpoFunctionBean extends Object implements Serializable
Plain-data holder for the fields of a CPO function as loaded from meta XML: its name, native expression (SQL/CQL), and description. CpoFunction extends this with the runtime behavior (bound arguments).
Author:
dberry
See Also:
  • Constructor Details

    • CpoFunctionBean

      public CpoFunctionBean()
      Creates an empty instance.
  • Method Details

    • getName

      public String getName()
      Gets the name of this function.
      Returns:
      the function name
    • setName

      public void setName(String name)
      Sets the name of this function.
      Parameters:
      name - the function name
    • getDescription

      public String getDescription()
      Gets the human-readable description of this function, as loaded from the meta XML.
      Returns:
      the description, or null if none was specified
    • setDescription

      public void setDescription(String description)
      Sets the human-readable description of this function.
      Parameters:
      description - the description
    • getExpression

      public String getExpression()
      Gets the native (SQL/CQL) expression executed by this function.
      Returns:
      the native expression
    • setExpression

      public void setExpression(String expression)
      Sets the native (SQL/CQL) expression executed by this function.
      Parameters:
      expression - the native expression
    • toString

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

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

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