- Type Parameters:
T- entity class of the static metamodel.U- type of entity attribute.
- All Superinterfaces:
Attribute<T>,NavigableExpression<T,U>
Represents an entity attribute that is an embeddable or association to another entity. These types of entity attributes have attributes of their own that can be navigated to.
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,U> NavigableAttribute <T, U> Creates a static metamodelNavigableAttributerepresenting the entity attribute with the specified name.type()Obtain the Java class of the entity attribute.Methods inherited from interface jakarta.data.metamodel.Attribute
declaringType, name
-
Method Details
-
type
Description copied from interface:AttributeObtain the Java class of the entity attribute. -
of
Creates a static metamodel
NavigableAttributerepresenting the entity attribute with the specified name.- Type Parameters:
T- entity class of the static metamodel.U- type of entity attribute.- Parameters:
entityClass- the entity class.name- the name of the entity attribute.attributeType- type of the entity attribute.- Returns:
- instance of
NavigableAttribute.
-