public class Function extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Function>
Constructor and Description |
---|
Function() |
Function(Function f) |
Function(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addFunctionParameter(FunctionParameter parameter)
Adds a parameter to the function's parameters.
|
int |
compareTo(Function o) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCategoryName()
Gets the name of the parent category for the function
|
java.lang.String |
getDescription()
Gets the description of the function
|
java.lang.String |
getDomain()
Returns the domain of this function.
|
java.lang.String |
getExternalDescription()
Gets the path to the external resource containing the description of the function.
|
java.lang.String |
getFullName()
Gets a name with both domain and name in it but only if
getDomain() is not null or empty. |
FunctionParameter[] |
getFunctionParameters()
Gets the parameters for the function
|
java.lang.String |
getI18nKey() |
java.lang.String |
getName()
Gets the unique name of the function
|
java.lang.String |
getOutputSystemTypename()
Return the outputTypename of the function.
|
java.lang.String |
getOutputType() |
int |
hashCode() |
boolean |
isHiddenFromAutosuggest()
Gets
true or false depending on whether the function should be
hidden from autosuggest |
boolean |
isUnlimitedParameters()
Gets
true or false depending on whether the function can have
unlimited parameters |
void |
setCategoryName(java.lang.String name)
Sets the name of the parent category for the function
|
void |
setDescription(java.lang.String description)
Sets the description of the function
|
void |
setDomain(java.lang.String domain)
Sets the domain of this function.
|
void |
setExternalDescription(java.lang.String externalDescription)
Sets the path to the external resource containing the description of the function.
|
void |
setFunctionParameters(FunctionParameter[] parameters)
Sets the parameters for the function
|
void |
setHiddenFromAutosuggest(boolean hiddenFromAutosuggest)
Sets
true or false depending on whether the function should be
hidden from autosuggest |
void |
setI18nKey(java.lang.String i18nKey) |
void |
setName(java.lang.String name)
Sets the unique name of the function
|
void |
setOutputSystemTypename(java.lang.String outputSystemTypename)
Set the outputTypename of the function.
|
void |
setOutputType(java.lang.String outputType) |
void |
setUnlimitedParameters(boolean parameters)
Sets
true or false depending on whether the function can have
unlimited parameters |
java.lang.String |
toString() |
public Function()
public Function(java.lang.String name)
public Function(Function f)
public java.lang.String getCategoryName()
public void setCategoryName(java.lang.String name)
name
- String name of parent categorypublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- String description of functionpublic java.lang.String getExternalDescription()
An example of a valid path is
/components/expeditor/functions/text.jsp
public void setExternalDescription(java.lang.String externalDescription)
An example of a valid path is
/components/expeditor/functions/text.jsp
externalDescription
- path to the resourcepublic FunctionParameter[] getFunctionParameters()
FunctionParameter
objects representing the parameters for the
functionFunctionParameter
public void setFunctionParameters(FunctionParameter[] parameters)
parameters
- an array of FunctionParameter
objects representing the
parameters to set for the functionFunctionParameter
public void addFunctionParameter(FunctionParameter parameter)
parameter
- The parameter to add.public java.lang.String getName()
public java.lang.String getFullName()
getDomain()
is not null or empty.
Otherwise, this returns the same as getName()
returns.public void setName(java.lang.String name)
name
- Unique String name of functionpublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
public boolean isUnlimitedParameters()
true
or false
depending on whether the function can have
unlimited parameterstrue
or false
if function can have unlimited parameters or
notpublic void setUnlimitedParameters(boolean parameters)
true
or false
depending on whether the function can have
unlimited parametersparameters
- true
or false
if function can have unlimited
parameters or notpublic java.lang.String getOutputType()
public void setOutputType(java.lang.String outputType)
public java.lang.String getI18nKey()
public void setI18nKey(java.lang.String i18nKey)
public boolean isHiddenFromAutosuggest()
true
or false
depending on whether the function should be
hidden from autosuggestpublic void setHiddenFromAutosuggest(boolean hiddenFromAutosuggest)
true
or false
depending on whether the function should be
hidden from autosuggestpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(Function o)
compareTo
in interface java.lang.Comparable<Function>
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getOutputSystemTypename()
public void setOutputSystemTypename(java.lang.String outputSystemTypename)
outputTypename
- AppianType
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.