java.lang.Object
java.lang.Record
jakarta.data.metamodel.impl.TextAttributeRecord<T>
- Record Components:
name- the name of the attribute
- All Implemented Interfaces:
ComparableExpression<T,,String> Expression<T,,String> TextExpression<T>,Attribute<T>,BasicAttribute<T,,String> ComparableAttribute<T,,String> SortableAttribute<T>,TextAttribute<T>
@Deprecated(since="1.1")
public record TextAttributeRecord<T>(String name)
extends Record
implements TextAttribute<T>
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionTextAttributeRecord(String name) Deprecated.Creates an instance of aTextAttributeRecordrecord 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
declaringTypeMethods inherited from interface jakarta.data.expression.ComparableExpression
between, between, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThanEqual, lessThanEqual, notBetween, notBetweenMethods inherited from interface jakarta.data.expression.Expression
equalTo, equalTo, in, in, in, isNull, notEqualTo, notEqualTo, notIn, notIn, notIn, notNull, satisfiesMethods inherited from interface jakarta.data.metamodel.SortableAttribute
asc, descMethods inherited from interface jakarta.data.metamodel.TextAttribute
ascIgnoreCase, attributeType, descIgnoreCaseMethods inherited from interface jakarta.data.expression.TextExpression
append, append, contains, endsWith, left, length, like, like, like, like, lower, notContains, notEndsWith, notLike, notLike, notLike, notStartsWith, prepend, prepend, right, startsWith, upper
-
Constructor Details
-
TextAttributeRecord
Deprecated.Creates an instance of aTextAttributeRecordrecord 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.
-
TextAttribute.of(Class, String)method to obtain instances ofTextAttribute.