Package ch.rswk.meta.engine
Record Class MetaService.CachedMetaAction
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.MetaService.CachedMetaAction
- Enclosing class:
MetaService
public static record MetaService.CachedMetaAction(MetaAction action, @Nullable com.networknt.schema.JsonSchema paramSchema, @Nullable com.networknt.schema.JsonSchema resultSchema)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MetaActionThe field for theactionrecord component.private final @Nullable com.networknt.schema.JsonSchemaThe field for theparamSchemarecord component.private final @Nullable com.networknt.schema.JsonSchemaThe field for theresultSchemarecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCachedMetaAction(MetaAction action, @Nullable com.networknt.schema.JsonSchema paramSchema, @Nullable com.networknt.schema.JsonSchema resultSchema) Creates an instance of aCachedMetaActionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable com.networknt.schema.JsonSchemaReturns the value of theparamSchemarecord component.@Nullable com.networknt.schema.JsonSchemaReturns the value of theresultSchemarecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
action
The field for theactionrecord component. -
paramSchema
private final @Nullable com.networknt.schema.JsonSchema paramSchemaThe field for theparamSchemarecord component. -
resultSchema
private final @Nullable com.networknt.schema.JsonSchema resultSchemaThe field for theresultSchemarecord component.
-
-
Constructor Details
-
CachedMetaAction
public CachedMetaAction(MetaAction action, @Nullable com.networknt.schema.JsonSchema paramSchema, @Nullable com.networknt.schema.JsonSchema resultSchema) Creates an instance of aCachedMetaActionrecord class.- Parameters:
action- the value for theactionrecord componentparamSchema- the value for theparamSchemarecord componentresultSchema- the value for theresultSchemarecord component
-
-
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). -
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
paramSchema
public @Nullable com.networknt.schema.JsonSchema paramSchema()Returns the value of theparamSchemarecord component.- Returns:
- the value of the
paramSchemarecord component
-
resultSchema
public @Nullable com.networknt.schema.JsonSchema resultSchema()Returns the value of theresultSchemarecord component.- Returns:
- the value of the
resultSchemarecord component
-