|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Property.BooleanProperty
A boolean property, with special handling since different values are used for representing boolean values in different systems
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 | |
---|---|
int |
getColumnType()
|
Boolean |
toBoolean(Object object)
|
String |
toSQLString(Boolean value)
|
Object |
toSQLValue(Boolean value)
Translates the given Boolean value into a sql value |
Methods inherited from interface org.jminor.framework.domain.Property.ColumnProperty |
---|
setColumnHasDefaultValue, setSearchable, setSelectIndex, setUpdatable |
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 |
---|
int getColumnType()
Boolean toBoolean(Object object)
object
- the Object value to translate into a Boolean value
object
String toSQLString(Boolean value)
value
- the Boolean value to translate into a sql string value
value
Object toSQLValue(Boolean value)
value
- the value to translate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |