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 TypeMethodDescriptionvoid
void
void
addFormula
(Formula formula) copy()
getType()
boolean
isValid
(MappingContext mappingContext) 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, 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
-
MetaValue
-
MetaValue
public MetaValue(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext, Table table)
-
-
Method Details
-
copy
-
getType
- Throws:
MappingException
-
getTypeName
- Overrides:
getTypeName
in classSimpleValue
-
setTypeName
- Overrides:
setTypeName
in classSimpleValue
-
getColumnName
-
addColumn
- Overrides:
addColumn
in classSimpleValue
-
addColumn
- Overrides:
addColumn
in classSimpleValue
-
addFormula
- Overrides:
addFormula
in classSimpleValue
-
isValid
- Specified by:
isValid
in interfaceValue
- Overrides:
isValid
in classSimpleValue
-