Record Class CAMetadataValueMatchType.TextMatchType.Search
java.lang.Object
java.lang.Record
com.io7m.cardant.model.CAMetadataValueMatchType.TextMatchType.Search
- Record Components:
query- The search query
- All Implemented Interfaces:
CAMetadataValueMatchType, CAMetadataValueMatchType.TextMatchType
- Enclosing interface:
CAMetadataValueMatchType.TextMatchType
public static record CAMetadataValueMatchType.TextMatchType.Search(String query)
extends Record
implements CAMetadataValueMatchType.TextMatchType
Match metadata of a text type that matches the given search query.
-
Nested Class Summary
Nested classes/interfaces inherited from interface CAMetadataValueMatchType
CAMetadataValueMatchType.AnyValue, CAMetadataValueMatchType.IntegralMatchType, CAMetadataValueMatchType.MonetaryMatchType, CAMetadataValueMatchType.RealMatchType, CAMetadataValueMatchType.TextMatchType, CAMetadataValueMatchType.TimeMatchTypeNested classes/interfaces inherited from interface CAMetadataValueMatchType.TextMatchType
CAMetadataValueMatchType.TextMatchType.ExactTextValue, CAMetadataValueMatchType.TextMatchType.Search -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.query()Returns the value of thequeryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Search
Match metadata of a text type that matches the given search query.- Parameters:
query- The search query
-
-
Method Details
-
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). -
query
-