public class ProcedureParameterTag extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_MODE |
static String |
ATTRIBUTE_PROPERTY |
static String |
ATTRIBUTE_SQLTYPE |
static String |
ATTRIBUTE_TYPENAME |
static String |
TAG_NAME |
Constructor and Description |
---|
ProcedureParameterTag(String property,
String mode)
Build a parameter with your values.
|
ProcedureParameterTag(String property,
String mode,
String sqlType)
Build a parameter with your values.
|
ProcedureParameterTag(String property,
String mode,
String sqlType,
String typeName)
Build a parameter with your values.
|
Modifier and Type | Method and Description |
---|---|
ParameterMode |
getMode()
mode from stored procedure parameter
|
String |
getProperty()
Property name from object parameter, can be a object like Author, Book,
etc.
|
int |
getSqlType()
SQL type from parameter
|
String |
getTagName()
Retrieve the tag name.
|
String |
getTypeName()
The fully-qualified name of an SQL structured type
|
public static final String TAG_NAME
public static final String ATTRIBUTE_PROPERTY
public static final String ATTRIBUTE_MODE
public static final String ATTRIBUTE_SQLTYPE
public static final String ATTRIBUTE_TYPENAME
public ProcedureParameterTag(String property, String mode, String sqlType, String typeName)
property
- Name from property.mode
- The mode from procedure parameter: IN, OUT, INOUT. The value
is insensitive-casesqlType
- Name of one constant at java.sql.Types, sample: BOOLEAN, CHAR,
etc. The value is insensitive-case. One type that's not belong
to jav.sql.Types throw one ConfigurationException.typeName
- the fully-qualified name of an SQL structured typeRepositoryException
- TODO javadocpublic ProcedureParameterTag(String property, String mode, String sqlType)
property
- Name from property.mode
- The mode from procedure parameter: IN, OUT, INOUT. The value
is insensitive-casesqlType
- Name of one constant at java.sql.Types, sample: BOOLEAN, CHAR,
etc. The value is insensitive-case. One type that's not belong
to jav.sql.Types throw one ConfigurationException.RepositoryException
- TODO javadocpublic ProcedureParameterTag(String property, String mode)
property
- Name from property.mode
- The mode from procedure parameter: IN, OUT, INOUT. The value
is insensitive-caseRepositoryException
- TODO javadocpublic String getTagName()
paramenter
.public String getProperty()
public int getSqlType()
public ParameterMode getMode()
public String getTypeName()
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.