public class FunctionParameter extends BaseColumn
FunctionMetadataValidator. The type string used in the function
parameter should be one of the standard type names defined in
DataTypeManager.DefaultDataTypes.BaseColumn.NullTypeAbstractMetadataRecord.DataModifiable, AbstractMetadataRecord.Modifiable| Modifier and Type | Field and Description |
|---|---|
static String |
OUTPUT_PARAMETER_NAME |
DEFAULT_HANDLING, DEFAULT_PRECISION, DEFAULT_SCALE, EXPRESSION_DEFAULT, SPATIAL_COORD_DIMENSION, SPATIAL_SRID, SPATIAL_TYPENAME_DELIM_CHAR, RELATIONAL_URI| 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 |
getType()
Deprecated.
|
int |
hashCode()
Return hash code for this parameter.
|
boolean |
isVarArg() |
void |
setDescription(String description)
Set description of parameter
|
void |
setType(String type)
Deprecated.
|
void |
setVarArg(boolean isVarArg) |
String |
toString()
Return string version for debugging purposes
|
getArrayDimensions, getDatatype, getDatatypeUUID, getDefaultValue, getJavaType, getLength, getNativeType, getNullType, getPosition, getPrecision, getRadix, getRuntimeType, getScale, isDefaultPrecisionScale, setDatatype, setDatatype, setDatatype, setDatatypeUUID, setDefaultValue, setLength, setNativeType, setNullType, setPosition, setPrecision, setRadix, setRuntimeType, setScalegetAnnotation, getCanonicalName, getFullName, getIncomingObjects, getName, getNameInSource, getParent, getProperties, getProperty, getSourceName, getSQLString, getSQLString, getUUID, isUUIDSet, setAnnotation, setIncomingObjects, setName, setNameInSource, setProperties, setProperty, setUUIDpublic 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 getDescription()
public void setDescription(String description)
description - Descriptionpublic String getType()
BaseColumn.getRuntimeType()DataTypeManager.DefaultDataTypespublic void setType(String type)
BaseColumn.setRuntimeType(String)type - Type of parameterDataTypeManager.DefaultDataTypespublic int hashCode()
hashCode in class AbstractMetadataRecordpublic boolean equals(Object obj)
equals in class AbstractMetadataRecordpublic String toString()
toString in class AbstractMetadataRecordpublic void setVarArg(boolean isVarArg)
public boolean isVarArg()
Copyright © 2017 JBoss by Red Hat. All rights reserved.