Package jakarta.data.metamodel
Interface Attribute<T>
- Type Parameters:
T
- entity class of the static metamodel.
- All Known Subinterfaces:
SortableAttribute<T>
,TextAttribute<T>
- All Known Implementing Classes:
AttributeRecord
,SortableAttributeRecord
,TextAttributeRecord
public interface Attribute<T>
Represents an entity attribute in the
StaticMetamodel
.-
Method Summary
-
Method Details
-
name
String name()Obtain the entity attribute name, suitable for use wherever the specification requires an entity attribute name. For example, as the parameter toSort.asc(String)
.- Returns:
- the entity attribute name.
-