public class Parameter extends NamedObject
FunctionImport
.Modifier and Type | Method and Description |
---|---|
int |
getMaxLength()
Returns the maximum length of the parameter value.
|
String |
getMode()
Returns the mode of the parameter among "In", "Out", and "InOut".
|
int |
getPrecision()
Returns the precision of the parameter value.
|
int |
getScale()
Returns the scale of the parameter value.
|
String |
getType()
Returns the type of the parameter.
|
void |
setMaxLength(int maxLength)
Sets the maximum length of the parameter value.
|
void |
setMode(String mode)
Sets the mode of the parameter.
|
void |
setPrecision(int precision)
Sets the precision of the parameter value.
|
void |
setScale(int scale)
Sets the scale of the parameter value.
|
void |
setType(String type)
Sets the type of the parameter.
|
equals, getName, getNormalizedName, hashCode, toString
public Parameter(String name)
name
- The name of the parameter.public int getMaxLength()
public String getMode()
public int getPrecision()
public int getScale()
public String getType()
public void setMaxLength(int maxLength)
maxLength
- The maximum length of the parameter value.public void setMode(String mode)
mode
- The mode of the parameter.public void setPrecision(int precision)
precision
- The precision of the parameter value.public void setScale(int scale)
scale
- The scale of the parameter value.public void setType(String type)
type
- The type of the parameter.Copyright © 2005–2013. All rights reserved.