Package org.hibernate.mapping
Class Any.MetaValue
java.lang.Object
org.hibernate.mapping.SimpleValue
org.hibernate.mapping.Any.MetaValue
- All Implemented Interfaces:
Serializable,KeyValue,Value
- Enclosing class:
Any
The discriminator Value
- 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
ConstructorsConstructorDescriptionMetaValue(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext) MetaValue(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext, Table table) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddFormula(Formula formula) copy()getType()booleanisValid(MappingContext mappingContext) voidsetTypeName(String typeName) Methods inherited from class org.hibernate.mapping.SimpleValue
accept, copyTypeFrom, createForeignKey, createForeignKey, createForeignKeyOfEntity, createForeignKeyOfEntity, createGenerator, createGenerator, createParameterType, 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, isVersion, justAddColumn, justAddColumn, justAddFormula, makeLob, makeNationalized, makeVersion, setAlternateUniqueKey, setAttributeConverterDescriptor, setColumnToIdentity, setCustomIdGeneratorCreator, setForeignKeyDefinition, setForeignKeyName, setForeignKeyOptions, setJpaAttributeConverterDescriptor, setNullValue, setNullValueSemantic, setNullValueUndefined, setOnDeleteAction, setPartitionKey, setTable, setTypeParameters, setTypeParameters, setTypeUsingReflection, sortColumns, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.mapping.Value
checkColumnDuplication, getConstraintColumns, getExtraCreateTableInfo, getSelectableType, getVirtualSelectables
-
Constructor Details
-
MetaValue
-
MetaValue
public MetaValue(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext, Table table)
-
-
Method Details
-
copy
-
getType
- Throws:
MappingException
-
getTypeName
- Overrides:
getTypeNamein classSimpleValue
-
setTypeName
- Overrides:
setTypeNamein classSimpleValue
-
getColumnName
-
addColumn
- Overrides:
addColumnin classSimpleValue
-
addColumn
- Overrides:
addColumnin classSimpleValue
-
addFormula
- Overrides:
addFormulain classSimpleValue
-
isValid
- Specified by:
isValidin interfaceValue- Overrides:
isValidin classSimpleValue
-