Module eclipselink

Class NestedTableDefinition

    • Field Detail

      • typeSize

        protected int typeSize
      • type

        protected Class<?> type
      • typeName

        protected String typeName
    • Constructor Detail

      • NestedTableDefinition

        public NestedTableDefinition()
    • Method Detail

      • appendTypeString

        public void appendTypeString​(Writer writer,
                                     org.eclipse.persistence.internal.sessions.AbstractSession session)
                              throws ValidationException
        INTERNAL: Append the type to the statement
        Parameters:
        writer - Target writer where to write type string.
        session - Current session context.
        Throws:
        ValidationException - When invalid or inconsistent data were found.
      • getType

        public Class<?> getType()
        PUBLIC: Return the type of the field. This should be set to a java class, such as String.class, Integer.class or Date.class.
      • getTypeName

        public String getTypeName()
        PUBLIC: Return the type of the field. This is the exact DB type name, which can be used instead of the Java class.
      • getTypeSize

        public int getTypeSize()
        PUBLIC: Return the size of the element field, this is only required for some field types.
      • setType

        public void setType​(Class<?> type)
        PUBLIC: Set the type of the field. This should be set to a java class, such as String.class, Integer.class or Date.class.
      • setTypeName

        public void setTypeName​(String typeName)
        PUBLIC: Set the type of the field. This is the exact DB type name, which can be used instead of the Java class.
      • setTypeSize

        public void setTypeSize​(int typeSize)
        PUBLIC: Set the size of the element field, this is only required for some field types.