public static class Any.KeyValue extends SimpleValue
DEFAULT_ID_GEN_STRATEGY
Constructor and Description |
---|
KeyValue(Consumer<Selectable> selectableConsumer,
MetadataBuildingContext buildingContext) |
KeyValue(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) |
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 KeyValue(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext)
public KeyValue(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 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) throws MappingException
isValid
in interface Value
isValid
in class SimpleValue
MappingException
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.