org.jminor.framework.domain
Interface Property.ColumnProperty

All Superinterfaces:
Attribute, Column, Property, Property.SearchableProperty
All Known Subinterfaces:
Property.AuditProperty, Property.AuditTimeProperty, Property.AuditUserProperty, Property.BlobProperty, Property.BooleanProperty, Property.DenormalizedProperty, Property.MirrorProperty, Property.PrimaryKeyProperty, Property.SubqueryProperty, Property.ValueListProperty
Enclosing interface:
Property

public static interface Property.ColumnProperty
extends Property.SearchableProperty, Column

Specifies a property based on a table column


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jminor.framework.domain.Property
Property.AuditProperty, Property.AuditTimeProperty, Property.AuditUserProperty, Property.BlobProperty, Property.BooleanProperty, Property.ColumnProperty, Property.DenormalizedProperty, Property.DenormalizedViewProperty, Property.DerivedProperty, Property.ForeignKeyProperty, Property.MirrorProperty, Property.PrimaryKeyProperty, Property.SearchableProperty, Property.SubqueryProperty, Property.TransientProperty, Property.ValueListProperty
 
Method Summary
 Property.ColumnProperty setColumnHasDefaultValue(boolean columnHasDefaultValue)
           
 Property.ColumnProperty setSearchable(boolean searchable)
           
 void setSelectIndex(int selectIndex)
          Sets the index to use when fetching the value of this column from a result set
 Property.ColumnProperty setUpdatable(boolean updatable)
           
 
Methods inherited from interface org.jminor.framework.domain.Property
getDefaultValue, getEntityID, getFormat, getMax, getMaximumFractionDigits, getMaxLength, getMin, getMnemonic, getParentProperty, getPreferredColumnWidth, getPropertyID, getType, hasParentProperty, is, is, isBoolean, isCharacter, isDate, isDouble, isHidden, isInteger, isNullable, isNumerical, isReadOnly, isString, isTime, isTimestamp, isType, setDefaultValue, setDescription, setEntityID, setFormat, setHidden, setMax, setMaximumFractionDigits, setMaxLength, setMin, setMnemonic, setNullable, setParentProperty, setPreferredColumnWidth, setReadOnly, setUseNumberFormatGrouping
 
Methods inherited from interface org.jminor.common.model.Attribute
getCaption, getDescription, getTypeClass, hasDescription
 
Methods inherited from interface org.jminor.common.model.Column
columnHasDefaultValue, getColumnName, getSelectIndex, getType, isDenormalized, isSearchable, isUpdatable
 

Method Detail

setUpdatable

Property.ColumnProperty setUpdatable(boolean updatable)
Parameters:
updatable - specifies whether this property is updatable
Returns:
this Property instance

setSelectIndex

void setSelectIndex(int selectIndex)
Sets the index to use when fetching the value of this column from a result set

Parameters:
selectIndex - the index of this column in a result set

setColumnHasDefaultValue

Property.ColumnProperty setColumnHasDefaultValue(boolean columnHasDefaultValue)
Parameters:
columnHasDefaultValue - specifies whether or not the underlying column has a default value
Returns:
this Property instance

setSearchable

Property.ColumnProperty setSearchable(boolean searchable)
Parameters:
searchable - true if this column can be included in search criteria
Returns:
this Property instance