Class CpoFunctionBean
java.lang.Object
org.synchronoss.cpo.core.meta.bean.CpoFunctionBean
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CpoFunction
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the human-readable description of this function, as loaded from the meta XML.Gets the native (SQL/CQL) expression executed by this function.getName()Gets the name of this function.inthashCode()voidsetDescription(String description) Sets the human-readable description of this function.voidsetExpression(String expression) Sets the native (SQL/CQL) expression executed by this function.voidSets the name of this function.toString()
-
Constructor Details
-
CpoFunctionBean
public CpoFunctionBean()Creates an empty instance.
-
-
Method Details
-
getName
Gets the name of this function.- Returns:
- the function name
-
setName
Sets the name of this function.- Parameters:
name- the function name
-
getDescription
Gets the human-readable description of this function, as loaded from the meta XML.- Returns:
- the description, or
nullif none was specified
-
setDescription
Sets the human-readable description of this function.- Parameters:
description- the description
-
getExpression
Gets the native (SQL/CQL) expression executed by this function.- Returns:
- the native expression
-
setExpression
Sets the native (SQL/CQL) expression executed by this function.- Parameters:
expression- the native expression
-
toString
-
hashCode
public int hashCode() -
equals
-