public static class Any.MetaValue extends SimpleValue
DEFAULT_ID_GEN_STRATEGY
Constructor and Description |
---|
MetaValue(Consumer<Selectable> selectableConsumer,
MetadataBuildingContext buildingContext) |
MetaValue(Consumer<Selectable> selectableConsumer,
MetadataBuildingContext buildingContext,
Table table) |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(Column column) |
void |
addColumn(Column column,
boolean isInsertable,
boolean isUpdatable) |
void |
addFormula(Formula formula) |
String |
getColumnName() |
Type |
getType() |
String |
getTypeName() |
boolean |
isValid(Mapping mapping) |
void |
setTypeName(String typeName) |
accept, copyTypeFrom, createForeignKey, createForeignKeyOfEntity, createIdentifierGenerator, getAttributeConverterDescriptor, getBuildingContext, getColumn, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getFetchMode, getForeignKeyDefinition, getForeignKeyName, getIdentifierGenerator, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getJpaAttributeConverterDescriptor, getMetadata, getNullValue, getSelectables, getServiceRegistry, getTable, getTypeParameters, hasAnyInsertableColumns, hasAnyUpdatableColumns, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isLob, isNationalized, isNullable, isSame, isSame, isSame, isSimpleValue, isTypeSpecified, isUpdateable, isVersion, justAddColumn, justAddColumn, justAddFormula, makeLob, makeNationalized, makeVersion, setAlternateUniqueKey, setAttributeConverterDescriptor, setCascadeDeleteEnabled, setForeignKeyDefinition, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setJpaAttributeConverterDescriptor, setNullValue, setTable, setTypeParameters, setTypeParameters, setTypeUsingReflection, toString
public MetaValue(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext)
public MetaValue(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext, Table table)
public Type getType() throws MappingException
MappingException
public String getTypeName()
getTypeName
in class SimpleValue
public void setTypeName(String typeName)
setTypeName
in class SimpleValue
public String getColumnName()
public void addColumn(Column column)
addColumn
in class SimpleValue
public void addColumn(Column column, boolean isInsertable, boolean isUpdatable)
addColumn
in class SimpleValue
public void addFormula(Formula formula)
addFormula
in class SimpleValue
public boolean isValid(Mapping mapping)
isValid
in interface Value
isValid
in class SimpleValue
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.