java.lang.Object
java.lang.Record
jakarta.data.metamodel.impl.TextAttributeRecord<T>
- Record Components:
name
- the name of the attribute
- All Implemented Interfaces:
Attribute<T>
,SortableAttribute<T>
,TextAttribute<T>
Record type implementing
TextAttribute
.
This may be used to simplify implementation of the static metamodel.-
Constructor Summary
ConstructorDescriptionTextAttributeRecord
(String name) Creates an instance of aTextAttributeRecord
record class. -
Method Summary
Modifier and TypeMethodDescriptionasc()
Obtain a request for an ascendingSort
based on the entity attribute.Obtain a request for an ascending, case insensitiveSort
based on the entity attribute.desc()
Obtain a request for a descendingSort
based on the entity attribute.Obtain a request for a descending, case insensitiveSort
based on the entity attribute.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
TextAttributeRecord
-
-
Method Details
-
asc
Description copied from interface:SortableAttribute
Obtain a request for an ascendingSort
based on the entity attribute.- Specified by:
asc
in interfaceSortableAttribute<T>
- Returns:
- a request for an ascending sort on the entity attribute.
-
desc
Description copied from interface:SortableAttribute
Obtain a request for a descendingSort
based on the entity attribute.- Specified by:
desc
in interfaceSortableAttribute<T>
- Returns:
- a request for a descending sort on the entity attribute.
-
ascIgnoreCase
Description copied from interface:TextAttribute
Obtain a request for an ascending, case insensitiveSort
based on the entity attribute.- Specified by:
ascIgnoreCase
in interfaceTextAttribute<T>
- Returns:
- a request for an ascending, case insensitive sort on the entity attribute.
-
descIgnoreCase
Description copied from interface:TextAttribute
Obtain a request for a descending, case insensitiveSort
based on the entity attribute.- Specified by:
descIgnoreCase
in interfaceTextAttribute<T>
- Returns:
- a request for a descending, case insensitive sort on the entity attribute.
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
name
-