Skip navigation links
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl
Class SqlTypeWithMethods
java.lang.Object
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.TypeClass
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlType
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlTypeWithFields
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlTypeWithMethods
- Direct Known Subclasses:
- SqlObjectType, SqlPackageType, SqlToplevelType
-
public abstract class SqlTypeWithMethods
- extends SqlTypeWithFields
Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlType |
CODE_OPAQUE, CODE_SQLJTYPE, m_isReused, m_parentType, m_reflector, m_version, m_viewCache, ORACLE_TYPES_BOOLEAN, ORACLE_TYPES_NCHAR, ORACLE_TYPES_NCLOB, ORACLE_TYPES_TBD, SQLJTYPE_BOTH, SQLJTYPE_BOTH8I, SQLJTYPE_CUSTOMDATUM, SQLJTYPE_ORADATA, SQLJTYPE_SERIALIZABLE, SQLJTYPE_SQLDATA |
Method Summary |
protected boolean |
acceptMethod(ProcedureMethod method, boolean preApprove)
|
(package private) TypeClass[] |
generateDefaultArgsHolderParamTypes(TypeClass[] paramTypes, boolean[] paramDefaults, boolean[] ncharFormOfUse)
|
java.util.List<ProcedureMethod> |
getDeclaredMethods()
Returns an array of Method objects reflecting all the methods declared by this SqlTypeWithMethods object. |
protected abstract MethodInfo[] |
getMethodInfo(java.lang.String schema, java.lang.String name)
|
protected abstract ParamInfo[] |
getParamInfo(java.lang.String schema, java.lang.String name, java.lang.String method, java.lang.String methodNo)
|
protected abstract ResultInfo |
getResultInfo(java.lang.String schema, java.lang.String name, java.lang.String method, java.lang.String methodNo)
|
protected boolean |
hasDefault(int object_id, java.lang.String methodName, int sequence, java.lang.String overload)
|
boolean |
hasMethods()
|
private java.util.List<ProcedureMethod> |
reflectMethods(SqlName sqlName)
|
Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlType |
accept, addAttribute, dependsOn, getAttributes, getBothConversions, getConversionFunDecl, getConversionPL2SQLFunBody, getConversionSQL2PLFunBody, getIntoConversion, getIntoConversionQualified, getIntoConvStmts, getOutOfConversion, getOutOfConversionQualified, getOutOfConvStmts, getSqljKind, getSqlName, getSqlTypeDecl, getSqlTypeDrop, getTargetTypeName, getTargetTypeName, getTypeName, getVersion, hasConversion, isCollection, isJavaStruct, isOpaque, isPlsqlRecord, isPlsqlTable, isRef, isSqlStatement, isStruct, setVersion |
Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.TypeClass |
equals, getAnnotation, getComponentType, getFields, getHint, getJdbcTypecode, getModifiers, getName, getNamedTranslations, getNameObject, getSupertype, getTypecode, hashCode, isArray, isObject, isPackage, isPrimitive, isTable, setAnnotation, setHint, setNamedTranslations, setNameObject, setTypecode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
m_methods
protected java.util.List<ProcedureMethod> m_methods
m_methodFilter
protected MethodFilter m_methodFilter
SqlTypeWithMethods
public SqlTypeWithMethods(SqlName sqlName,
int typecode,
boolean generateMe,
SqlType parentType,
MethodFilter signatureFilter,
SqlReflector reflector)
throws java.sql.SQLException
-
- Throws:
java.sql.SQLException
getDeclaredMethods
public java.util.List<ProcedureMethod> getDeclaredMethods()
throws java.sql.SQLException,
PublisherException
- Returns an array of Method objects reflecting all the methods declared by this SqlTypeWithMethods object. Returns an array of length 0 if the SqlTypeWithMethods declares no methods
-
- Overrides:
getDeclaredMethods
in class TypeClass
-
- Throws:
java.sql.SQLException
PublisherException
hasMethods
public boolean hasMethods()
throws java.sql.SQLException,
PublisherException
-
- Overrides:
hasMethods
in class TypeClass
-
- Throws:
java.sql.SQLException
PublisherException
reflectMethods
private java.util.List<ProcedureMethod> reflectMethods(SqlName sqlName)
throws java.sql.SQLException,
PublisherException
-
- Throws:
java.sql.SQLException
PublisherException
getMethodInfo
protected abstract MethodInfo[] getMethodInfo(java.lang.String schema,
java.lang.String name)
throws java.sql.SQLException
-
- Throws:
java.sql.SQLException
acceptMethod
protected boolean acceptMethod(ProcedureMethod method,
boolean preApprove)
getResultInfo
protected abstract ResultInfo getResultInfo(java.lang.String schema,
java.lang.String name,
java.lang.String method,
java.lang.String methodNo)
throws java.sql.SQLException
-
- Throws:
java.sql.SQLException
getParamInfo
protected abstract ParamInfo[] getParamInfo(java.lang.String schema,
java.lang.String name,
java.lang.String method,
java.lang.String methodNo)
throws java.sql.SQLException
-
- Throws:
java.sql.SQLException
hasDefault
protected boolean hasDefault(int object_id,
java.lang.String methodName,
int sequence,
java.lang.String overload)
throws java.sql.SQLException
-
- Throws:
java.sql.SQLException
generateDefaultArgsHolderParamTypes
TypeClass[] generateDefaultArgsHolderParamTypes(TypeClass[] paramTypes,
boolean[] paramDefaults,
boolean[] ncharFormOfUse)
throws java.sql.SQLException,
PublisherException
-
- Throws:
java.sql.SQLException
PublisherException
Skip navigation links