/** * Sets the column property with the given name to the given value. Attempts * to determine the type of the property (see * {@link PropertyMap#put(String,Object)} for details on determining the * property type). */ public ColumnBuilder putProperty(String name, Object value) { return putProperty(name, null, value); }
/** * Convenience method to set the various info for a calculated type (flag, * result type property and expression) */ public ColumnBuilder setCalculatedInfo(String expression) { setCalculated(true); putProperty(PropertyMap.EXPRESSION_PROP, expression); return putProperty(PropertyMap.RESULT_TYPE_PROP, getType().getValue()); }
|| types[seq].equalsIgnoreCase(AccessType.AUTOINCREMENT.name())) { cb.setAutoNumber(true); cb.putProperty(PropertyMap.REQUIRED_PROP, false); // re: Ticket #2
putProperty(PropertyMap.RESULT_TYPE_PROP, getType().getValue());