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 SqlObjectType

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
                  extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlObjectType


public class SqlObjectType
extends SqlTypeWithMethods

Field Summary
protected  boolean m_isFinal
           
protected  int m_modifiers
           
protected  SqlType m_supertype
           
protected  boolean m_supertypeKnown
           

 

Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlTypeWithMethods
m_methodFilter, 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
SqlObjectType(SqlName sqlName, boolean generateMe, SqlType parentType, SqlReflector reflector)
           
SqlObjectType(SqlName sqlName, int typecode, boolean generateMe, SqlType parentType, SqlReflector reflector)
           
SqlObjectType(SqlName sqlName, java.util.List<AttributeField> fields, SqlReflector reflector)
           

 

Method Summary
 void accept(PublisherVisitor v)
           
protected  java.util.List<FieldInfo> getFieldInfo()
           
 java.util.List<AttributeField> getFields(boolean publishedOnly)
          Returns an array of Field objects reflecting all the accessible fields of this Type object.
protected  java.util.List<AttributeField> getFields(int subtypeFieldCount, boolean publishedOnly)
           
protected  MethodInfo[] getMethodInfo(java.lang.String schema, java.lang.String name)
           
 int getModifiers()
          Returns the modifiers for this type, encoded in an integer.
protected  ParamInfo[] getParamInfo(java.lang.String schema, java.lang.String name, java.lang.String method, java.lang.String methodNo)
           
protected  ResultInfo getResultInfo(java.lang.String schema, java.lang.String name, java.lang.String method, java.lang.String methodNo)
           
 TypeClass getSupertype()
          Returns the Type representing the supertype of the entity represented by this Type.
 boolean isObject()
          Determines if this Type represents an object type.
 void setFields(java.util.List<AttributeField> fields)
           

 

Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlTypeWithMethods
acceptMethod, generateDefaultArgsHolderParamTypes, getDeclaredMethods, hasDefault, hasMethods

 

Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlTypeWithFields
getDeclaredFields, isTopLevel, reflectFields

 

Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlType
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, getHint, getJdbcTypecode, getName, getNamedTranslations, getNameObject, getTypecode, hashCode, isArray, 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_supertype

protected SqlType m_supertype

m_supertypeKnown

protected boolean m_supertypeKnown

m_isFinal

protected boolean m_isFinal

m_modifiers

protected int m_modifiers

Constructor Detail

SqlObjectType

public SqlObjectType(SqlName sqlName,
                     boolean generateMe,
                     SqlType parentType,
                     SqlReflector reflector)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

SqlObjectType

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

SqlObjectType

public SqlObjectType(SqlName sqlName,
                     java.util.List<AttributeField> fields,
                     SqlReflector reflector)
              throws java.sql.SQLException
Throws:
java.sql.SQLException

Method Detail

isObject

public boolean isObject()
Determines if this Type represents an object type.
Overrides:
isObject in class TypeClass

setFields

public void setFields(java.util.List<AttributeField> fields)

getSupertype

public TypeClass getSupertype()
                       throws java.sql.SQLException,
                              PublisherException
Description copied from class: TypeClass
Returns the Type representing the supertype of the entity represented by this Type. If no supertype, returns null
Overrides:
getSupertype in class TypeClass
Throws:
java.sql.SQLException
PublisherException

getModifiers

public int getModifiers()
                 throws java.sql.SQLException
Returns the modifiers for this type, encoded in an integer. The modifiers currently in use are: public (always set) final abstract incomplete The modifiers are decoded using the methods of java.lang.reflect.Modifier. If we ever need additional modifiers for C++, we can subclass this.
Overrides:
getModifiers in class TypeClass
Throws:
java.sql.SQLException

getFields

public java.util.List<AttributeField> getFields(boolean publishedOnly)
                                         throws java.lang.SecurityException,
                                                java.sql.SQLException,
                                                PublisherException
Returns an array of Field objects reflecting all the accessible fields of this Type object. Returns an array of length 0 if this Type object has no accesible fields.
Overrides:
getFields in class TypeClass
Throws:
java.lang.SecurityException
java.sql.SQLException
PublisherException

getFields

protected java.util.List<AttributeField> getFields(int subtypeFieldCount,
                                                   boolean publishedOnly)
                                            throws java.lang.SecurityException,
                                                   java.sql.SQLException,
                                                   PublisherException
Throws:
java.lang.SecurityException
java.sql.SQLException
PublisherException

getFieldInfo

protected java.util.List<FieldInfo> getFieldInfo()
                                          throws java.sql.SQLException
Specified by:
getFieldInfo in class SqlTypeWithFields
Throws:
java.sql.SQLException

getMethodInfo

protected MethodInfo[] getMethodInfo(java.lang.String schema,
                                     java.lang.String name)
                              throws java.sql.SQLException
Specified by:
getMethodInfo in class SqlTypeWithMethods
Throws:
java.sql.SQLException

getResultInfo

protected ResultInfo getResultInfo(java.lang.String schema,
                                   java.lang.String name,
                                   java.lang.String method,
                                   java.lang.String methodNo)
                            throws java.sql.SQLException
Specified by:
getResultInfo in class SqlTypeWithMethods
Throws:
java.sql.SQLException

getParamInfo

protected ParamInfo[] getParamInfo(java.lang.String schema,
                                   java.lang.String name,
                                   java.lang.String method,
                                   java.lang.String methodNo)
                            throws java.sql.SQLException
Specified by:
getParamInfo in class SqlTypeWithMethods
Throws:
java.sql.SQLException

accept

public void accept(PublisherVisitor v)
Overrides:
accept in class SqlType

Skip navigation links

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