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 SqlTypeWithFields

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

Direct Known Subclasses:
DefaultArgsHolderType, PlsqlRecordType, SqlTypeWithMethods

public abstract class SqlTypeWithFields
extends SqlType

Field Summary
protected static java.util.Map<java.lang.String,java.lang.Boolean> m_builtin
           
protected  java.util.List<AttributeField> m_fields
           
protected  java.util.List<AttributeField> 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
SqlTypeWithFields(SqlName sqlName, int typecode, boolean generateMe, SqlType parentType, SqlReflector reflector)
           

 

Method Summary
 java.util.List<AttributeField> getDeclaredFields(boolean publishedOnly)
          Returns an array of Field objects reflecting all the fields declared by this SqlTypeWithFields object.
protected abstract  java.util.List<FieldInfo> getFieldInfo()
           
 boolean isTopLevel()
           
private  java.util.List<AttributeField> reflectFields(boolean publishedOnly)
           
static java.util.List<AttributeField> reflectFields(boolean publishedOnly, java.util.List<FieldInfo> sfi, SqlReflector reflector, SqlType parent, boolean isGrandparent)
           

 

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, getDeclaredMethods, getFields, getHint, getJdbcTypecode, getModifiers, getName, getNamedTranslations, getNameObject, getSupertype, getTypecode, hashCode, hasMethods, 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_builtin

protected static java.util.Map<java.lang.String,java.lang.Boolean> m_builtin

m_fieldsPublishedOnly

protected java.util.List<AttributeField> m_fieldsPublishedOnly

m_fields

protected java.util.List<AttributeField> m_fields

Constructor Detail

SqlTypeWithFields

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

Method Detail

isTopLevel

public boolean isTopLevel()

getDeclaredFields

public java.util.List<AttributeField> getDeclaredFields(boolean publishedOnly)
                                                 throws java.sql.SQLException,
                                                        PublisherException
Returns an array of Field objects reflecting all the fields declared by this SqlTypeWithFields object. Returns an array of length 0 if this SqlTypeWithFields object declares no fields.
Overrides:
getDeclaredFields in class TypeClass
Throws:
java.sql.SQLException
PublisherException

reflectFields

private java.util.List<AttributeField> reflectFields(boolean publishedOnly)
                                              throws java.sql.SQLException,
                                                     PublisherException
Throws:
java.sql.SQLException
PublisherException

reflectFields

public static java.util.List<AttributeField> reflectFields(boolean publishedOnly,
                                                           java.util.List<FieldInfo> sfi,
                                                           SqlReflector reflector,
                                                           SqlType parent,
                                                           boolean isGrandparent)
                                                    throws java.sql.SQLException,
                                                           PublisherException
Throws:
java.sql.SQLException
PublisherException

getFieldInfo

protected abstract java.util.List<FieldInfo> getFieldInfo()
                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

Skip navigation links

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