Class ProcedureOperationModel
java.lang.Object
org.eclipse.persistence.tools.dbws.OperationModel
org.eclipse.persistence.tools.dbws.ModelWithBuildSql
org.eclipse.persistence.tools.dbws.ProcedureOperationModel
- Direct Known Subclasses:
PLSQLProcedureOperationModel
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<DatabaseType[]> protected String
protected DatabaseType
protected List
<ProcedureType> protected boolean
protected boolean
protected int
protected String
protected String
Fields inherited from class org.eclipse.persistence.tools.dbws.ModelWithBuildSql
buildSql
Fields inherited from class org.eclipse.persistence.tools.dbws.OperationModel
attachmentType, binaryAttachment, isCollection, isSimpleXMLFormat, name, returnType, simpleXMLFormatTag, xmlTag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArgumentTypes
(DatabaseType[] dbTypes) Add to the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedures.void
buildOperation
(DBWSBuilder builder) List
<DatabaseType[]> Return the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedure arguments, or null if not set.Get the DatabaseType of the stored function's return argument.int
boolean
Indicates if this ProcedureOperationModel has types set for its stored procedure arguments, i.e.boolean
Indicates if this ProcedureOperationModel contains advanced Oracle and/or complex PL/SQL arguments.boolean
boolean
boolean
void
setArgumentTypes
(List<DatabaseType[]> argumentTypes) Set the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedures.void
setCatalogPattern
(String catalogPattern) void
setDbStoredFunctionReturnType
(DatabaseType dbStoredFunctionReturnType) Set the DatabaseType of the stored function's return argument.void
setDbStoredProcedures
(List<ProcedureType> dbStoredProcedures) void
setHasComplexArguments
(boolean hasComplexArguments) Sets the boolean that indicates if this ProcedureOperationModel contains advanced Oracle and/or complex PL/SQL arguments.void
setIsAdvancedJDBCProcedureOperation
(boolean isAdvancedJDBC) void
setOverload
(int overload) void
setProcedurePattern
(String procedurePattern) void
setSchemaPattern
(String schemaPattern) Methods inherited from class org.eclipse.persistence.tools.dbws.ModelWithBuildSql
getBuildSql, hasBuildSql, setBuildSql
Methods inherited from class org.eclipse.persistence.tools.dbws.OperationModel
getAttachmentType, getBinaryAttachment, getIsSimpleXMLFormat, getName, getReturnType, getSimpleXMLFormatTag, getXmlTag, isBatchSQLOperation, isCollection, isSimpleXMLFormat, isSQLOperation, isTableOperation, setAttachmentType, setBinaryAttachment, setIsCollection, setIsSimpleXMLFormat, setName, setReturnType, setSimpleXMLFormatTag, setXmlTag
-
Field Details
-
catalogPattern
-
schemaPattern
-
procedurePattern
-
dbStoredProcedures
-
overload
protected int overload -
isAdvancedJDBC
protected boolean isAdvancedJDBC -
argumentTypes
-
dbStoredFunctionReturnType
-
hasComplexArguments
protected boolean hasComplexArguments
-
-
Constructor Details
-
ProcedureOperationModel
public ProcedureOperationModel()
-
-
Method Details
-
isProcedureOperation
public boolean isProcedureOperation()- Overrides:
isProcedureOperation
in classOperationModel
-
isPLSQLProcedureOperation
public boolean isPLSQLProcedureOperation() -
getCatalogPattern
-
setCatalogPattern
-
getSchemaPattern
-
setSchemaPattern
-
getProcedurePattern
-
setProcedurePattern
-
getDbStoredProcedures
-
setDbStoredProcedures
-
getOverload
public int getOverload() -
setOverload
public void setOverload(int overload) -
isAdvancedJDBCProcedureOperation
public boolean isAdvancedJDBCProcedureOperation() -
setIsAdvancedJDBCProcedureOperation
public void setIsAdvancedJDBCProcedureOperation(boolean isAdvancedJDBC) -
buildOperation
- Overrides:
buildOperation
in classOperationModel
-
hasArgumentTypes
public boolean hasArgumentTypes()Indicates if this ProcedureOperationModel has types set for its stored procedure arguments, i.e. argumentTypes is non-null.- Returns:
- true if this ProcedureOperationModel has types set for its stored procedure arguments, false otherwise
-
getArgumentTypes
Return the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedure arguments, or null if not set. It is assumed that each entry in the List corresponds to a stored procedure at the same index in the dbStoredProcedures List. It is also assumed the each entry in a given DatabaseType[] corresponds to an argument in the associated stored procedure at the same index.- Returns:
- List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedure arguments, or null if not set
-
addArgumentTypes
Add to the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedures. It is assumed that each entry in the List corresponds to a stored procedure at the same index in the dbStoredProcedures List. It is also assumed the each entry in a given DatabaseType[] corresponds to an argument in the associated stored procedure at the same index. -
setArgumentTypes
Set the List of DatabaseType[] entries for this ProcedureOperationModel instance's stored procedures. It is assumed that each entry in the List corresponds to a stored procedure at the same index in the dbStoredProcedures List. It is also assumed the each entry in a given DatabaseType[] corresponds to an argument in the associated stored procedure at the same index. -
getDbStoredFunctionReturnType
Get the DatabaseType of the stored function's return argument.- Returns:
- the stored function's return type
-
setDbStoredFunctionReturnType
Set the DatabaseType of the stored function's return argument. -
hasComplexArguments
public boolean hasComplexArguments()Indicates if this ProcedureOperationModel contains advanced Oracle and/or complex PL/SQL arguments. -
setHasComplexArguments
public void setHasComplexArguments(boolean hasComplexArguments) Sets the boolean that indicates if this ProcedureOperationModel contains advanced Oracle and/or complex PL/SQL arguments.
-