Uses of Class
org.apache.empire.commons.Options
Packages that use Options
Package
Description
This package contains various common classes for error handling, specific data types and data type conversion.
This package contains interfaces for data and metadata handling.
This package contains implmentations of Empire's data and metadata interfaces for JavaBeans of Data Tranfer Objects (DTO's).
This package contains the core Empire-DB implementation classes.
-
Uses of Options in org.apache.empire.commons
Methods in org.apache.empire.commons that return OptionsModifier and TypeMethodDescriptionfinal OptionsAdds or updates an option Same as set() but allows Option buildingfinal OptionsAdds or updates an option Same as set() but allows Option buildingOptions.clone()Options.getActive()Returns the subset of active optionsConstructors in org.apache.empire.commons with parameters of type Options -
Uses of Options in org.apache.empire.data
Methods in org.apache.empire.data that return OptionsModifier and TypeMethodDescriptionRecord.getFieldOptions(Column column) returns the Options list for the given record field.ColumnExpr.getOptions()Returns an option set with possible column values and their corresponding display text. -
Uses of Options in org.apache.empire.data.bean
Methods in org.apache.empire.data.bean that return OptionsModifier and TypeMethodDescriptionBeanRecordProxy.getFieldOptions(Column column) BeanProperty.getOptions()Returns the list of options for this column containing all allowed field values.Methods in org.apache.empire.data.bean with parameters of type Options -
Uses of Options in org.apache.empire.db
Fields in org.apache.empire.db declared as OptionsMethods in org.apache.empire.db that return OptionsModifier and TypeMethodDescriptionfinal OptionsDBRecordBase.getFieldOptions(Column column) Gets the possbile Options for a field in the context of the current record.
Same as getFieldOptions(DBColumn)DBRecordBase.getFieldOptions(DBColumn column) Gets the possbile Options for a field in the context of the current record.DBColumn.getOptions()DBColumnExpr.getOptions()Returns the list of options for this column containing all possible field values.DBCommandExpr.DBCmdColumn.getOptions()Get Options of underlying table column.DBQueryColumn.getOptions()DBView.DBViewColumn.getOptions()final OptionsDBUtils.queryOptionList(DBCommandExpr cmd) Returns a list of key value pairs from an sql query.Methods in org.apache.empire.db with parameters of type OptionsModifier and TypeMethodDescriptionfinal DBTableColumnCreates a new table column with options and adds it to the table's column list This overload should be used for column containing enum values which have no default value.final DBTableColumnDBTable.addColumn(String columnName, DataType type, double size, boolean required, Options options, Object defValue) Creates a new table column with options and adds it to the table's column list This overload should be used for column containing enum values which have a default value.DBTable.addForeignKey(String name, DBTable target, boolean required, Options options, DBRelation.DBCascadeAction cascadeAction) Adds a new ForgeinKey table column the column list The foreign table must have a single column foreign keyDBDatabase.caseMap(DBColumnExpr column, Options options, Object elseValue) Creates a SQL case expression in the form "case [Expr] when [optionValue] then [optionText] else [elseValue] end"final DBDecodeExprfinal DBDecodeExprintDBUtils.queryOptionList(String sqlCmd, Object[] sqlParams, Options options) Fills an option list provided with the result from a query.final intDBUtils.queryOptionList(DBCommandExpr cmd, Options options) Fills an option list provided with the result from a query.<T extends DBColumnExpr>
TDBColumnExpr.setOptions(Options options) Sets the options for this column indicating all valid values.