Skip to content

Commit e28bd8c

Browse files
committed
minor jdoc improvements
1 parent 9258e0c commit e28bd8c

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AnyMappingDomainType.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77

88
/**
9-
* Models Hibernate's ANY mapping (reverse discrimination) as a JPA domain model type
9+
* Models Hibernate's {@link org.hibernate.annotations.Any @Any} mapping
10+
* (reverse discrimination) as a JPA domain model type.
1011
*
1112
* @param <J> The base Java type defined for the {@code any} mapping
1213
*

hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/DomainType.java

+10-8
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@
99
import org.hibernate.type.descriptor.java.JavaType;
1010

1111
/**
12-
* Describes any type that occurs in the application's domain model.
12+
* Describes any type forming part of the application domain model.
1313
* <p>
14-
* The base for Hibernate's extension of the JPA type system.
14+
* This is the base type for Hibernate's extension of the standard metamodel
15+
* of the {@linkplain jakarta.persistence.metamodel.Type JPA type system}.
1516
* <p>
16-
* Encapsulates a {@link JavaType} describing the more rudimentary
17-
* aspects of the Java type. The DomainType is a higher-level construct
18-
* incorporating information such as bean properties, constructors, etc
17+
* Encapsulates a {@link JavaType} describing the more rudimentary aspects
18+
* of the Java type. The {@code DomainType} is a higher-level construct
19+
* incorporating information such as bean properties, constructors, etc.
1920
*
2021
* @implNote The actual JPA type system is more akin to {@link SimpleDomainType}.
21-
* This contract represents a "higher level" than JPA
22-
* including descriptors for collections (which JPA does not define) as well as
23-
* Hibernate-specific features (like dynamic models or ANY mappings).
22+
* This contract represents a "higher level" abstraction, allowing
23+
* descriptors for collections (which JPA does not define) as well
24+
* as Hibernate-specific features (like dynamic models and
25+
* {@link org.hibernate.annotations.Any @Any}).
2426
*
2527
* @author Steve Ebersole
2628
*/

0 commit comments

Comments
 (0)