Fills a {@link ColumnModel} with information from a {@link Column}.
@param column The column
@return The filled model
188702
public ColumnModel extractColumnModel(Column column) {
        LOG.debug("Extracting model for column {}", column.getName());
        ColumnModel model = new ColumnModel();
        model.setName(this.nameProvider.getMethodNameForColumn(column));
        model.setDbName(column.getName());
        model.setDbTableName(column.getParent().getName());
        model.setDbFullTableName(column.getParent().getFullName());

        model.setSqlType(column.getColumnDataType().getName());
        model.setSqlTypeInt(column.getColumnDataType().getJavaSqlType().getVendorTypeNumber());
        String javaDataTypeName = dataTypeProvider.getCanonicalDataTypeName(column);
        model.setJavaTypeName(javaDataTypeName);
        model.setNotNull(!column.isNullable());
        model.setPartOfPrimaryKey(column.isPartOfPrimaryKey());
        model.setPartOfForeignKey(column.isPartOfForeignKey());
        model.setExplicitAttribute(explicitAttributeDecider.isExplicitAttribute(column));
        model.setUnique(column.isPartOfUniqueIndex() || column.isPartOfPrimaryKey());

        model.setConvenienceSetters(convenienceSetterProvider.getConvenienceSetters(column, javaDataTypeName));

        return model;
    }
166541
public Method getGetter(String column) {
        MappingItem methods = getMethodPair(column);
        return methods == null ? null : methods.getGetter();
    }
604841
public void addColumn(String column) {

        m_columns.add(new CmsSimpleQueryFragment(column, Collections.<Object> emptyList()));
    }
406681
public static FloatsColumn create(ColumnarFloats column, ImmutableBitmap nullValueBitmap)
  {
    if (nullValueBitmap.isEmpty()) {
      return new FloatsColumn(column);
    } else {
      return new FloatsColumnWithNulls(column, nullValueBitmap);
    }
  }
156461
public ColumnResult<ConstructorResult<T>> getOrCreateColumn()
   {
      List<Node> nodeList = childNode.get("column");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new ColumnResultImpl<ConstructorResult<T>>(this, "column", childNode, nodeList.get(0));
      }
      return createColumn();
   }
879064
public void hideColumn(TableColumn column) {
		if (columnModel.getColumnCount() == 1) {
			return;
		}

		// Ignore changes to the TableColumnModel made by the TableColumnManager

		columnModel.removeColumnModelListener(this);
		columnModel.removeColumn(column);
		columnModel.addColumnModelListener(this);
	}
251414
public java.sql.Time getTime(String column) {
		return (java.sql.Time)getColumns().get(column);
	}
50470
public void addFkToThisClass(String column)
    {
        if (fksToThisClass == null)
        {
            fksToThisClass = new Vector();
        }
        fksToThisClass.add(column);
        fksToThisClassAry = null;
    }
1290725
public void addColumn(ColumnSchema column) {

        String name = column.getName().name;

        if (findColumn(name) >= 0) {
            throw Error.error(ErrorCode.X_42504, name);
        }

        if (column.isIdentity()) {
            if (identityColumn != -1) {
                throw Error.error(ErrorCode.X_42525, name);
            }

            identityColumn   = getColumnCount();
            identitySequence = column.getIdentitySequence();
        }

        addColumnNoCheck(column);
    }
1031029
public java.util.Date getDate(String column) {
		return (java.util.Date)getColumns().get(column);
	}
921201
public ColumnModel column(String columnName) {// NOSONAR
		for (ColumnModel columnModel : columns) {
			if (columnModel.getColumnName() != null && columnModel.getColumnName().equalsIgnoreCase(columnName))
				return columnModel;
			if (columnModel.getEntityField() != null && columnModel.getEntityField().equalsIgnoreCase(columnName))
				return columnModel;
		}
		return addColumn(columnName);
	}
449333
public Column getColumn(String columnName) {
    if (columnName == null) {
      return null;
    }
    for (Column column : columns) {
      if (columnName.equals(column.getData())) {
        return column;
      }
    }
    return null;
  }
716831
public void addColumnIsNull(String column)
    {
		// PAW
		//SelectionCriteria c = ValueCriteria.buildNullCriteria(column, getAlias());
		SelectionCriteria c = ValueCriteria.buildNullCriteria(column, getUserAlias(column));
        c.setTranslateAttribute(false);
        addSelectionCriteria(c);
    }
923844
public Table insertColumn(int index, Column<?> column) {
        validateColumn(column);
        columnList.add(index, column);
        return this;
    }
374514
Object fromColumn(K id, com.netflix.astyanax.model.Column<ByteBuffer> c) {
        try {
            // Allocate a new entity
            Object entity         = clazz.newInstance();
            
            idMapper.setValue(entity, id);
            setEntityFieldsFromColumnName(entity, c.getRawName().duplicate());
            valueMapper.setField(entity, c.getByteBufferValue().duplicate());
            return entity;
        } catch(Exception e) {
            throw new PersistenceException("failed to construct entity", e);
        }
    }
1139217
public List<Condition> findConditions(final Column column) {
        List<Condition> result = new LinkedList<>();
        for (AndCondition each : andConditions) {
            result.addAll(Collections2.filter(each.getConditions(), new Predicate<Condition>() {
                
                @Override
                public boolean apply(final Condition input) {
                    return input.getColumn().equals(column);
                }
            }));
        }
        return result;
    }
216736
public Cell<C, T> columnDefaults(int column) {
        Cell<C, T> cell = columnDefaults.size() > column ? columnDefaults.get(column) : null;
        if (cell == null) {
            cell = toolkit.obtainCell(this);
            cell.clear();
            if (column >= columnDefaults.size()) {
                for (int i = columnDefaults.size(); i < column; i++)
                    columnDefaults.add(null);
                columnDefaults.add(cell);
            } else
                columnDefaults.set(column, cell);
        }
        return cell;
    }