Class OracleObjectType

  • All Implemented Interfaces:
    java.lang.Cloneable, org.eclipse.persistence.internal.helper.DatabaseType

    public class OracleObjectType
    extends org.eclipse.persistence.internal.helper.ComplexDatabaseType
    implements java.lang.Cloneable
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType

        org.eclipse.persistence.internal.helper.DatabaseType.DatabaseTypeHelper
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​org.eclipse.persistence.internal.helper.DatabaseType> fields  
      protected int lastFieldIdx  
      • Fields inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType

        compatibleType, javaType, javaTypeName, typeName
      • Fields inherited from interface org.eclipse.persistence.internal.helper.DatabaseType

        ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX
    • Field Detail

      • lastFieldIdx

        protected int lastFieldIdx
      • fields

        protected java.util.Map<java.lang.String,​org.eclipse.persistence.internal.helper.DatabaseType> fields
    • Constructor Detail

      • OracleObjectType

        public OracleObjectType()
    • Method Detail

      • getLastFieldIndex

        public int getLastFieldIndex()
      • setLastFieldIndex

        public void setLastFieldIndex​(int lastFieldIdx)
      • getFields

        public java.util.Map<java.lang.String,​org.eclipse.persistence.internal.helper.DatabaseType> getFields()
      • setFields

        public void setFields​(java.util.Map<java.lang.String,​org.eclipse.persistence.internal.helper.DatabaseType> fields)
      • isJDBCType

        public boolean isJDBCType()
        Specified by:
        isJDBCType in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        isJDBCType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • isComplexDatabaseType

        public boolean isComplexDatabaseType()
        Specified by:
        isComplexDatabaseType in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        isComplexDatabaseType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • isStruct

        public boolean isStruct()
        Overrides:
        isStruct in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • getSqlCode

        public int getSqlCode()
        Specified by:
        getSqlCode in interface org.eclipse.persistence.internal.helper.DatabaseType
      • getCompatibleType

        public java.lang.String getCompatibleType()
        Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type name
        Overrides:
        getCompatibleType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • setCompatibleType

        public void setCompatibleType​(java.lang.String compatibleType)
        Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type name
        Overrides:
        setCompatibleType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • buildBeginBlock

        public void buildBeginBlock​(java.lang.StringBuilder sb,
                                    PLSQLargument arg,
                                    PLSQLStoredProcedureCall call)
        Specified by:
        buildBeginBlock in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        buildBeginBlock in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • buildInDeclare

        public void buildInDeclare​(java.lang.StringBuilder sb,
                                   PLSQLargument inArg)
        Specified by:
        buildInDeclare in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        buildInDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • buildOutDeclare

        public void buildOutDeclare​(java.lang.StringBuilder sb,
                                    PLSQLargument outArg)
        Specified by:
        buildOutDeclare in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        buildOutDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
      • buildOutAssignment

        public void buildOutAssignment​(java.lang.StringBuilder sb,
                                       PLSQLargument outArg,
                                       PLSQLStoredProcedureCall call)
        Specified by:
        buildOutAssignment in interface org.eclipse.persistence.internal.helper.DatabaseType
        Overrides:
        buildOutAssignment in class org.eclipse.persistence.internal.helper.ComplexDatabaseType