|
1 | 1 | /*
|
2 | 2 | * Hibernate, Relational Persistence for Idiomatic Java
|
3 | 3 | *
|
4 |
| - * License: GNU Lesser General Public License (LGPL), version 2.1 or later |
5 |
| - * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html |
| 4 | + * License: GNU Lesser General Public License (LGPL), version 2.1 or later. |
| 5 | + * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html. |
6 | 6 | */
|
7 |
| -package org.hibernate.persister.entity; |
| 7 | +package org.hibernate.metamodel.mapping; |
8 | 8 |
|
9 | 9 | import java.util.LinkedHashMap;
|
10 | 10 | import java.util.Objects;
|
11 | 11 | import java.util.function.Consumer;
|
12 | 12 |
|
13 | 13 | import org.hibernate.Incubating;
|
14 |
| -import org.hibernate.metamodel.mapping.AttributeMapping; |
15 |
| -import org.hibernate.persister.internal.EmptyAttributeMappingsMap; |
16 |
| -import org.hibernate.persister.internal.ImmutableAttributeMappingsMap; |
| 14 | +import org.hibernate.metamodel.mapping.internal.EmptyAttributeMappingsMap; |
| 15 | +import org.hibernate.metamodel.mapping.internal.ImmutableAttributeMappingsMap; |
17 | 16 |
|
18 | 17 | /**
|
19 |
| - * Similarly to @{@link AttributeMappingsList}, this is essentially |
| 18 | + * Similar to {@link AttributeMappingsList}, this is essentially |
20 | 19 | * an immutable Map of AttributeMapping(s), allowing iteration of
|
21 | 20 | * all mappings but also retrieval by name (a String key).
|
22 | 21 | * Exposing a custom interface is more suitable to our needs than
|
23 | 22 | * reusing the stock Map API; it expresses the immutable nature of
|
24 |
| - * this structure, and might allows us to extend it with additional |
| 23 | + * this structure, and might allow us to extend it with additional |
25 | 24 | * convenience methods such as needs evolve.
|
26 | 25 | * And additional reason for the custom interface is to allow
|
27 | 26 | * custom implementations which can be highly optimised as
|
28 | 27 | * necessary for our specific needs; for example the
|
29 |
| - * implementation @{@link ImmutableAttributeMappingsMap} |
| 28 | + * implementation {@link ImmutableAttributeMappingsMap} |
30 | 29 | * is able to avoid caching problems related to JDK-8180450, which would
|
31 | 30 | * not have been possible with a standard generic container.
|
| 31 | + * |
32 | 32 | * @since 6.2
|
33 | 33 | */
|
34 | 34 | @Incubating
|
|
0 commit comments