Skip navigation links
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl
Class SqlObjectType
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
org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlObjectType
-
public class SqlObjectType
- extends SqlTypeWithMethods
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 |
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 |
m_supertype
protected SqlType m_supertype
m_supertypeKnown
protected boolean m_supertypeKnown
m_isFinal
protected boolean m_isFinal
m_modifiers
protected int m_modifiers
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
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