public class FunctionParameter extends BaseColumn
DataTypeManager.DefaultDataTypes
.BaseColumn.NullType
AbstractMetadataRecord.DataModifiable, AbstractMetadataRecord.Modifiable
Modifier and Type | Field and Description |
---|---|
static String |
OUTPUT_PARAMETER_NAME |
DEFAULT_HANDLING, DEFAULT_PRECISION, DEFAULT_SCALE, EXPRESSION_DEFAULT, OMIT_DEFAULT, SPATIAL_COORD_DIMENSION, SPATIAL_SRID, SPATIAL_TYPE
NAME_DELIM_CHAR, RELATIONAL_PREFIX
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
|
FunctionMethod |
getParent() |
String |
getType()
Deprecated.
|
int |
hashCode()
Return hash code for this parameter.
|
boolean |
isVarArg() |
void |
setDescription(String description)
Set description of parameter
|
void |
setParent(FunctionMethod functionMethod) |
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, setScale
getAnnotation, getCanonicalName, getFullName, getIdentifier, getIncomingObjects, getName, getNameInSource, getProperties, getProperty, getProperty, getSourceName, getSQLString, getSQLString, getUUID, isUUIDSet, setAnnotation, setIncomingObjects, setName, setNameInSource, setProperties, setProperty, setUUID
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 getDescription()
public void setDescription(String description)
description
- Descriptionpublic String getType()
BaseColumn.getRuntimeType()
DataTypeManager.DefaultDataTypes
public void setType(String type)
BaseColumn.setRuntimeType(String)
type
- Type of parameterDataTypeManager.DefaultDataTypes
public int hashCode()
hashCode
in class AbstractMetadataRecord
public boolean equals(Object obj)
equals
in class AbstractMetadataRecord
public String toString()
toString
in class AbstractMetadataRecord
public void setVarArg(boolean isVarArg)
public boolean isVarArg()
public void setParent(FunctionMethod functionMethod)
public FunctionMethod getParent()
getParent
in class AbstractMetadataRecord
Copyright © 2020. All rights reserved.