A
- the generic type@Deprecated public class SqlProcedure<A extends DbmsAdaptor<A>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SqlProcedure.Parameter<A extends DbmsAdaptor<A>>
Deprecated.
The Class Parameter.
|
Modifier and Type | Field and Description |
---|---|
protected String |
code
Deprecated.
The code.
|
protected A |
dbms
Deprecated.
The dbms.
|
protected String |
name
Deprecated.
The name.
|
protected ArrayList<SqlProcedure.Parameter<A>> |
parameters
Deprecated.
The parameters.
|
protected SQL.DATATYPE |
returnType
Deprecated.
The return type.
|
protected int |
typeLength
Deprecated.
The type length.
|
Constructor and Description |
---|
SqlProcedure(A dbms,
String name,
SQL.DATATYPE returnType,
int typeLength,
String code,
SqlProcedure.Parameter<A>... parameters)
Deprecated.
Instantiates a new sql procedure.
|
Modifier and Type | Method and Description |
---|---|
protected StringBuilder |
assemble(StringBuilder sb)
Deprecated.
Assemble.
|
protected StringBuilder |
assembleCode(StringBuilder sb)
Deprecated.
Assemble code.
|
protected StringBuilder |
assembleHead(StringBuilder sb)
Deprecated.
Assemble head.
|
String |
CREATE_PROCEDURE()
Deprecated.
CREAT e_ procedure.
|
String |
getCode()
Deprecated.
Gets the code.
|
String |
getName()
Deprecated.
Gets the name.
|
ArrayList<SqlProcedure.Parameter<A>> |
getParameters()
Deprecated.
Gets the parameters.
|
SQL.DATATYPE |
getReturnType()
Deprecated.
Gets the return type.
|
int |
getTypeLength()
Deprecated.
Gets the type length.
|
void |
setCode(String code)
Deprecated.
Sets the code.
|
void |
setName(String name)
Deprecated.
Sets the name.
|
void |
setParameters(ArrayList<SqlProcedure.Parameter<A>> parameters)
Deprecated.
Sets the parameters.
|
void |
setReturnType(SQL.DATATYPE returnType)
Deprecated.
Sets the return type.
|
void |
setTypeLength(int typeLength)
Deprecated.
Sets the type length.
|
protected String name
protected SQL.DATATYPE returnType
protected int typeLength
protected String code
protected ArrayList<SqlProcedure.Parameter<A extends DbmsAdaptor<A>>> parameters
protected A extends DbmsAdaptor<A> dbms
public SqlProcedure(A dbms, String name, SQL.DATATYPE returnType, int typeLength, String code, SqlProcedure.Parameter<A>... parameters)
dbms
- the dbmsname
- the namereturnType
- the return typetypeLength
- the type lengthcode
- the codeparameters
- the parameterspublic String getName()
public SQL.DATATYPE getReturnType()
public int getTypeLength()
public String getCode()
public ArrayList<SqlProcedure.Parameter<A>> getParameters()
public void setName(String name)
name
- the new namepublic void setReturnType(SQL.DATATYPE returnType)
returnType
- the new return typepublic void setTypeLength(int typeLength)
typeLength
- the new type lengthpublic void setCode(String code)
code
- the new codepublic void setParameters(ArrayList<SqlProcedure.Parameter<A>> parameters)
parameters
- the new parametersprotected StringBuilder assembleHead(StringBuilder sb)
sb
- the sbprotected StringBuilder assemble(StringBuilder sb)
sb
- the sbprotected StringBuilder assembleCode(StringBuilder sb)
sb
- the sbpublic String CREATE_PROCEDURE()
Copyright © 2003–2022 XDEV Software. All rights reserved.