Class EditorResultSetColumnProp

    • Constructor Detail

      • EditorResultSetColumnProp

        public EditorResultSetColumnProp()
        Creates the property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • EditorResultSetColumnProp

        public EditorResultSetColumnProp​(Atom propertyAtom)
        Creates the property container with the specified name. All system-reserved names for components begins with "$".
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • setColumnIndex

        public void setColumnIndex​(int index)
        Sets the column index.

        This method is used internally by the Designer during creation of the SQL statement and should not be called elsewhere.

        setColumnIndex in class ResultSetColumnProp
        index - The column index.
      • setColumnName

        public void setColumnName​(java.lang.String name)
        Sets the column name, this method is used by the Designer.
        setColumnName in class ResultSetColumnProp
        name - The name of the column.
      • setColumnLabel

        public void setColumnLabel​(java.lang.String label)
        Sets the column name, this method is used by the Designer.
        setColumnLabel in class ResultSetColumnProp
        label - The name of the column to set, or null to clear it.
      • setNullable

        public void setNullable​(boolean isNullable)
        Sets if NULL is allowed for values in this column.
        setNullable in class ResultSetColumnProp
        isNullable - The Null-Allowed flag (i.e. NOT NOT NULL).
      • setValuesFrom

        public void setValuesFrom​(org.eclipse.datatools.modelbase.sql.query.ValueExpressionColumn column,
                                  java.lang.String name,
                                  boolean isNullable,
                                  int index)
        Updates the values "column name", "column index" and "SQL data type" with the SQLBuilder column info.
        column - The column.
        name - The column name (with table).
        isNullable - The table column definition for nullable.
        index - Index of the column.