Record Class CAMetadataValueMatchType.TextMatchType.ExactTextValue
java.lang.Object
java.lang.Record
com.io7m.cardant.model.CAMetadataValueMatchType.TextMatchType.ExactTextValue
- Record Components:
text- The text value
- All Implemented Interfaces:
CAMetadataValueMatchType,CAMetadataValueMatchType.TextMatchType
- Enclosing interface:
CAMetadataValueMatchType.TextMatchType
public static record CAMetadataValueMatchType.TextMatchType.ExactTextValue(String text)
extends Record
implements CAMetadataValueMatchType.TextMatchType
Match metadata of a text type with the exact value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cardant.model.CAMetadataValueMatchType
CAMetadataValueMatchType.AnyValue, CAMetadataValueMatchType.IntegralMatchType, CAMetadataValueMatchType.MonetaryMatchType, CAMetadataValueMatchType.RealMatchType, CAMetadataValueMatchType.TextMatchType, CAMetadataValueMatchType.TimeMatchTypeNested classes/interfaces inherited from interface com.io7m.cardant.model.CAMetadataValueMatchType.TextMatchType
CAMetadataValueMatchType.TextMatchType.ExactTextValue, CAMetadataValueMatchType.TextMatchType.Search -
Constructor Summary
ConstructorsConstructorDescriptionExactTextValue(String text) Match metadata of a text type with the exact value. -
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.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExactTextValue
Match metadata of a text type with the exact value.- Parameters:
text- The text value
-
-
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). -
text
-