Class ColumnRef

    • Constructor Detail

      • ColumnRef

        public ColumnRef​(org.netbeans.modules.dbschema.ColumnElement columnElement,
                         QueryTable table)
      • ColumnRef

        public ColumnRef​(org.netbeans.modules.dbschema.ColumnElement columnElement,
                         Object value)
    • Method Detail

      • getColumnElement

        public org.netbeans.modules.dbschema.ColumnElement getColumnElement()
        Return the actual ColumnElement associated with this column.
        Returns:
        the ColumnElement associated with this
      • getIndex

        public int getIndex()
        Return the position of this column in the SQL statement.
        Returns:
        the position of this column in the SQL statement
      • setIndex

        public void setIndex​(int value)
        Set the position of this column in the SQL statement.
        Parameters:
        value - - the new position
      • getValue

        public Object getValue()
        Return the input value for this column.
        Returns:
        the input value for this column
      • getQueryTable

        public QueryTable getQueryTable()
        Return the QueryTable associated with this column.
        Returns:
        the QueryTable associated with this column.
      • getName

        public String getName()
        Return the name of this column.
        Returns:
        the name of this column.
      • getColumnType

        public int getColumnType()
        This method return int corresponding to java.sql.Types.
        Specified by:
        getColumnType in interface FieldMapping
      • getColumnLength

        public int getColumnLength()
        This method return the length of the column and -1 if unknown.
        Specified by:
        getColumnLength in interface FieldMapping