|
Teiid 8.3.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.metadata.FunctionParameter
public class FunctionParameter
A function parameter defines the name and description of an input or output
parameter for a function. The name should not be null, but that is not
verified by this class. Validation of this object can be done with the
FunctionMetadataValidator. The type string used in the function
parameter should be one of the standard type names defined in
DataTypeManager.DefaultDataTypes.
| Field Summary | |
|---|---|
static String |
OUTPUT_PARAMETER_NAME
|
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String OUTPUT_PARAMETER_NAME
| Constructor Detail |
|---|
public FunctionParameter()
public FunctionParameter(String name,
String type)
name - Nametype - Type from standard set of types
public FunctionParameter(String name,
String type,
String description)
name - Nametype - Type from standard set of typesdescription - Description
public FunctionParameter(String name,
String type,
String description,
boolean vararg)
| Method Detail |
|---|
public 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()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic void setVarArg(boolean isVarArg)
public boolean isVarArg()
|
Teiid 8.3.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||