java.lang.Object
java.lang.Record
jakarta.data.metamodel.impl.SortableAttributeRecord<T>
- Record Components:
name- the name of the attribute
- All Implemented Interfaces:
Attribute<T>,SortableAttribute<T>
@Deprecated(since="1.1")
public record SortableAttributeRecord<T>(String name)
extends Record
implements SortableAttribute<T>
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates an instance of aSortableAttributeRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.name()Deprecated.Returns the value of thenamerecord component.final StringtoString()Deprecated.Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.data.metamodel.Attribute
declaringType, typeMethods inherited from interface jakarta.data.metamodel.SortableAttribute
asc, desc
-
Constructor Details
-
SortableAttributeRecord
Deprecated.Creates an instance of aSortableAttributeRecordrecord class.- Parameters:
name- the value for thenamerecord component
-
-
Method Details
-
toString
Deprecated.Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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
Deprecated.Returns the value of thenamerecord component.
-
SortableAttributethat applies to the entity attribute, such asTextAttributeorNumericAttribute.