public class Any extends SimpleValue
Modifier and Type | Class and Description |
---|---|
static class |
Any.KeyValue |
static class |
Any.MetaValue |
DEFAULT_ID_GEN_STRATEGY
Constructor and Description |
---|
Any(MetadataBuildingContext buildingContext,
Table table) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(ValueVisitor visitor) |
void |
addColumn(Column column) |
void |
addColumn(Column column,
boolean isInsertable,
boolean isUpdatable) |
void |
addFormula(Formula formula) |
String |
getIdentifierType() |
SimpleValue |
getKeyMapping() |
Any.MetaValue |
getMetaMapping() |
String |
getMetaType() |
Map<Object,String> |
getMetaValues() |
AnyType |
getType() |
boolean |
isLazy() |
boolean |
isSame(Any other) |
boolean |
isSame(SimpleValue other) |
boolean |
isValid(Mapping mapping) |
void |
setIdentifierType(String identifierType) |
void |
setLazy(boolean lazy) |
void |
setMetaType(String type) |
void |
setMetaValues(Map metaValueToEntityNameMap) |
void |
setTypeUsingReflection(String className,
String propertyName) |
copyTypeFrom, createForeignKey, createForeignKeyOfEntity, createIdentifierGenerator, getAttributeConverterDescriptor, getBuildingContext, getColumn, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getFetchMode, getForeignKeyDefinition, getForeignKeyName, getIdentifierGenerator, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getJpaAttributeConverterDescriptor, getMetadata, getNullValue, getSelectables, getServiceRegistry, getTable, getTypeName, getTypeParameters, hasAnyInsertableColumns, hasAnyUpdatableColumns, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isLob, isNationalized, isNullable, isSame, isSame, isSimpleValue, isTypeSpecified, isUpdateable, isVersion, justAddColumn, justAddColumn, justAddFormula, makeLob, makeNationalized, makeVersion, setAlternateUniqueKey, setAttributeConverterDescriptor, setCascadeDeleteEnabled, setForeignKeyDefinition, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setJpaAttributeConverterDescriptor, setNullValue, setTable, setTypeName, setTypeParameters, setTypeParameters, toString
public Any(MetadataBuildingContext buildingContext, Table table)
public Any.MetaValue getMetaMapping()
public SimpleValue getKeyMapping()
public String getIdentifierType()
public void setIdentifierType(String identifierType)
public AnyType getType() throws MappingException
MappingException
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 String getMetaType()
public void setMetaType(String type)
public void setMetaValues(Map metaValueToEntityNameMap)
public boolean isLazy()
public void setLazy(boolean lazy)
public void setTypeUsingReflection(String className, String propertyName) throws MappingException
setTypeUsingReflection
in interface Value
setTypeUsingReflection
in class SimpleValue
MappingException
public Object accept(ValueVisitor visitor)
accept
in interface Value
accept
in class SimpleValue
public boolean isSame(SimpleValue other)
isSame
in class SimpleValue
public boolean isSame(Any other)
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.