primaryKey
EntityDefinition.PrimaryKey primaryKey()
- Returns:
- the
EntityDefinition.PrimaryKey
instance
static interface
static interface
static interface
static interface
static interface
static final PropertyValue<Boolean>
caption()
columns()
condition(ConditionType conditionType)
ConditionProvider
associated with the given typeentity()
Entity
instance based on this definitionEntity
instance based on this definitionEntity
instance based on this definitionexists()
boolean
orderBy()
<T> Entity.Key
primaryKey(T value)
Entity.Key
instance based on this definition, initialised with the given valueboolean
readOnly()
boolean
ConditionProvider
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 type