Package org.hibernate.mapping
Class Any.KeyValue
java.lang.Object
org.hibernate.mapping.SimpleValue
org.hibernate.mapping.Any.KeyValue
- All Implemented Interfaces:
Serializable
,KeyValue
,Value
- Enclosing class:
- Any
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.mapping.KeyValue
KeyValue.NullValueSemantic
-
Field Summary
Fields inherited from class org.hibernate.mapping.SimpleValue
DEFAULT_ID_GEN_STRATEGY
-
Constructor Summary
ConstructorsConstructorDescriptionKeyValue
(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext) KeyValue
(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext, Table table) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addFormula
(Formula formula) copy()
getType()
void
setTypeName
(String typeName) Methods inherited from class org.hibernate.mapping.SimpleValue
accept, copyTypeFrom, createForeignKey, createForeignKey, createForeignKeyOfEntity, createGenerator, createGenerator, createParameterImpl, createUniqueKey, disableForeignKey, getAttributeConverterDescriptor, getBuildingContext, getColumn, getColumnInsertability, getColumns, getColumnSpan, getColumnUpdateability, getCustomIdGeneratorCreator, getFetchMode, getForeignKeyDefinition, getForeignKeyName, getForeignKeyOptions, getJpaAttributeConverterDescriptor, getMetadata, getNullValue, getNullValueSemantic, getOnDeleteAction, getSelectables, getServiceRegistry, getTable, getTypeConfiguration, getTypeParameters, hasAnyInsertableColumns, hasAnyUpdatableColumns, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isColumnInsertable, isColumnUpdateable, isConstrained, isForeignKeyEnabled, isLob, isNationalized, isNullable, isPartitionKey, isSame, isSame, isSame, isSimpleValue, isTypeSpecified, isUpdateable, isValid, isVersion, justAddColumn, justAddColumn, justAddFormula, makeLob, makeNationalized, makeParameterImpl, makeVersion, setAlternateUniqueKey, setAttributeConverterDescriptor, setColumnToIdentity, setCustomIdGeneratorCreator, setForeignKeyDefinition, setForeignKeyName, setForeignKeyOptions, setJpaAttributeConverterDescriptor, setNullValue, setNullValueSemantic, setNullValueUndefined, setOnDeleteAction, setPartitionKey, setTable, setTypeParameters, setTypeParameters, setTypeUsingReflection, sortColumns, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.mapping.Value
checkColumnDuplication, getConstraintColumns, getExtraCreateTableInfo, getSelectableType, getSelectableType, getVirtualSelectables, isValid
-
Constructor Details
-
KeyValue
-
KeyValue
public KeyValue(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext, Table table)
-
-
Method Details
-
copy
-
getType
- Throws:
MappingException
-
getTypeName
- Overrides:
getTypeName
in classSimpleValue
-
setTypeName
- Overrides:
setTypeName
in classSimpleValue
-
addColumn
- Overrides:
addColumn
in classSimpleValue
-
addColumn
- Overrides:
addColumn
in classSimpleValue
-
addFormula
- Overrides:
addFormula
in classSimpleValue
-