public class StoredProcedureMethod extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
StoredProcedureMethod.Builder |
Modifier and Type | Field and Description |
---|---|
private List<AnnotationInfo> |
annotations |
private List<Variable> |
arguments |
private MappingConstructorData |
mappingConstructor |
private String |
methodName |
private String |
qualifiedDtoClassName |
private boolean |
returnNull |
private TypeInfo |
returnTypeInfo |
private RowMapperData |
rowMapper |
private static long |
serialVersionUID |
private StoredProcedureData |
storedProcedure |
Modifier | Constructor and Description |
---|---|
private |
StoredProcedureMethod() |
Modifier and Type | Method and Description |
---|---|
StoredProcedureMethod |
addArgument(Variable argument)
Adds a variable to the stored procedure method.
|
List<AnnotationInfo> |
getAnnotations()
The annotations of the stored procedure method.
|
List<Variable> |
getArguments()
The arguments of the stored procedure method.
|
String |
getDtoFieldName()
Generates the name of the variable name which should be used for the DTO class.
|
String |
getMethodName()
The method name.
|
String |
getPackage()
The package of the of the stored procedure method.
|
String |
getQualifiedClassName()
The qualified class name of the stored procedure method.
|
String |
getQualifiedRowMapperClass()
Returns the qualified class name of the RowMapper.
|
TypeInfo |
getReturnTypeInfo()
The TypeInfo of the return value of the stored procedure method
|
String |
getSimpleClassName()
The simple class name.
|
String |
getStoredProcedureName()
The @StoredProcedure annotation.
|
String |
toString() |
boolean |
useNullInsteadOfAnException()
Returns if null should be used instead of throwing an exception if an entity is expected but nothing is returned
from the database.
|
private static final long serialVersionUID
private String qualifiedDtoClassName
private String methodName
private TypeInfo returnTypeInfo
private List<AnnotationInfo> annotations
private boolean returnNull
private StoredProcedureData storedProcedure
private RowMapperData rowMapper
private MappingConstructorData mappingConstructor
public StoredProcedureMethod addArgument(Variable argument)
argument
- the argument of the methodpublic boolean useNullInsteadOfAnException()
public String getQualifiedClassName()
public String getPackage()
public String getSimpleClassName()
public String getStoredProcedureName()
public String getDtoFieldName()
public String getMethodName()
public TypeInfo getReturnTypeInfo()
public List<Variable> getArguments()
public String getQualifiedRowMapperClass()
public List<AnnotationInfo> getAnnotations()
Copyright © 2015. All rights reserved.