Code example for Column

Methods: getSqlTypeisNullableisUnique

0
			annotations.append( ")" );
		} 
	} 
 
	protected void appendCommonColumnInfo(StringBuffer annotations, Column column, boolean insertable, boolean updatable) {
		if(column.isUnique()) {
				annotations.append( ", unique=" ).append( column.isUnique() );
		} 
		if(!column.isNullable()) {
				annotations.append( ", nullable=" ).append( column.isNullable() );
		} 
		 
		if(!insertable) {
				annotations.append( ", insertable=" ).append( insertable );
		} 
		 
		if(!updatable) {
				annotations.append( ", updatable=" ).append( updatable );
		} 
		 
		String sqlType = column.getSqlType();
		if ( StringHelper.isNotEmpty( sqlType ) ) {
			annotations.append( ", columnDefinition=\"" ).append( sqlType ).append( "\"" );
		} 
				 
	} 
Contextual code suggestions in your IDE  Get Codota for Java