Uses of Interface
org.apache.empire.data.Column
Packages that use Column
Package
Description
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.
This package contains classes for exception handling of database related errors.
-
Uses of Column in org.apache.empire.data
Methods in org.apache.empire.data that return ColumnModifier and TypeMethodDescriptionRecord.getColumn(int index) Overridden to change return type from ColumnExpr to ColumnColumn[]Entity.getKeyColumns()Column[]Record.getKeyColumns()returns an array of key columns which uniquely identify the record.ColumnExpr.getSourceColumn()Deprecated.ColumnExpr.getUpdateColumn()Returns the underlying source column (if any).Methods in org.apache.empire.data that return types with arguments of type ColumnMethods in org.apache.empire.data with parameters of type ColumnModifier and TypeMethodDescriptionRecord.getFieldOptions(Column column) returns the Options list for the given record field.booleanRecord.isFieldReadOnly(Column column) returns true if the field is read-only.booleanRecord.isFieldRequired(Column column) returns true if the field is required.booleanRecord.isFieldVisible(Column column) returns true if the field is visible to the client.sets a record value based on a column.Record.validateValue(Column column, Object value) Validates a value before it is set in the record.booleanRecord.wasModified(Column column) checks whether or not the field for the given column has been modified since it has been loaded.Method parameters in org.apache.empire.data with type arguments of type ColumnModifier and TypeMethodDescriptionintRecord.setRecordValues(Object bean, Collection<Column> ignoreList) sets all record values from a particular bean. -
Uses of Column in org.apache.empire.data.bean
Classes in org.apache.empire.data.bean that implement ColumnModifier and TypeClassDescriptionclassBeanObject This class defines Metadata for a single property.Fields in org.apache.empire.data.bean declared as ColumnFields in org.apache.empire.data.bean with type parameters of type ColumnMethods in org.apache.empire.data.bean that return ColumnModifier and TypeMethodDescriptionBeanRecordProxy.getColumn(int index) Column[]BeanClass.getKeyColumns()returns the list of key columns (if any)Column[]BeanRecordProxy.getKeyColumns()final ColumnBeanProperty.getSourceColumn()Deprecated.BeanProperty.getUpdateColumn()Methods in org.apache.empire.data.bean with parameters of type ColumnModifier and TypeMethodDescriptionBeanRecordProxy.getFieldOptions(Column column) booleanBeanRecordProxy.isFieldReadOnly(Column column) booleanBeanRecordProxy.isFieldRequired(Column column) booleanBeanRecordProxy.isFieldVisible(Column column) sets the value of a field.protected voidBeanRecordProxy.setBeanProperty(Object bean, Column column, Object value) protected final voidBeanClass.setKeyColumn(Column keyColumn) Sets the key to a single columnprotected voidBeanClass.setKeyColumns(Column[] keyColumns) Sets the list of key columns.BeanRecordProxy.validateValue(Column column, Object value) Validates a value before it is set in the record.booleanBeanRecordProxy.wasModified(Column column) Detects whether or not a particular field has been modified.Method parameters in org.apache.empire.data.bean with type arguments of type ColumnModifier and TypeMethodDescriptionintBeanRecordProxy.setRecordValues(Object bean, Collection<Column> ignoreList) Constructors in org.apache.empire.data.bean with parameters of type ColumnModifierConstructorDescriptionBeanRecordProxy(List<Column> columns, Column[] keyColumns, Entity entity) Constructor parameters in org.apache.empire.data.bean with type arguments of type Column -
Uses of Column in org.apache.empire.data.list
Methods in org.apache.empire.data.list with parameters of type ColumnModifier and TypeMethodDescriptionbooleanDataListEntry.compareKey(Column[] keyColumns, Object[] key) Compares a given record key with the key of the entryfinal <T extends Enum<?>>
TReturns the value of a field as an enum This assumes that the column attribute "enumType" has been set to an enum type For numeric columns the value is assumed to be an ordinal of the enumeration item -
Uses of Column in org.apache.empire.db
Classes in org.apache.empire.db that implement ColumnModifier and TypeClassDescriptionclassThis is the base class for all database columns that have a physical representation.protected static classThis class wraps a column of sql command in a special command column object.classclassThis class represent one column of a table.static classDBViewColumnMethods in org.apache.empire.db with type parameters of type ColumnModifier and TypeMethodDescription<T extends Column>
TDBColumn.setNormalizedColumn(DBColumnExpr normalizedColumn) Sets a normalized columnExpr for this columnExprMethods in org.apache.empire.db that return ColumnModifier and TypeMethodDescriptionColumn[]DBRecordBase.getKeyColumns()returns an array of key columns which uniquely identify the record.Methods in org.apache.empire.db with parameters of type ColumnModifier and TypeMethodDescriptionprotected <T> DBBeanListFactory<T>DBUtils.createDefaultBeanListFactory(Class<T> beanType, Column[] keyColumns, List<? extends DBColumnExpr> selectColumns) Crates a default DBBeanListFactory for Java bean class The DBRecord class must provide either a standard construtor with correspondig property set fundtions or a constructor using the fields of the queryfinal <T extends Enum<?>>
TReturns the value of a field as an enum This assumes that the column attribute "enumType" has been set to an enum type For numeric columns the value is assumed to be an ordinal of the enumeration itemfinal OptionsDBRecordBase.getFieldOptions(Column column) Gets the possbile Options for a field in the context of the current record.
Same as getFieldOptions(DBColumn)booleanDBRecordBase.isFieldReadOnly(Column column) returns whether a field is read only or notbooleanDBRecordBase.isFieldRequired(Column column) returns whether a field is required or notbooleanDBRecordBase.isFieldVisible(Column column) returns whether a field is visible to the client or notOverridden to change return type from DBCommandExpr to DBCommandSets the value of a column in the record.Overridden to change return type from DBCommandExpr to DBCommandprotected voidDBRecordBase.setRecordValue(Column column, Object bean) set a record value from a particular bean property.Deprecated.DBRecordBase.validateValue(Column column, Object value) Validates a value before it is set in the record.final booleanDBRecordBase.wasAnyModified(Column... columns) Returns true if any of the given fields was modified.final booleanDBRecordBase.wasModified(Column column) Returns true if the field was modified.Method parameters in org.apache.empire.db with type arguments of type ColumnModifier and TypeMethodDescriptionintDBRecordBase.setRecordValues(Object bean, Collection<Column> ignoreList) Sets record values from the supplied java bean. -
Uses of Column in org.apache.empire.db.exceptions
Methods in org.apache.empire.db.exceptions that return ColumnMethods in org.apache.empire.db.exceptions with parameters of type ColumnModifier and TypeMethodDescriptionprotected static StringFieldValueException.getColumnTitle(Column column) Constructors in org.apache.empire.db.exceptions with parameters of type ColumnModifierConstructorDescriptionFieldIllegalValueException(Column column, String value) FieldIllegalValueException(Column column, String value, Throwable cause) protectedFieldValueException(Column column, ErrorType errType, String[] params) protectedFieldValueException(Column column, ErrorType errType, String[] params, Throwable cause) FieldValueOutOfRangeException(Column col, Number minMax, boolean isMax) FieldValueOutOfRangeException(Column col, Number min, Number max) FieldValueOutOfRangeException(Column col, String minMax, boolean isMax) FieldValueOutOfRangeException(Column col, String min, String max) -
Uses of Column in org.apache.empire.db.list
Constructors in org.apache.empire.db.list with parameters of type ColumnModifierConstructorDescriptionDBBeanListFactoryImpl(Class<T> beanType, Column[] keyColumns, List<? extends DBColumnExpr> selectColumns) Constructs a DBRecordListFactoryImpl based on an DBRecord class