org.jminor.common.model
Interface Column

All Superinterfaces:
Attribute
All Known Subinterfaces:
Property.AuditProperty, Property.AuditTimeProperty, Property.AuditUserProperty, Property.BlobProperty, Property.BooleanProperty, Property.ColumnProperty, Property.DenormalizedProperty, Property.MirrorProperty, Property.PrimaryKeyProperty, Property.SubqueryProperty, Property.ValueListProperty

public interface Column
extends Attribute

Describes a database column


Method Summary
 boolean columnHasDefaultValue()
           
 String getColumnName()
           
 int getSelectIndex()
           
 int getType()
           
 boolean isDenormalized()
           
 boolean isSearchable()
           
 boolean isUpdatable()
          Specifies whether or not this column is updatable
 
Methods inherited from interface org.jminor.common.model.Attribute
getCaption, getDescription, getTypeClass, hasDescription
 

Method Detail

getColumnName

String getColumnName()
Returns:
the column name

getType

int getType()
Returns:
the column data type
See Also:
Types

getSelectIndex

int getSelectIndex()
Returns:
the index of this property in a select query

isUpdatable

boolean isUpdatable()
Specifies whether or not this column is updatable

Returns:
true if this column is updatable

isSearchable

boolean isSearchable()
Returns:
false if this column should not be searchable

isDenormalized

boolean isDenormalized()
Returns:
true if this column is a denormalized column

columnHasDefaultValue

boolean columnHasDefaultValue()
Returns:
true if this column has a default value