Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl
Class SqlTypeWithMethods

java.lang.Object
  extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.TypeClass
      extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlType
          extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlTypeWithFields
              extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlTypeWithMethods

Direct Known Subclasses:
SqlObjectType, SqlPackageType, SqlToplevelType

public abstract class SqlTypeWithMethods
extends SqlTypeWithFields

Field Summary
protected  MethodFilter m_methodFilter
           
protected  java.util.List<ProcedureMethod> m_methods
           

 

Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlTypeWithFields
m_builtin, m_fields, m_fieldsPublishedOnly

 

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

 

Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.TypeClass
m_annotation, m_hint, m_isPrimitive, m_name, m_namedTranslations, m_typecode

 

Constructor Summary
SqlTypeWithMethods(SqlName sqlName, int typecode, boolean generateMe, SqlType parentType, MethodFilter signatureFilter, SqlReflector reflector)
           

 

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.SqlTypeWithFields
getDeclaredFields, getFieldInfo, isTopLevel, reflectFields

 

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

 

Field Detail

m_methods

protected java.util.List<ProcedureMethod> m_methods

m_methodFilter

protected MethodFilter m_methodFilter

Constructor Detail

SqlTypeWithMethods

public SqlTypeWithMethods(SqlName sqlName,
                          int typecode,
                          boolean generateMe,
                          SqlType parentType,
                          MethodFilter signatureFilter,
                          SqlReflector reflector)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

Method Detail

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

Copyright © 1998, 2012, Oracle. All Rights Reserved.