- Type Parameters:
T- entity class of the static metamodel.V- type of entity attribute (or wrapper type if primitive).
- All Superinterfaces:
Attribute<T>,Expression<T,V>
- All Known Subinterfaces:
BooleanAttribute<T>,ComparableAttribute<T,,V> NumericAttribute<T,,N> TemporalAttribute<T,,V> TextAttribute<T>
- All Known Implementing Classes:
TextAttributeRecord
Represents an entity attribute in the StaticMetamodel that is
neither sortable nor capable of order-based comparison. Subclasses of
BasicAttribute allow for entity attributes with those abilities.
- Since:
- 1.1
-
Method Summary
Methods inherited from interface jakarta.data.metamodel.Attribute
declaringType, nameMethods inherited from interface jakarta.data.expression.Expression
equalTo, equalTo, in, in, in, isNull, notEqualTo, notEqualTo, notIn, notIn, notIn, notNull, satisfies
-
Method Details
-
type
Obtain the Java class of the entity attribute. -
of
Creates a static metamodel
BasicAttributerepresenting the entity attribute with the specified name.- Type Parameters:
T- entity class of the static metamodel.V- type of entity attribute (or wrapper type if primitive).- Parameters:
entityClass- the entity class.name- the name of the entity attribute.attributeType- type of the entity attribute.- Returns:
- instance of
BasicAttribute.
-