primaryKey
EntityDefinition.PrimaryKey primaryKey()
- Returns:
- the
EntityDefinition.PrimaryKeyinstance
static interface static interface static interface static interface static interface static final is.codion.common.property.PropertyValue<Boolean>static final is.codion.common.property.PropertyValue<Boolean>caption()columns()conditionProvider(ConditionType conditionType) ConditionProvider associated with the given typedefaultMethodHandle(Method method) EntityType.entityClass().entity()Entity instance based on this definitionEntity instance based on this definitionEntity instance based on this definitionexists()Attribute<?>getterAttribute(Method method) EntityType.entityClass(),
null if none exists.booleanorderBy()<T> Entity.KeyprimaryKey(T value) Entity.Key instance based on this definition, initialised with the given valuebooleanreadOnly()Attribute<?>setterAttribute(Method method) EntityType.entityClass(),
null if none exists.booleanConditionProvider associated with the given typeconditionType - the condition typeIllegalArgumentException - in case no ConditionProvider is associated with the given conditionTypeEntityDefinition.Attributes instanceEntityDefinition.Columns instanceEntityDefinition.ForeignKeys instanceEntityDefinition.PrimaryKey instanceEntity instance based on this definitionEntity instanceEntity instance based on this definitionvalues - the valuesEntity instanceIllegalArgumentException - in case any of the value attributes are not part of the entity.Entity instance based on this definitionvalues - the valuesoriginalValues - the original valuesEntity instanceIllegalArgumentException - in case any of the value attributes are not part of the entity.Entity.Key instance based on this definition, initialised with the given valueT - the key value typevalue - the key value, assuming a single value keyEntity.Key instanceIllegalStateException - in case the given primary key is a composite keyIllegalArgumentException - in case the value is not of the correct typeEntityType.entityClass(),
null if none exists.method - the methodEntityType.entityClass(),
null if none exists.method - the methodEntityType.entityClass().method - the method