Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCondition - Class in is.codion.framework.domain.entity.condition
-
A base class for Condition implementations.
- AbstractCondition(EntityType, List<Column<?>>, Collection<?>) - Constructor for class is.codion.framework.domain.entity.condition.AbstractCondition
- add(FunctionType<C, T, R>, DatabaseFunction<C, T, R>) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds the given function to this domain
- add(ProcedureType<C, T>, DatabaseProcedure<C, T>) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds the given procedure to this domain
- add(ReportType<T, R, P>, Report<T, R, P>) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds a report to this domain model.
- add(EntityDefinition) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds a new
EntityDefinitionto this domain model. - add(EntityDefinition) - Method in class is.codion.framework.domain.entity.DefaultEntities
- add(EntityDefinition.Builder) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds a new
EntityDefinitionto this domain model, by callingEntityDefinition.Builder.build(). - addAll(Domain) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds all entities, procedures, functions and reports from the given domain model.
- addEntities(Domain) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds all the entities from the given domain to this domain.
- addFunctions(Domain) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds all the functions from the given domain to this domain.
- addProcedures(Domain) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds all the procedures from the given domain to this domain.
- addReports(Domain) - Method in class is.codion.framework.domain.DefaultDomain
-
Adds all the reports from the given domain to this domain.
- afterInsert(Entity, DatabaseConnection, Statement) - Method in interface is.codion.framework.domain.entity.KeyGenerator
-
Prepares the given entity after insert, that is, fetches automatically generated primary key values and populates the entity's primary key.
- aggregate() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- aggregate(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Specifies that this column is an aggregate function column.
- all(EntityType) - Static method in interface is.codion.framework.domain.entity.condition.Condition
- and(Condition...) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Returns a new
Condition.Combinationinstance, combining the given condition with AND. - and(Collection<Condition>) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Returns a new
Condition.Combinationinstance, combining the given conditions with AND. - ascending() - Method in interface is.codion.framework.domain.entity.OrderBy.OrderByColumn
- ascending(Column<?>...) - Static method in interface is.codion.framework.domain.entity.OrderBy
- ascending(Column<?>...) - Method in interface is.codion.framework.domain.entity.OrderBy.Builder
-
Adds an 'ascending' order by for the given columns
- ascendingNullsFirst(Column<?>...) - Method in interface is.codion.framework.domain.entity.OrderBy.Builder
-
Adds an 'ascending' order by for the given columns with nulls appearing first
- ascendingNullsLast(Column<?>...) - Method in interface is.codion.framework.domain.entity.OrderBy.Builder
-
Adds an 'ascending' order by for the given columns with nulls appearing last
- attribute() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.AttributeDefiner
-
Creates a new
TransientAttributeDefinition.Builderinstance, which does not map to an underlying table column. - attribute() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
The
Attributethis definition is based on, should be unique within an Entity. - attribute() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
- attribute() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- attribute() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition
- attribute() - Method in exception is.codion.framework.domain.entity.exception.ValidationException
- attribute(EntityType, String, Class<T>) - Static method in interface is.codion.framework.domain.entity.attribute.Attribute
-
Creates a new
Attribute, associated with the given entityType. - attribute(String, Class<T>) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
Attribute, associated with this EntityType. - Attribute<T> - Interface in is.codion.framework.domain.entity.attribute
-
Typed
Attribute. - Attribute.AttributeDefiner<T> - Interface in is.codion.framework.domain.entity.attribute
-
Provides
AttributeDefinition.Builderinstances. - Attribute.Type<T> - Interface in is.codion.framework.domain.entity.attribute
-
Defines the data type of an Attribute
- AttributeDefinition<T> - Interface in is.codion.framework.domain.entity.attribute
-
Defines an Attribute.
- AttributeDefinition.Builder<T,
B extends AttributeDefinition.Builder<T, B>> - Interface in is.codion.framework.domain.entity.attribute -
Builds a attribute definition instance
- AttributeDefinition.ValueSupplier<T> - Interface in is.codion.framework.domain.entity.attribute
-
Supplies values, for example default ones.
- attributes() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition
- attributes() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- attributes(Attribute<?>...) - Method in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition.Builder
-
Specifies the attributes from the referenced entity to select.
- auditAction() - Method in interface is.codion.framework.domain.entity.attribute.AuditColumnDefinition
- AuditColumn - Interface in is.codion.framework.domain.entity.attribute
- AuditColumn.AuditAction - Enum Class in is.codion.framework.domain.entity.attribute
-
The possible audit actions
- AuditColumnDefinition<T> - Interface in is.codion.framework.domain.entity.attribute
-
A column definition representing an audit column
- auditInsertTimeColumn() - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Creates a new
ColumnDefinition.Builderinstance, representing the time a row was inserted. - auditInsertUserColumn() - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Creates a new
ColumnDefinition.Builderinstance, representing the username of the user who inserted a row. - auditUpdateTimeColumn() - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Creates a new
ColumnDefinition.Builderinstance, representing the time a row was updated. - auditUpdateUserColumn() - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Creates a new
ColumnDefinition.Builderinstance, representing the username of the user who updated a row. - automatic(String) - Static method in interface is.codion.framework.domain.entity.KeyGenerator
-
Instantiates a primary key generator which fetches automatically incremented primary key values after insert.
B
- backgroundColorProvider() - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Returns the background color provider, never null
- backgroundColorProvider(ColorProvider) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
- beanProperty() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- beanProperty(String) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the bean name property to associate with this attribute
- beforeInsert(Entity, DatabaseConnection) - Method in interface is.codion.framework.domain.entity.KeyGenerator
-
Prepares the given entity for insert, that is, generates and fetches any required primary key values and populates the entity's primary key.
- between(T, T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'between'
ColumnCondition. - betweenExclusive(T, T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'betweenExclusive'
ColumnCondition. - bigDecimalAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new BigDecimal based attribute, associated with this EntityType.
- bigDecimalColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new BigDecimal based column, associated with this EntityType.
- booleanAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Boolean based attribute, associated with this EntityType.
- booleanColumn(Class<C>, C, C) - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Creates a new
ColumnDefinition.Builderinstance representing a Boolean value. - booleanColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Boolean based column, associated with this EntityType.
- booleanConverter(C, C) - Static method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
A convenience method for a
Column.Converterfor boolean columns - build() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Builds a new attribute definition instance
- build() - Method in interface is.codion.framework.domain.entity.Entity.Builder
-
Builds the Entity instance
- build() - Method in interface is.codion.framework.domain.entity.Entity.Key.Builder
-
Builds the key instance
- build() - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
- build() - Method in interface is.codion.framework.domain.entity.OrderBy.Builder
- build() - Method in interface is.codion.framework.domain.entity.query.SelectQuery.Builder
- build() - Method in interface is.codion.framework.domain.entity.StringFactory.Builder
- builder() - Static method in interface is.codion.framework.domain.entity.OrderBy
-
Creates a
OrderBy.Builderinstance. - builder() - Static method in interface is.codion.framework.domain.entity.query.SelectQuery
-
Creates a
SelectQuery.Builder - builder() - Static method in class is.codion.framework.domain.entity.StringFactory
- builder(Entity.Key) - Static method in interface is.codion.framework.domain.entity.Entity
- builder(EntityType) - Method in class is.codion.framework.domain.entity.DefaultEntities
- builder(EntityType) - Method in interface is.codion.framework.domain.entity.Entities
-
Creates a new
Entity.Builderinstance for the given entityType - byteArrayAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
Attribute, associated with this EntityType. - byteArrayColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
Column, associated with this EntityType.
C
- caption() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- caption() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- caption(String) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Note that this method has a side-effect, when setting the caption to a null value this attribute is automatically hidden via
AttributeDefinition.Builder.hidden(boolean), when a non-null value is used it is automatically made visible (as in, not hidden). - caption(String) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the caption for this entity type
- captionResourceKey(String) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Specifies the key to use when retrieving the caption for this attribute from the entity resource bundle, in case it differes from the attribute name (
Attribute.name()), which is the default value. - captionResourceKey(String) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Specifies the resource bundle key associated with the caption.
- caseSensitive() - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition
- castTo(Class<T>) - Method in interface is.codion.framework.domain.entity.Entity
-
Casts this entity to the given type.
- castTo(Class<T>, Collection<Entity>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Casts the given entities to the given type.
- characterAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Character based attribute, associated with this EntityType.
- characterColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Character based column, associated with this EntityType.
- clearPrimaryKey() - Method in interface is.codion.framework.domain.entity.Entity
-
Clears the primary key values from this entity, current as well as original values if any
- color(Entity, Attribute<?>) - Method in interface is.codion.framework.domain.entity.ColorProvider
-
Returns the Object representing the specific color to use for the given attribute in the given entity, null in case of no specific color
- ColorProvider - Interface in is.codion.framework.domain.entity
-
Provides background/foreground colors for entities.
- column() - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Creates a new
ColumnDefinition.Builderinstance. - column() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey.Reference
- column() - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition
- column() - Method in interface is.codion.framework.domain.entity.Entity.Key
-
Returns this keys column.
- column() - Method in interface is.codion.framework.domain.entity.OrderBy.OrderByColumn
- column(EntityType, String, Class<T>) - Static method in interface is.codion.framework.domain.entity.attribute.Column
-
Creates a new
Column, associated with the given entityType. - column(String, Class<T>) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
Column, associated with this EntityType. - Column<T> - Interface in is.codion.framework.domain.entity.attribute
-
An
Attributerepresenting a table column. - Column.ColumnDefiner<T> - Interface in is.codion.framework.domain.entity.attribute
-
Provides
ColumnDefinition.Builderinstances. - Column.Converter<T,
C> - Interface in is.codion.framework.domain.entity.attribute -
Converts to and from SQL values, such as integers being used to represent booleans in a database.
- Column.Fetcher<C> - Interface in is.codion.framework.domain.entity.attribute
-
Fetches a single value from a result set.
- columnClass(Class<C>, Column.Converter<T, C>) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Sets the actual column type, and the required
Column.Converter. - columnClass(Class<C>, Column.Converter<T, C>, Column.Fetcher<C>) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Sets the actual column type, and the required
Column.Converter. - ColumnCondition<T> - Interface in is.codion.framework.domain.entity.condition
-
A condition based on a single
Column. - ColumnCondition.Factory<T> - Interface in is.codion.framework.domain.entity.condition
-
Creates
ColumnConditions. - ColumnDefinition<T> - Interface in is.codion.framework.domain.entity.attribute
-
Specifies a attribute definition based on a table column
- ColumnDefinition.Builder<T,
B extends ColumnDefinition.Builder<T, B>> - Interface in is.codion.framework.domain.entity.attribute -
Builds a
ColumnDefinition - columnDefinitions() - Method in interface is.codion.framework.domain.entity.EntityDefinition.PrimaryKey
-
Returns a list containing the definitions of all primary key columns associated with this entity type.
- columnHasDefaultValue() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- columnHasDefaultValue(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Specifies that the underlying table column has a default value
- columns() - Method in class is.codion.framework.domain.entity.condition.AbstractCondition
- columns() - Method in interface is.codion.framework.domain.entity.condition.Condition
- columns() - Method in interface is.codion.framework.domain.entity.Entity.Key
-
Note that the column order is undefined here, for the primary key columns in the correct (indexed) order
EntityDefinition.PrimaryKey.columns()viaEntityDefinition.primaryKey(). - columns() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- columns() - Method in interface is.codion.framework.domain.entity.EntityDefinition.PrimaryKey
-
Returns a list containing all primary key columns associated with this entity type.
- columns() - Method in interface is.codion.framework.domain.entity.query.SelectQuery
- columns(String) - Method in interface is.codion.framework.domain.entity.query.SelectQuery.Builder
-
Specifies the columns clause to use, without the SELECT keyword.
- combination(Conjunction, Condition...) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Initializes a new
Condition.Combinationinstance - combination(Conjunction, Collection<Condition>) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Initializes a new
Condition.Combinationinstance - comparator() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- comparator() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- comparator(Comparator<Entity>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the comparator to use when comparing entities of this type
- comparator(Comparator<T>) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
- Condition - Interface in is.codion.framework.domain.entity.condition
-
Specifies a query condition.
- Condition.All - Interface in is.codion.framework.domain.entity.condition
-
A condition specifying all entities of a given type, a no-condition.
- Condition.Combination - Interface in is.codion.framework.domain.entity.condition
-
An interface encapsulating a combination of Condition instances, that should be either AND'ed or OR'ed together in a query context
- conditionProvider(ConditionType) - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Returns the
ConditionProviderassociated with the given type - conditionProvider(ConditionType, ConditionProvider) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Adds a
ConditionProviderwhich provides a dynamic query condition string. - ConditionProvider - Interface in is.codion.framework.domain.entity.condition
-
Provides condition strings for where clauses
- conditions() - Method in interface is.codion.framework.domain.entity.condition.Condition.Combination
- conditionType() - Method in interface is.codion.framework.domain.entity.condition.CustomCondition
- conditionType(EntityType, String) - Static method in interface is.codion.framework.domain.entity.condition.ConditionType
-
Instantiates a new
ConditionTypefor the given entity type - conditionType(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Instantiates a new
ConditionTypefor this entity type - ConditionType - Interface in is.codion.framework.domain.entity.condition
-
Defines a custom condition type.
- configureConnection(DatabaseConnection) - Method in interface is.codion.framework.domain.Domain
-
Configures a database connection for applications using this domain model, for example adding extensions or properties.
- configureDatabase(Database) - Method in interface is.codion.framework.domain.Domain
-
Configures a database, for example run migration scripts.
- conjunction() - Method in interface is.codion.framework.domain.entity.condition.Condition.Combination
- contains(Attribute<?>) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns true if this Entity contains a value for the given attribute, that value can be null.
- contains(Attribute<?>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Attributes
- contains(EntityType) - Method in interface is.codion.framework.domain.DomainType
- contains(EntityType) - Method in class is.codion.framework.domain.entity.DefaultEntities
- contains(EntityType) - Method in interface is.codion.framework.domain.entity.Entities
- converter() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- copy() - Method in interface is.codion.framework.domain.entity.Entity
-
Returns a mutable copy of this entity.
- copyBuilder() - Method in interface is.codion.framework.domain.entity.Entity
-
Returns a new
Entity.Builderinstance initialized with the values and original values from this entity. - copyBuilder() - Method in interface is.codion.framework.domain.entity.Entity.Key
-
Creates a new
Entity.Key.Builderinstance, initialized with the values in this key. - custom(ConditionType) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Creates a new
CustomConditionbased on the condition of the given type - custom(ConditionType, List<Column<?>>, List<Object>) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Creates a new
CustomConditionbased on the condition of the given type - CustomCondition - Interface in is.codion.framework.domain.entity.condition
-
A Condition based on a custom
ConditionProviderassociated withConditionType
D
- DATE_FORMAT - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
The default date format pattern to use when showing date values in tables and when creating default date input fields
Value type: String
Default value: dd-MM-yyyy [month/day order is locale specific] - DATE_TIME_FORMAT - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
The default date/time format pattern to use when showing date/time values in tables and when creating default date/time input fields
Value type: String
Default value: dd-MM-yyyy HH:mm [month/day order is locale specific] - dateTimeFormatter() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Returns the date time formatter used when presenting and inputting values for this attribute.
- dateTimePattern() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Returns the date time format pattern used when presenting and inputting values for this attribute.
- dateTimePattern(String) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the date/time format pattern used when presenting and inputtind values
- DECIMAL_ROUNDING_MODE - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Specifies the default rounding mode used for decimal property values
Value type:RoundingMode
Default value:RoundingMode.HALF_EVEN - DECIMAL_SEPARATOR - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Specifies the default number decimal separator.
Value type: Character
Default value: The decimal separator for the default locale - decimalRoundingMode() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- decimalRoundingMode(RoundingMode) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the rounding mode to use when working with decimals
- deepCopy() - Method in interface is.codion.framework.domain.entity.Entity
-
Returns a mutable copy of this entity, with new copied instances of all foreign key value entities.
- DEFAULT - Enum constant in enum class is.codion.framework.domain.entity.OrderBy.NullOrder
-
Database default, as in, no null ordering directive.
- DEFAULT_FOREIGN_KEY_FETCH_DEPTH - Static variable in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition
- DEFAULT_MAXIMUM_FRACTION_DIGITS - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- DefaultDomain - Class in is.codion.framework.domain
-
A default
Domainimplementation. - DefaultDomain(DomainType) - Constructor for class is.codion.framework.domain.DefaultDomain
-
Instantiates a new DefaultDomain identified by the given
DomainType. - DefaultEntities - Class in is.codion.framework.domain.entity
-
A default
Entitiesimplementation. - DefaultEntities(DomainType) - Constructor for class is.codion.framework.domain.entity.DefaultEntities
-
Instantiates a new DefaultEntities for the given domainType
- DefaultEntityValidator - Class in is.codion.framework.domain.entity
-
A default
EntityValidatorimplementation providing null validation for attributes marked as not null, item validation for item based attributes, range validation for numerical attributes with max and/or min values specified and string length validation based on the specified max length. - DefaultEntityValidator() - Constructor for class is.codion.framework.domain.entity.DefaultEntityValidator
-
Instantiates a new DefaultEntityValidator
- DefaultEntityValidator(boolean) - Constructor for class is.codion.framework.domain.entity.DefaultEntityValidator
-
Instantiates a new DefaultEntityValidator
- defaultMethodHandle(Method) - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Returns the MethodHandle for the given default method in the
EntityType.entityClass(). - defaultValue() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- defaultValue(AttributeDefinition.ValueSupplier<T>) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the default value supplier, use in case of dynamic default values.
- defaultValue(T) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the default value for this attribute, overrides the underlying column default value, if any
- define() - Method in interface is.codion.framework.domain.entity.attribute.Attribute
- define() - Method in interface is.codion.framework.domain.entity.attribute.Column
- define() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey
- define(AttributeDefinition.Builder<?, ?>...) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a
EntityDefinition.Builderinstance based on the given attribute definition builders. - define(List<AttributeDefinition.Builder<?, ?>>) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a
EntityDefinition.Builderinstance based on the given attribute definition builders. - definition() - Method in interface is.codion.framework.domain.entity.Entity
- definition(Attribute<T>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Attributes
- definition(Column<T>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Columns
- definition(ForeignKey) - Method in interface is.codion.framework.domain.entity.EntityDefinition.ForeignKeys
- definition(EntityType) - Method in class is.codion.framework.domain.entity.DefaultEntities
- definition(EntityType) - Method in interface is.codion.framework.domain.entity.Entities
-
Returns the
EntityDefinitionfor the given entityType - definition(String) - Method in class is.codion.framework.domain.entity.DefaultEntities
- definition(String) - Method in interface is.codion.framework.domain.entity.Entities
-
Returns the
EntityDefinitionfor the given entityType name - definitionComparator() - Static method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Returns a new Comparator instance for sorting attribute definition instances by caption, or if that is not available, attribute name, ignoring case
- definitions() - Method in class is.codion.framework.domain.entity.DefaultEntities
- definitions() - Method in interface is.codion.framework.domain.entity.Entities
-
Returns all
EntityDefinitions found in this Entities instance - definitions() - Method in interface is.codion.framework.domain.entity.EntityDefinition.Attributes
- definitions() - Method in interface is.codion.framework.domain.entity.EntityDefinition.Columns
- definitions() - Method in interface is.codion.framework.domain.entity.EntityDefinition.ForeignKeys
- definitions(Column<T>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.ForeignKeys
- denormalized(Attribute<Entity>, Attribute<T>) - Method in interface is.codion.framework.domain.entity.attribute.Attribute.AttributeDefiner
-
Instantiates a
AttributeDefinition.Builderinstance, for displaying a value from a referenced entity attribute. - derived() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
The value of a derived attribute can not be set, as it's value is derived from other values
- derived(DerivedAttribute.Provider<T>, Attribute<?>...) - Method in interface is.codion.framework.domain.entity.attribute.Attribute.AttributeDefiner
-
Instantiates a
AttributeDefinition.Builderinstance, which value is derived from one or more source attributes. - DerivedAttribute<T> - Interface in is.codion.framework.domain.entity.attribute
- DerivedAttribute.Provider<T> - Interface in is.codion.framework.domain.entity.attribute
-
Responsible for providing values derived from other values
- DerivedAttribute.SourceValues - Interface in is.codion.framework.domain.entity.attribute
-
Provides the source values from which to derive the value.
- DerivedAttributeDefinition<T> - Interface in is.codion.framework.domain.entity.attribute
-
A definition for attributes which value is derived from the values of one or more attribute.
- derivedFrom(Attribute<T>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Attributes
-
Returns the attributes which values are derived from the value of the given attribute, an empty collection if no such derived attributes exist
- descending(Column<?>...) - Method in interface is.codion.framework.domain.entity.OrderBy.Builder
-
Adds a 'descending' order by for the given columns
- descending(Column<?>...) - Static method in interface is.codion.framework.domain.entity.OrderBy
- descendingNullsFirst(Column<?>...) - Method in interface is.codion.framework.domain.entity.OrderBy.Builder
-
Adds a 'descending' order by for the given columns with nulls appearing first
- descendingNullsLast(Column<?>...) - Method in interface is.codion.framework.domain.entity.OrderBy.Builder
-
Adds a 'descending' order by for the given columns with nulls appearing last
- description() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- description() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- description(String) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the description for this attribute, used for tooltips f.ex.
- description(String) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Specifies a description for this entity.
- distinct(Attribute<T>, Collection<? extends Entity>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns the distinct non-null values of
attributefrom the given entities. - Domain - Interface in is.codion.framework.domain
-
Represents an application domain model, entities, reports and database operations.
- domains() - Static method in interface is.codion.framework.domain.Domain
- domainType() - Method in class is.codion.framework.domain.entity.DefaultEntities
- domainType() - Method in interface is.codion.framework.domain.entity.Entities
- domainType() - Method in interface is.codion.framework.domain.entity.EntityType
- domainType(Class<?>) - Static method in interface is.codion.framework.domain.DomainType
-
Returns a new
DomainTypeusing the given classes simple name as domain name. - domainType(String) - Static method in interface is.codion.framework.domain.DomainType
-
Returns a
DomainTypeinstance with the given name. - DomainType - Interface in is.codion.framework.domain
-
Identifies a domain model and serves as a factory for
EntityTypeinstances associated with this domain model type. - domainTypeByName(String) - Static method in interface is.codion.framework.domain.DomainType
-
Returns the domain type with the given name.
- doubleAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Double based attribute, associated with this EntityType.
- doubleColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Double based column, associated with this EntityType.
E
- entities() - Method in class is.codion.framework.domain.DefaultDomain
- entities() - Method in interface is.codion.framework.domain.Domain
- Entities - Interface in is.codion.framework.domain.entity
-
A repository containing the
EntityDefinitions for a given domain. - entitiesByValue(Map<Attribute<?>, Object>, Collection<T>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Finds entities according to attribute values
- entity() - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Creates a new
Entityinstance based on this definition - entity(Entity.Key) - Static method in interface is.codion.framework.domain.entity.Entity
- entity(EntityType) - Method in class is.codion.framework.domain.entity.DefaultEntities
- entity(EntityType) - Method in interface is.codion.framework.domain.entity.Entities
-
Creates a new empty
Entityinstance of the given entityType - entity(Map<Attribute<?>, Object>) - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Creates a new
Entityinstance based on this definition - entity(Map<Attribute<?>, Object>, Map<Attribute<?>, Object>) - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Creates a new
Entityinstance based on this definition - Entity - Interface in is.codion.framework.domain.entity
-
Represents a row in a table or query.
- Entity.Builder - Interface in is.codion.framework.domain.entity
-
A builder for
Entityinstances. - Entity.Key - Interface in is.codion.framework.domain.entity
-
Represents a unique column combination for a given entity.
- Entity.Key.Builder - Interface in is.codion.framework.domain.entity
-
A builder for
Entity.Keyinstances. - entityAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
Attribute, associated with this EntityType. - entityClass() - Method in interface is.codion.framework.domain.entity.EntityType
- entityDefinition() - Method in interface is.codion.framework.domain.entity.Entity.Key
- EntityDefinition - Interface in is.codion.framework.domain.entity
-
Specifies an entity definition.
- EntityDefinition.Attributes - Interface in is.codion.framework.domain.entity
-
Holds the attribute definitions for an entity type
- EntityDefinition.Builder - Interface in is.codion.framework.domain.entity
-
Builds a EntityDefinition
- EntityDefinition.Columns - Interface in is.codion.framework.domain.entity
-
Holds the column definitions for an entity type
- EntityDefinition.ForeignKeys - Interface in is.codion.framework.domain.entity
-
Holds the foreign key definitions for an entity type
- EntityDefinition.PrimaryKey - Interface in is.codion.framework.domain.entity
-
Holds the primary key definition for an entity type
- entityType() - Method in interface is.codion.framework.domain.entity.attribute.Attribute
- entityType() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- entityType() - Method in class is.codion.framework.domain.entity.condition.AbstractCondition
- entityType() - Method in interface is.codion.framework.domain.entity.condition.Condition
- entityType() - Method in interface is.codion.framework.domain.entity.condition.ConditionType
- entityType() - Method in interface is.codion.framework.domain.entity.Entity
- entityType() - Method in interface is.codion.framework.domain.entity.Entity.Key
- entityType() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- entityType(String) - Method in interface is.codion.framework.domain.DomainType
-
Instantiates a
EntityTypeassociated with this domain type. - entityType(String, DomainType, Class<T>) - Static method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new EntityType instance.
- entityType(String, DomainType, Class<T>, String) - Static method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new EntityType instance.
- entityType(String, DomainType, String) - Static method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new EntityType instance.
- entityType(String, Class<T>) - Method in interface is.codion.framework.domain.DomainType
-
Instantiates a
EntityTypeassociated with this domain type. - entityType(String, Class<T>, String) - Method in interface is.codion.framework.domain.DomainType
-
Instantiates a
EntityTypeassociated with this domain type. - entityType(String, String) - Method in interface is.codion.framework.domain.DomainType
-
Instantiates a
EntityTypeassociated with this domain type. - EntityType - Interface in is.codion.framework.domain.entity
-
Defines an Entity type and serves as a Factory for
Attributeinstances associated with this entity type. - EntityValidator - Interface in is.codion.framework.domain.entity
-
Responsible for providing validation for entities.
- entrySet() - Method in interface is.codion.framework.domain.entity.Entity
-
Returns an unmodifiable view of the entries in this Entity, note that attributes based on derived values are not included.
- equals(Object) - Method in class is.codion.framework.domain.entity.condition.AbstractCondition
- equalTo(Entity) - Method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition.Factory
-
Returns a 'equalTo'
Conditionor 'isNull' in case the value is null. - equalTo(T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'equalTo'
ColumnConditionor 'isNull' in case the value is null. - equalToIgnoreCase(Character) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'equalTo'
ColumnConditionor 'isNull' in case the value is null. - equalToIgnoreCase(String) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'equalTo'
ColumnConditionor 'isNull' in case the value is null. - exists() - Method in interface is.codion.framework.domain.entity.Entity
- exists() - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
The default exists predicate returns true if the entity has a non-null original primary key, which is a best guess about an entity existing in a database.
- exists(Predicate<Entity>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the predicate to use when checking if an entity of this type exists in the database.
- expression() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- expression(String) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
F
- factory(Column<T>) - Static method in interface is.codion.framework.domain.entity.condition.ColumnCondition
-
Instantiates a new
ColumnCondition.Factoryinstance - factory(ForeignKey) - Static method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition
-
Instantiates a new
ForeignKeyCondition.Factoryinstance - fetchDepth() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition
- foregroundColorProvider() - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Returns the foreground color provider, never null
- foregroundColorProvider(ColorProvider) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
- foreign() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey.Reference
- FOREIGN_KEY_FETCH_DEPTH - Static variable in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition
-
Specifies the default foreign key fetch depth
Value type: Integer
Default value: 1 - foreignKey() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey.ForeignKeyDefiner
-
Instantiates a
ForeignKeyDefinition.Builderinstance, using the fetch depth specified byForeignKeyDefinition.FOREIGN_KEY_FETCH_DEPTH - foreignKey(int) - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey.ForeignKeyDefiner
-
Instantiates a
ForeignKeyDefinition.Builderinstance. - foreignKey(EntityType, String, List<ForeignKey.Reference<?>>) - Static method in interface is.codion.framework.domain.entity.attribute.ForeignKey
-
Creates a new
ForeignKeybased on the given entityType and references. - foreignKey(String, Column<A>, Column<A>) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
ForeignKeybased on the given attributes. - foreignKey(String, Column<A>, Column<A>, Column<B>, Column<B>) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
ForeignKeybased on the given columns. - foreignKey(String, Column<A>, Column<A>, Column<B>, Column<B>, Column<C>, Column<C>) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
ForeignKeybased on the given columns. - foreignKey(String, List<ForeignKey.Reference<?>>) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new
ForeignKeybased on the given references. - ForeignKey - Interface in is.codion.framework.domain.entity.attribute
-
An
Attributerepresenting a foreign key relation. - ForeignKey.ForeignKeyDefiner - Interface in is.codion.framework.domain.entity.attribute
-
Provides
ForeignKeyDefinition.Builderinstances. - ForeignKey.Reference<T> - Interface in is.codion.framework.domain.entity.attribute
-
Represents a foreign key reference between columns.
- foreignKeyColumn(Column<?>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.ForeignKeys
- ForeignKeyCondition - Interface in is.codion.framework.domain.entity.condition
-
A ForeignKey based condition.
- ForeignKeyCondition.Factory - Interface in is.codion.framework.domain.entity.condition
-
Creates
ForeignKeyConditions. - ForeignKeyDefinition - Interface in is.codion.framework.domain.entity.attribute
-
Represents a reference to another entity, typically but not necessarily based on a foreign key.
- ForeignKeyDefinition.Builder - Interface in is.codion.framework.domain.entity.attribute
-
Builds a
ForeignKeyDefinition. - foreignKeys() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- format() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Returns the Format used when presenting values for this attribute, null if none has been specified.
- format(Format) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the Format to use when presenting attribute values
- from() - Method in interface is.codion.framework.domain.entity.query.SelectQuery
- from(String) - Method in interface is.codion.framework.domain.entity.query.SelectQuery.Builder
-
Specifies the from clause to use.
- fromColumnValue(C) - Method in interface is.codion.framework.domain.entity.attribute.Column.Converter
-
Translates the given sql column value into a column value.
- function(FunctionType<C, T, R>) - Method in class is.codion.framework.domain.DefaultDomain
- function(FunctionType<C, T, R>) - Method in interface is.codion.framework.domain.Domain
-
Retrieves the function of the given type.
- functions() - Method in class is.codion.framework.domain.DefaultDomain
- functions() - Method in interface is.codion.framework.domain.Domain
G
- generated() - Method in interface is.codion.framework.domain.entity.EntityDefinition.PrimaryKey
-
Returns true if the value for the primary key of this entity is generated with a
KeyGenerator. - generator() - Method in interface is.codion.framework.domain.entity.EntityDefinition.PrimaryKey
- get() - Method in interface is.codion.framework.domain.entity.Entity.Key
-
Returns the value of this key.
- get() - Method in interface is.codion.framework.domain.entity.EntityDefinition.Attributes
- get() - Method in interface is.codion.framework.domain.entity.EntityDefinition.Columns
- get() - Method in interface is.codion.framework.domain.entity.EntityDefinition.ForeignKeys
- get(Attribute<T>) - Method in interface is.codion.framework.domain.entity.attribute.DerivedAttribute.SourceValues
-
Returns the source value associated with the given attribute.
- get(Attribute<T>) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns the value associated with
attribute. - get(Column<T>) - Method in interface is.codion.framework.domain.entity.Entity.Key
- get(DerivedAttribute.SourceValues) - Method in interface is.codion.framework.domain.entity.attribute.DerivedAttribute.Provider
- get(EntityType) - Method in interface is.codion.framework.domain.entity.EntityDefinition.ForeignKeys
-
Returns the foreign keys referencing entities of the given type
- get(String) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Attributes
-
Returns the attribute with the given name, null if none is found.
- get(ResultSet, int) - Method in interface is.codion.framework.domain.entity.attribute.Column.Fetcher
-
Fetches a single value from a ResultSet
- get(ResultSet, int) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
-
Fetches a value for this column from a ResultSet
- getterAttribute(Method) - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Returns the Attribute for the getter this method represents in the
EntityType.entityClass(), null if none exists. - greaterThan(T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'greaterThan'
ColumnCondition. - greaterThanOrEqualTo(T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'greaterThanOrEqualTo'
ColumnCondition. - groupBy() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- groupBy() - Method in interface is.codion.framework.domain.entity.query.SelectQuery
- groupBy(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Specifies that this column should be grouped by.
- groupBy(String) - Method in interface is.codion.framework.domain.entity.query.SelectQuery.Builder
-
Specifies the group by clause to use, without the GROUP BY keywords.
- GROUPING_SEPARATOR - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Specifies the default number grouping separator.
Value type: Character
Default value: The grouping separator for the default locale
H
- hasDefaultValue() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- hashCode() - Method in class is.codion.framework.domain.entity.condition.AbstractCondition
- having() - Method in interface is.codion.framework.domain.entity.query.SelectQuery
- having(String) - Method in interface is.codion.framework.domain.entity.query.SelectQuery.Builder
-
Specifies the having clause to use, without the HAVING keyword.
- hidden() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- hidden(boolean) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Specifies whether this attribute should be hidden in table views
I
- identity() - Static method in interface is.codion.framework.domain.entity.KeyGenerator
-
Instantiates a primary key generator based on an IDENTITY type column.
- immutable() - Method in interface is.codion.framework.domain.entity.Entity
-
Returns an immutable version of this entity, all foreign key entities are also immutable.
- in(Entity...) - Method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition.Factory
-
Returns a 'in'
Condition. - in(Collection<? extends Entity>) - Method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition.Factory
-
Returns a 'in'
Condition. - in(Collection<? extends T>) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'in'
ColumnCondition. - in(T...) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'in'
ColumnCondition. - inIgnoreCase(String...) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'in'
ColumnCondition. - inIgnoreCase(Collection<String>) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'in'
ColumnCondition. - INSERT - Enum constant in enum class is.codion.framework.domain.entity.attribute.AuditColumn.AuditAction
- insertable() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
-
Specifies whether this column is insertable
- insertable(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
- inserted() - Method in interface is.codion.framework.domain.entity.KeyGenerator
-
The default implementation returns true.
- integerAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Integer based attribute, associated with this EntityType.
- integerColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Integer based column, associated with this EntityType.
- is.codion.framework.domain - module is.codion.framework.domain
-
Framework domain model classes, such as:
Domain
Entity
EntityDefinition
Attribute
AttributeDefinition
Column
ColumnDefinition
ForeignKey
ForeignKeyDefinition
Condition
ColumnCondition
ForeignKeyCondition - is.codion.framework.domain - package is.codion.framework.domain
- is.codion.framework.domain.entity - package is.codion.framework.domain.entity
-
Package configuration values:
EntityDefinition.STRICT_FOREIGN_KEYSEntityValidator.STRICT_VALIDATIONEntities.STRICT_DESERIALIZATIONAttributeDefinition.MAXIMUM_FRACTION_DIGITS
AttributeDefinition.TIME_FORMAT
AttributeDefinition.NUMBER_FORMAT_GROUPING
AttributeDefinition.GROUPING_SEPARATOR
AttributeDefinition.DECIMAL_SEPARATOR
AttributeDefinition.USE_LEXICAL_STRING_COMPARATOR
AttributeDefinition.DATE_TIME_FORMAT
AttributeDefinition.DATE_FORMAT
AttributeDefinition.DECIMAL_ROUNDING_MODE
ForeignKeyDefinition.FOREIGN_KEY_FETCH_DEPTH - is.codion.framework.domain.entity.attribute - package is.codion.framework.domain.entity.attribute
- is.codion.framework.domain.entity.condition - package is.codion.framework.domain.entity.condition
- is.codion.framework.domain.entity.exception - package is.codion.framework.domain.entity.exception
- is.codion.framework.domain.entity.query - package is.codion.framework.domain.entity.query
- isBigDecimal() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isBoolean() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isByteArray() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isCharacter() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isDecimal() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isDouble() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isEntity() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isEnum() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isInteger() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isLocalDate() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isLocalDateTime() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isLocalTime() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isLong() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isNotNull() - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'isNotNull'
ColumnCondition. - isNotNull() - Method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition.Factory
-
Returns a 'isNotNull'
Condition. - isNotNull() - Method in interface is.codion.framework.domain.entity.Entity.Key
- isNotNull(Attribute<?>) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns true if this Entity contains a non-null value mapped to the given attribute.
- isNotNull(Column<?>) - Method in interface is.codion.framework.domain.entity.Entity.Key
-
Returns true if a non-null value is mapped to the given column.
- isNull() - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'isNull'
ColumnCondition. - isNull() - Method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition.Factory
-
Returns a 'isNull'
Condition. - isNull() - Method in interface is.codion.framework.domain.entity.Entity.Key
- isNull(Attribute<?>) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns true if a null value is mapped to the given attribute or if no mapping is found.
- isNull(Column<?>) - Method in interface is.codion.framework.domain.entity.Entity.Key
-
Returns true if a null value is mapped to the given column or no mapping exists.
- isNumerical() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isOffsetDateTime() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isShort() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isString() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- isTemporal() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- items() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Returns the valid items for this attribute or an empty list in case this is not an item based attribute
- items(List<Item<T>>) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
- ItemValidationException - Exception in is.codion.framework.domain.entity.exception
-
An exception used to indicate that an item value is invalid.
- ItemValidationException(Attribute<?>, Object, String) - Constructor for exception is.codion.framework.domain.entity.exception.ItemValidationException
-
Instantiates a new ItemValidationException.
K
- key(Entity.Key) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Creates a
Conditionbased on the given key - keyBuilder(EntityType) - Method in class is.codion.framework.domain.entity.DefaultEntities
- keyBuilder(EntityType) - Method in interface is.codion.framework.domain.entity.Entities
-
Creates a new
Entity.Key.Builderinstance for the given entity type - keyGenerator(KeyGenerator) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the primary key generator
- KeyGenerator - Interface in is.codion.framework.domain.entity
-
Generates primary key values for entities on insert.
- keys(Collection<Entity.Key>) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Creates a
Conditionbased on the given keys.
L
- lazy() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- lazy(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
- LengthValidationException - Exception in is.codion.framework.domain.entity.exception
-
An exception used to indicate that a value associated with a key exceeds the allowed length.
- LengthValidationException(Attribute<?>, Object, String) - Constructor for exception is.codion.framework.domain.entity.exception.LengthValidationException
-
Instantiates a new LengthValidationException
- lessThan(T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'lessThan'
ColumnCondition. - lessThanOrEqualTo(T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'lessThanOrEqualTo'
ColumnCondition. - like(String) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'like'
ColumnConditionor 'isNull' in case the value is null. - likeIgnoreCase(String) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'like'
ColumnConditionor 'isNull' in case the value is null. - localDateAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new LocalDate based attribute, associated with this EntityType.
- localDateColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new LocalDate based column, associated with this EntityType.
- localDateTimeAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new LocalDateTime based attribute, associated with this EntityType.
- localDateTimeColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new LocalDateTime based column, associated with this EntityType.
- localeDateTimePattern(LocaleDateTimePattern) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the locale aware date/time format pattern used when presenting and inputting values
- localTimeAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new LocalTime based attribute, associated with this EntityType.
- localTimeColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new LocalTime based column, associated with this EntityType.
- longAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Long based attribute, associated with this EntityType.
- longColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Long based column, associated with this EntityType.
M
- mapKeysToType(Collection<Entity.Key>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns a LinkedHashMap containing the given entity keys mapped to their entityTypes, respecting the iteration order of the given collection
- mapToPrimaryKey(Collection<T>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Maps the given entities to their primary key
- mapToType(Collection<? extends T>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns a LinkedHashMap containing the given entities mapped to their entityTypes, respecting the iteration order of the given collection
- mapToValue(Attribute<T>, Collection<E>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns a LinkedHashMap containing the given entities mapped to the value of
attribute, respecting the iteration order of the given collection - MAXIMUM_FRACTION_DIGITS - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Specifies the default maximum number of fraction digits for double property values
Note that values are rounded when set.
Value type: Integer
Default value: 10 - maximumFractionDigits() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- maximumFractionDigits(int) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the maximum fraction digits to show for this attribute, only applicable to attributes based on decimal types.
- maximumLength() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- maximumLength(int) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the maximum length of this attribute value, this applies to String (varchar) based attributes
- maximumValue() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- maximumValue(Number) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Only applicable to numerical attributes
- minimumValue() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- minimumValue(Number) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Only applicable to numerical attributes
- mnemonic() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Returns the mnemonic associated with this attribute.
- mnemonic(Character) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Sets the mnemonic to use when creating a label for this attribute
- modified() - Method in interface is.codion.framework.domain.entity.Entity
-
Returns true if one or more writable attributes have been modified from their initial value, non-insertable and non-updatable attributes are excluded unless they are transient and modify the entity.
- modified(Attribute<?>) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns true if the value associated with the given attribute has been modified since first set, note that this does not apply to attributes based on derived values.
- modifiesEntity() - Method in interface is.codion.framework.domain.entity.attribute.TransientAttributeDefinition
- modifiesEntity(boolean) - Method in interface is.codion.framework.domain.entity.attribute.TransientAttributeDefinition.Builder
- mutable() - Method in interface is.codion.framework.domain.entity.Entity
N
- name() - Method in interface is.codion.framework.domain.DomainType
- name() - Method in interface is.codion.framework.domain.entity.attribute.Attribute
- name() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- name() - Method in interface is.codion.framework.domain.entity.condition.ConditionType
- name() - Method in interface is.codion.framework.domain.entity.EntityType
- name(String) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Sets the actual string used as column when querying
- notBetween(T, T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'notBetween'
ColumnCondition. - notBetweenExclusive(T, T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'notBetweenExclusive'
ColumnCondition. - notEqualTo(Entity) - Method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition.Factory
-
Returns a 'notEqualTo'
Conditionor 'isNotNull' in case the value is null. - notEqualTo(T) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'equalTo'
ColumnConditionor 'isNotNull' in case the value is null. - notEqualToIgnoreCase(Character) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'notEqualTo'
ColumnConditionor 'isNotNull' in case the value is null. - notEqualToIgnoreCase(String) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'notEqualTo'
ColumnConditionor 'isNotNull' in case the value is null. - notIn(Entity...) - Method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition.Factory
-
Returns a 'notIn'
Condition. - notIn(Collection<? extends Entity>) - Method in interface is.codion.framework.domain.entity.condition.ForeignKeyCondition.Factory
-
Returns a 'notIn' condition.
- notIn(Collection<? extends T>) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'notIn'
ColumnCondition. - notIn(T...) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'notIn'
ColumnCondition. - notInIgnoreCase(String...) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'notIn'
ColumnCondition. - notInIgnoreCase(Collection<String>) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'notIn'
ColumnCondition. - notLike(String) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a 'like'
ColumnConditionor 'isNotNull' in case the value is null. - notLikeIgnoreCase(String) - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition.Factory
-
Returns a case-insensitive 'notLike'
ColumnConditionor 'isNotNull' in case the value is null. - nullable() - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
- nullable(boolean) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Specifies whether this attribute is nullable.
- nullable(Entity, Attribute<T>) - Method in class is.codion.framework.domain.entity.DefaultEntityValidator
- nullable(Entity, Attribute<T>) - Method in interface is.codion.framework.domain.entity.EntityValidator
-
Returns true if the value based on the given attribute accepts a null value for the given entity, by default this method simply returns the nullable state of the underlying attribute.
- nullOrder() - Method in interface is.codion.framework.domain.entity.OrderBy.OrderByColumn
- NULLS_FIRST - Enum constant in enum class is.codion.framework.domain.entity.OrderBy.NullOrder
-
Nulls first.
- NULLS_LAST - Enum constant in enum class is.codion.framework.domain.entity.OrderBy.NullOrder
-
Nulls last.
- NullValidationException - Exception in is.codion.framework.domain.entity.exception
-
An exception used to indicate that a null value was being associated with a key which does not allow null values.
- NullValidationException(Attribute<?>, String) - Constructor for exception is.codion.framework.domain.entity.exception.NullValidationException
-
Instantiates a new NullValidationException
- NUMBER_FORMAT_GROUPING - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Specifies whether number format grouping is used by default
Value type: Boolean
Default value: false - numberFormatGrouping(boolean) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Specifies whether to use number grouping when presenting the value associated with this attribute.
O
- offsetDateTimeAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new OffsetDateTime based attribute, associated with this EntityType.
- offsetDateTimeColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new OffsetDateTime based column, associated with this EntityType.
- operator() - Method in interface is.codion.framework.domain.entity.condition.ColumnCondition
- OPTIMISTIC_LOCKING - Static variable in interface is.codion.framework.domain.entity.EntityDefinition
-
Specifies whether optimistic locking should be enabled by default for entities
Value type: Boolean
Default value: true - optimisticLocking() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- optimisticLocking(boolean) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Use this to disable optimistic locking for this entity type
- optional() - Method in interface is.codion.framework.domain.entity.Entity.Key
-
Returns the value of this key, wrapped in an
Optional. - optional(Attribute<T>) - Method in interface is.codion.framework.domain.entity.attribute.DerivedAttribute.SourceValues
-
Returns the source value associated with the given attribute.
- optional(Attribute<T>) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns the value associated with
attribute, wrapped in anOptional. - optional(Column<T>) - Method in interface is.codion.framework.domain.entity.Entity.Key
- or(Condition...) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Returns a new
Condition.Combinationinstance, combining the given condition with OR. - or(Collection<Condition>) - Static method in interface is.codion.framework.domain.entity.condition.Condition
-
Returns a new
Condition.Combinationinstance, combining the given conditions with OR. - orderBy() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- orderBy() - Method in interface is.codion.framework.domain.entity.query.SelectQuery
- orderBy(OrderBy) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the order by clause for this entity type.
- orderBy(String) - Method in interface is.codion.framework.domain.entity.query.SelectQuery.Builder
-
Specifies the order by clause to use, without the ORDER BY keywords.
- OrderBy - Interface in is.codion.framework.domain.entity
-
Specifies an order by clause.
- OrderBy.Builder - Interface in is.codion.framework.domain.entity
-
Builds a
OrderByinstance. - OrderBy.NullOrder - Enum Class in is.codion.framework.domain.entity
-
Specifies how to handle null values during order by.
- OrderBy.OrderByColumn - Interface in is.codion.framework.domain.entity
-
Specifies an order by column and whether it's ascending or descending
- orderByColumns() - Method in interface is.codion.framework.domain.entity.OrderBy
- original(Attribute<T>) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns the original value associated with
attribute. - originalEntrySet() - Method in interface is.codion.framework.domain.entity.Entity
- originalPrimaryKey() - Method in interface is.codion.framework.domain.entity.Entity
-
Returns the primary key of this entity, in its original state.
- originalPrimaryKeys(Collection<? extends Entity>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns the primary keys of the given entities with their original values.
P
- prepareValue(T) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Prepares the value according to the attribute definition, such as rounding to the correct number of fraction digits in case of doubles
- primaryKey() - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Returns a new
ColumnDefinition.Builderinstance, with the primary key index 0. - primaryKey() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- primaryKey() - Method in interface is.codion.framework.domain.entity.Entity.Key
- primaryKey() - Method in interface is.codion.framework.domain.entity.Entity
-
Returns the primary key of this entity.
- primaryKey() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- primaryKey(int) - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Returns a new
ColumnDefinition.Builderinstance, with the given primary key index. - primaryKey(EntityType, T) - Method in class is.codion.framework.domain.entity.DefaultEntities
- primaryKey(EntityType, T) - Method in interface is.codion.framework.domain.entity.Entities
-
Creates a new
Entity.Keyinstance of the given entityType, initialised with the given value - primaryKey(T) - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Creates a new
Entity.Keyinstance based on this definition, initialised with the given value - primaryKeyIndex() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- primaryKeys(EntityType, T...) - Method in class is.codion.framework.domain.entity.DefaultEntities
- primaryKeys(EntityType, T...) - Method in interface is.codion.framework.domain.entity.Entities
-
Creates new
Entity.Keyinstances of the given entityType, initialised with the given values - primaryKeys(Collection<? extends Entity>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns the primary keys of the given entities.
- procedure(ProcedureType<C, T>) - Method in class is.codion.framework.domain.DefaultDomain
- procedure(ProcedureType<C, T>) - Method in interface is.codion.framework.domain.Domain
-
Retrieves the procedure of the given type.
- procedures() - Method in class is.codion.framework.domain.DefaultDomain
- procedures() - Method in interface is.codion.framework.domain.Domain
- put(Attribute<T>, T) - Method in interface is.codion.framework.domain.entity.Entity
-
Sets the value of the given attribute, returning the old value if any
Q
- queried(String) - Static method in interface is.codion.framework.domain.entity.KeyGenerator
-
Instantiates a primary key generator which fetches primary key values using the given query prior to insert.
R
- RangeValidationException - Exception in is.codion.framework.domain.entity.exception
-
An exception used to indicate that a value associated with a key which not fall within the allowed range of values.
- RangeValidationException(Attribute<?>, Object, String) - Constructor for exception is.codion.framework.domain.entity.exception.RangeValidationException
-
Instantiates a new RangeValidationException
- readOnly() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- readOnly() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- readOnly(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Specifies whether this column should be included during insert and update operations
- readOnly(boolean) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Specifies whether this entity should be read-only, that it should not be possible to insert, update or delete entities of this type
- readOnly(Column<?>) - Method in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition.Builder
-
Marks the given foreign key reference column as read-only, as in, not updated when the foreign key value is set.
- readOnly(Column<?>) - Method in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition
-
Returns true if the given foreign key reference column is read-only, as in, not updated when the foreign key value is set.
- reference(Column<T>) - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey
- reference(Column<T>, Column<T>) - Static method in interface is.codion.framework.domain.entity.attribute.ForeignKey
-
Returns a new
ForeignKey.Referencebased on the given columns. - referencedBy(ForeignKey) - Method in interface is.codion.framework.domain.entity.EntityDefinition.ForeignKeys
-
Returns the
EntityDefinitionof the entity referenced by the given foreign key. - referencedEntity(ForeignKey) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns the Entity instance referenced by the given
ForeignKey. - referencedKey(ForeignKey) - Method in interface is.codion.framework.domain.entity.Entity
-
Returns the key referenced by the given
ForeignKey, if the reference is null this method returns null. - referencedKeys(ForeignKey, Collection<? extends Entity>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns the non-null keys referenced by the given foreign key
- referencedType() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey
- references() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey
- references() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition
- remove(Attribute<T>) - Method in interface is.codion.framework.domain.entity.Entity
-
Removes the given value from this Entity along with the original value if any.
- report(ReportType<T, R, P>) - Method in class is.codion.framework.domain.DefaultDomain
- report(ReportType<T, R, P>) - Method in interface is.codion.framework.domain.Domain
-
Retrieves the report of the given type.
- reports() - Method in class is.codion.framework.domain.DefaultDomain
- reports() - Method in interface is.codion.framework.domain.Domain
- resourceBundleName() - Method in interface is.codion.framework.domain.entity.EntityType
- returnGeneratedKeys() - Method in interface is.codion.framework.domain.entity.KeyGenerator
-
Specifies whether the insert statement should return the primary key column values via the resulting
Statement.getGeneratedKeys()resultSet, accessible inKeyGenerator.afterInsert(Entity, DatabaseConnection, Statement). - revert() - Method in interface is.codion.framework.domain.entity.Entity
-
Reverts all value modifications that have been made.
- revert(Attribute<?>) - Method in interface is.codion.framework.domain.entity.Entity
-
Reverts the value associated with the given attribute to its original value.
S
- save() - Method in interface is.codion.framework.domain.entity.Entity
-
Saves all the value modifications that have been made.
- save(Attribute<?>) - Method in interface is.codion.framework.domain.entity.Entity
-
Saves the value associated with the given attribute, that is, removes the original value.
- searchColumn() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- searchColumn(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Specifies whether this column should be included when searching for an entity by a string value.
- searchColumns() - Method in interface is.codion.framework.domain.entity.EntityDefinition.Columns
-
Returns the columns to search by when searching for entities of this type by a string value
- selectable() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
- selectable(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
-
Specifies whether this column should be included in select queries
- selected() - Method in interface is.codion.framework.domain.entity.EntityDefinition.Attributes
-
Returns the attributes selected by default for this entity type.
- selectQuery() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- selectQuery(SelectQuery) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the select query to use when selecting entities of this type, use with care.
- SelectQuery - Interface in is.codion.framework.domain.entity.query
-
Defines a select query or parts of a select query, that is, from, column, where and orderBy clauses.
- SelectQuery.Builder - Interface in is.codion.framework.domain.entity.query
-
Builds a
SelectQuery. - selectTableName() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- selectTableName(String) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the name of the table to use when selecting entities of this type, when it differs from the one used to update/insert, such as a view.
- sequence(String) - Static method in interface is.codion.framework.domain.entity.KeyGenerator
-
Instantiates a primary key generator which fetches primary key values from a sequence prior to insert.
- set(Entity) - Method in interface is.codion.framework.domain.entity.Entity
-
After a call to this method this Entity contains the same values and original values as the source entity.
- setStrictForeignKeys(boolean) - Method in class is.codion.framework.domain.DefaultDomain
-
Specifies whether it should be possible to define foreign keys referencing entities that have not been defined, this can be disabled in cases where entities have circular references.
- setStrictForeignKeys(boolean) - Method in class is.codion.framework.domain.entity.DefaultEntities
- setterAttribute(Method) - Method in interface is.codion.framework.domain.entity.EntityDefinition
-
Returns the Attribute for the setter this method represents in the
EntityType.entityClass(), null if none exists. - shortAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Short based attribute, associated with this EntityType.
- shortColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new Short based column, associated with this EntityType.
- smallDataset() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- smallDataset(boolean) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Specifies whether this entity should be regarded as being based on a small dataset, which primarily means that combo box models can be based on this entity.
- soft() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKeyDefinition
- softForeignKey() - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey.ForeignKeyDefiner
-
Instantiates a
ForeignKeyDefinition.Builderinstance, using the fetch depth specified byForeignKeyDefinition.FOREIGN_KEY_FETCH_DEPTH. - softForeignKey(int) - Method in interface is.codion.framework.domain.entity.attribute.ForeignKey.ForeignKeyDefiner
-
Instantiates a
ForeignKeyDefinition.Builderinstance. - sourceAttributes() - Method in interface is.codion.framework.domain.entity.attribute.DerivedAttributeDefinition
- STRICT_DESERIALIZATION - Static variable in interface is.codion.framework.domain.entity.Entities
-
Specifies whether strict deserialization should be used.
- STRICT_FOREIGN_KEYS - Static variable in interface is.codion.framework.domain.entity.EntityDefinition
-
Specifies whether it should be possible to define foreign keys referencing entities that have not been defined, this can be disabled in cases where entities have circular references.
Value type: Boolean
Default value: true - STRICT_VALIDATION - Static variable in interface is.codion.framework.domain.entity.EntityValidator
-
Specifies whether the default validator performs strict validation or not.
- string(Attribute<T>) - Method in interface is.codion.framework.domain.entity.Entity
-
This method returns a String representation of the value associated with the given attribute, if the associated attribute has a format it is used.
- string(T) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Returns a string representation of the given value formatted with this attributes format.
- stringAttribute(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new String based attribute, associated with this EntityType.
- stringColumn(String) - Method in interface is.codion.framework.domain.entity.EntityType
-
Creates a new String based column, associated with this EntityType.
- stringFactory() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- stringFactory(Attribute<?>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the string factory, using the value of the given attribute.
- stringFactory(Function<Entity, String>) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
-
Sets the string factory, that is, the function responsible for creating toString() values for this entity type.
- StringFactory - Class in is.codion.framework.domain.entity
- StringFactory.Builder - Interface in is.codion.framework.domain.entity
-
A Builder for a string function, which provides toString() values for entities.
- subquery(String) - Method in interface is.codion.framework.domain.entity.attribute.Column.ColumnDefiner
-
Creates a new
ColumnDefinition.Builderinstance, based on a subquery.
T
- tableName() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- tableName(String) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
- text(String) - Method in interface is.codion.framework.domain.entity.StringFactory.Builder
-
Adds the given static text to this
StringFactory.Builder - TIME_FORMAT - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
The default date format pattern to use when showing time values in tables and when creating default time input fields
Value type: String
Default value: HH:mm - toColumnValue(T, Statement) - Method in interface is.codion.framework.domain.entity.attribute.Column.Converter
-
Translates the given value into a sql value, usually this is not required but for certain types this may be necessary, such as boolean values where the values are represented by a non-boolean data type in the underlying database
- toString() - Method in class is.codion.framework.domain.entity.DefaultEntities
- toString(EntityDefinition) - Method in interface is.codion.framework.domain.entity.condition.Condition
-
Returns a string representing this condition, e.g.
- toString(List<Column<?>>, List<?>) - Method in interface is.codion.framework.domain.entity.condition.ConditionProvider
-
Creates a query condition string for the given values
- TransientAttributeDefinition<T> - Interface in is.codion.framework.domain.entity.attribute
-
An attribute that does not map to an underlying database column.
- TransientAttributeDefinition.Builder<T,
B extends TransientAttributeDefinition.Builder<T, B>> - Interface in is.codion.framework.domain.entity.attribute -
Builds a transient AttributeDefinition instance
- type() - Method in class is.codion.framework.domain.DefaultDomain
- type() - Method in interface is.codion.framework.domain.Domain
- type() - Method in interface is.codion.framework.domain.entity.attribute.Attribute
- type() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
U
- updatable() - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition
-
Indicates whether this column is updatable
- updatable() - Method in interface is.codion.framework.domain.entity.EntityDefinition.Attributes
- updatable(boolean) - Method in interface is.codion.framework.domain.entity.attribute.ColumnDefinition.Builder
- updatable(ForeignKey) - Method in interface is.codion.framework.domain.entity.EntityDefinition.ForeignKeys
- UPDATE - Enum constant in enum class is.codion.framework.domain.entity.attribute.AuditColumn.AuditAction
- USE_LEXICAL_STRING_COMPARATOR - Static variable in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Specifies whether String values should use a lexical comparator by default
Value type: Boolean
Default value: true
V
- valid(Entity) - Method in class is.codion.framework.domain.entity.DefaultEntityValidator
- valid(Entity) - Method in interface is.codion.framework.domain.entity.EntityValidator
-
Returns true if the given entity contains only valid values.
- validate(Entity) - Method in class is.codion.framework.domain.entity.DefaultEntityValidator
- validate(Entity) - Method in interface is.codion.framework.domain.entity.EntityValidator
-
Checks if the values in the given entity are valid.
- validate(Entity, Attribute<T>) - Method in class is.codion.framework.domain.entity.DefaultEntityValidator
- validate(Entity, Attribute<T>) - Method in interface is.codion.framework.domain.entity.EntityValidator
-
Checks if the value associated with the give attribute is valid, throws a ValidationException if not
- validateType(T) - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- ValidationException - Exception in is.codion.framework.domain.entity.exception
-
An exception used to indicate that an attribute value is invalid.
- ValidationException(Attribute<?>, Object, String) - Constructor for exception is.codion.framework.domain.entity.exception.ValidationException
-
Instantiates a new ValidationException.
- validator() - Method in interface is.codion.framework.domain.entity.EntityDefinition
- validator(EntityValidator) - Method in interface is.codion.framework.domain.entity.EntityDefinition.Builder
- validItem(T) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition
-
Validates the given value against the valid items for this attribute.
- value() - Method in exception is.codion.framework.domain.entity.exception.ValidationException
- value(Attribute<?>) - Method in interface is.codion.framework.domain.entity.StringFactory.Builder
-
Adds the value mapped to the given key to this
StringFactory.Builder - value(Attribute<?>, Format) - Method in interface is.codion.framework.domain.entity.StringFactory.Builder
-
Adds the value mapped to the given key to this StringProvider
- value(ForeignKey, Attribute<?>) - Method in interface is.codion.framework.domain.entity.StringFactory.Builder
-
Adds the value mapped to the given attribute in the
Entityinstance mapped to the given foreign key to thisStringFactory.Builder - valueClass() - Method in interface is.codion.framework.domain.entity.attribute.Attribute.Type
- valueOf(String) - Static method in enum class is.codion.framework.domain.entity.attribute.AuditColumn.AuditAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class is.codion.framework.domain.entity.OrderBy.NullOrder
-
Returns the enum constant of this class with the specified name.
- valueProvider() - Method in interface is.codion.framework.domain.entity.attribute.DerivedAttributeDefinition
- valueRange(Number, Number) - Method in interface is.codion.framework.domain.entity.attribute.AttributeDefinition.Builder
-
Only applicable to numerical attributes
- values() - Static method in enum class is.codion.framework.domain.entity.attribute.AuditColumn.AuditAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class is.codion.framework.domain.entity.condition.AbstractCondition
- values() - Method in interface is.codion.framework.domain.entity.condition.Condition
- values() - Static method in enum class is.codion.framework.domain.entity.OrderBy.NullOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(Attribute<T>, Collection<? extends Entity>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns the non-null values associated with the given attribute from the given entities.
- values(Collection<Entity.Key>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Retrieves the values of the given keys, assuming they are single column keys.
- valuesAsString(List<Attribute<?>>, List<Entity>) - Static method in interface is.codion.framework.domain.entity.Entity
-
Creates a two-dimensional list containing the values of the given attributes for the given entities in string format.
- valuesEqual(Entity) - Method in interface is.codion.framework.domain.entity.Entity
-
Compares the values of all attributes in the given entity to the values in this entity instance.
- valuesEqual(Entity, Entity) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns true if all attribute values available in the first entity are available and equal in the second entity.
- valuesEqual(Entity, Entity, Attribute<?>...) - Static method in interface is.codion.framework.domain.entity.Entity
-
Returns true if the values of the given attributes are equal in the given entities.
- valuesEqual(Entity, Collection<? extends Attribute<?>>) - Method in interface is.codion.framework.domain.entity.Entity
-
Compares the values of the given attributes in the given entity to the values in this entity instance.
W
- where() - Method in interface is.codion.framework.domain.entity.query.SelectQuery
- where(String) - Method in interface is.codion.framework.domain.entity.query.SelectQuery.Builder
-
Specifies the where clause to use, without the WHERE keyword.
- with(Attribute<T>, T) - Method in interface is.codion.framework.domain.entity.Entity.Builder
-
Adds the given attribute value to this builder
- with(Column<T>, T) - Method in interface is.codion.framework.domain.entity.Entity.Key.Builder
-
Adds the given column value to this builder
- withDefaultValues() - Method in interface is.codion.framework.domain.entity.Entity.Builder
-
Sets the default value for all attributes which have a default value.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form