A Value is essentially a Hibernate Type, together with zero or
more columns. In the mapping model, a Value always comes
wrapped in something with higher-level semantics, for example, a property, a
collection, or a class.
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public default void | checkColumnDuplication(Set<String>
set containing the names of the columns to check distinctColumns, String the owner of this value, used just for error reporting owner)Checks if this value contains any duplicate column. |
| public Value | |
| public void | |
| public void | |
| public default MetadataBuildingContext | |
| public boolean[] | |
| public List | |
| public int | |
| public boolean[] | |
| public default List | getConstraintColumns()
Same as |
| public default String | |
| public FetchMode | |
| private Type | |
| public List | |
| public default JdbcMapping | getSelectableType(Mapping factory, int index)
Deprecated
as a consequence of
Mapping being deprecated.
|
| public ServiceRegistry | |
| public Table | |
| public Type | |
| private JdbcMapping | |
| public default List | getVirtualSelectables()
Same as |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void |
| accept | back to summary |
|---|---|
| public Object accept(ValueVisitor visitor) | |
| checkColumnDuplication | back to summary |
|---|---|
| public default void checkColumnDuplication(Set<String> distinctColumns, String owner) Checks if this value contains any duplicate column. A column
is considered duplicate when its
If a duplicate column is found, a | |
| copy | back to summary |
|---|---|
| public Value copy() | |
| createForeignKey | back to summary |
|---|---|
| public void createForeignKey() | |
| createUniqueKey | back to summary |
|---|---|
| public void createUniqueKey() | |
| getBuildingContext | back to summary |
|---|---|
public default MetadataBuildingContext getBuildingContext()
| |
| getColumnInsertability | back to summary |
|---|---|
| public boolean[] getColumnInsertability() | |
| getColumns | back to summary |
|---|---|
| public List If the mapping involves only columns, return them.
| |
| getColumnSpan | back to summary |
|---|---|
| public int getColumnSpan() The number of columns and formulas in the mapping. | |
| getColumnUpdateability | back to summary |
|---|---|
| public boolean[] getColumnUpdateability() | |
| getConstraintColumns | back to summary |
|---|---|
| public default List Same as
| |
| getExtraCreateTableInfo | back to summary |
|---|---|
public default String getExtraCreateTableInfo()
| |
| getFetchMode | back to summary |
|---|---|
| public FetchMode getFetchMode() | |
| getIdType | back to summary |
|---|---|
| private Type getIdType(EntityType entityType) | |
| getSelectables | back to summary |
|---|---|
| public List The mapping to columns and formulas. | |
| getSelectableType | back to summary |
|---|---|
| public default JdbcMapping getSelectableType(Mapping factory, int index) throws MappingException
Deprecated as a consequence of
| |
| getServiceRegistry | back to summary |
|---|---|
| public ServiceRegistry getServiceRegistry() | |
| getTable | back to summary |
|---|---|
| public Table getTable() | |
| getType | back to summary |
|---|---|
| public Type getType() throws MappingException | |
| getType | back to summary |
|---|---|
| private JdbcMapping getType(Mapping factory, Type elementType, int index)
Deprecated as a consequence of | |
| getVirtualSelectables | back to summary |
|---|---|
| public default List Same as | |
| hasAnyInsertableColumns | back to summary |
|---|---|
| public boolean hasAnyInsertableColumns() | |
| hasAnyUpdatableColumns | back to summary |
|---|---|
| public boolean hasAnyUpdatableColumns() | |
| hasFormula | back to summary |
|---|---|
| public boolean hasFormula() | |
| isAlternateUniqueKey | back to summary |
|---|---|
| public boolean isAlternateUniqueKey() | |
| isColumnInsertable | back to summary |
|---|---|
| public boolean isColumnInsertable(int index) | |
| isColumnUpdateable | back to summary |
|---|---|
| public boolean isColumnUpdateable(int index) | |
| isNullable | back to summary |
|---|---|
| public boolean isNullable() | |
| isSame | back to summary |
|---|---|
| public boolean isSame(Value other) | |
| isSimpleValue | back to summary |
|---|---|
| public boolean isSimpleValue() | |
| isValid | back to summary |
|---|---|
| public boolean isValid(Mapping mapping) throws MappingException
Deprecated as a consequence of | |
| setTypeUsingReflection | back to summary |
|---|---|
| public void setTypeUsingReflection(String className, String propertyName) throws MappingException | |