Record Class ResolvedSchemaDefinition
java.lang.Object
java.lang.Record
express.mvp.myra.codec.codegen.resolver.ResolvedSchemaDefinition
public record ResolvedSchemaDefinition(String namespace, String version, List<ResolvedMessageDefinition> messages, List<ResolvedEnumDefinition> enums)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedSchemaDefinition(String namespace, String version, List<ResolvedMessageDefinition> messages, List<ResolvedEnumDefinition> enums) Creates an instance of aResolvedSchemaDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionenums()Returns the value of theenumsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.messages()Returns the value of themessagesrecord component.Returns the value of thenamespacerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
ResolvedSchemaDefinition
public ResolvedSchemaDefinition(String namespace, String version, List<ResolvedMessageDefinition> messages, List<ResolvedEnumDefinition> enums) Creates an instance of aResolvedSchemaDefinitionrecord class.- Parameters:
namespace- the value for thenamespacerecord componentversion- the value for theversionrecord componentmessages- the value for themessagesrecord componentenums- the value for theenumsrecord 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). -
namespace
Returns the value of thenamespacerecord component.- Returns:
- the value of the
namespacerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
messages
Returns the value of themessagesrecord component.- Returns:
- the value of the
messagesrecord component
-
enums
Returns the value of theenumsrecord component.- Returns:
- the value of the
enumsrecord component
-