public class FunctionParameter extends Object implements Serializable
FunctionMetadataValidator. The type string used in the function
parameter should be one of the standard type names defined in
DataTypeManager.DefaultDataTypes.| Modifier and Type | Field and Description |
|---|---|
static String |
OUTPUT_PARAMETER_NAME |
| Constructor and Description |
|---|
FunctionParameter()
Construct a function parameter with no attributes.
|
FunctionParameter(String name,
String type)
Construct a function parameter with no description.
|
FunctionParameter(String name,
String type,
String description)
Construct a function parameter with all attributes.
|
FunctionParameter(String name,
String type,
String description,
boolean vararg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compare with other object for equality.
|
String |
getDescription()
Get description of parameter
|
String |
getName()
Return name of parameter.
|
String |
getType()
Get type of parameter
|
int |
hashCode()
Return hash code for this parameter.
|
boolean |
isVarArg() |
void |
setDescription(String description)
Set description of parameter
|
void |
setName(String name)
Set name
|
void |
setType(String type)
Set type of parameter
|
void |
setVarArg(boolean isVarArg) |
String |
toString()
Return string version for debugging purposes
|
public static final String OUTPUT_PARAMETER_NAME
public FunctionParameter()
public FunctionParameter(String name, String type)
name - Nametype - Type from standard set of typespublic FunctionParameter(String name, String type, String description)
name - Nametype - Type from standard set of typesdescription - Descriptionpublic String getName()
public void setName(String name)
name - Namepublic String getDescription()
public void setDescription(String description)
description - Descriptionpublic String getType()
DataTypeManager.DefaultDataTypespublic void setType(String type)
type - Type of parameterDataTypeManager.DefaultDataTypespublic int hashCode()
public boolean equals(Object obj)
public String toString()
public void setVarArg(boolean isVarArg)
public boolean isVarArg()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.