Package dev.shamoo.runtime.core
Record Class CompiledBindingMetadata
java.lang.Object
java.lang.Record
dev.shamoo.runtime.core.CompiledBindingMetadata
public record CompiledBindingMetadata(String namespace, String typeName, String componentId, String method, dev.shamoo.runtime.protocol.ProtocolVersion protocolVersion)
extends Record
Generated binding identity required before a platform operation can be invoked.
-
Constructor Summary
ConstructorsConstructorDescriptionCompiledBindingMetadata(String namespace, String typeName, String componentId, String method, dev.shamoo.runtime.protocol.ProtocolVersion protocolVersion) Creates an instance of aCompiledBindingMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentIdrecord component.final booleanIndicates whether some other object is "equal to" this one.static CompiledBindingMetadatafinal inthashCode()Returns a hash code value for this object.method()Returns the value of themethodrecord component.Returns the value of thenamespacerecord component.dev.shamoo.runtime.protocol.ProtocolVersionReturns the value of theprotocolVersionrecord component.final StringtoString()Returns a string representation of this record class.typeName()Returns the value of thetypeNamerecord component.
-
Constructor Details
-
CompiledBindingMetadata
public CompiledBindingMetadata(String namespace, String typeName, String componentId, String method, dev.shamoo.runtime.protocol.ProtocolVersion protocolVersion) Creates an instance of aCompiledBindingMetadatarecord class.- Parameters:
namespace- the value for thenamespacerecord componenttypeName- the value for thetypeNamerecord componentcomponentId- the value for thecomponentIdrecord componentmethod- the value for themethodrecord componentprotocolVersion- the value for theprotocolVersionrecord component
-
-
Method Details
-
from
-
toString
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()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
-
typeName
Returns the value of thetypeNamerecord component.- Returns:
- the value of the
typeNamerecord component
-
componentId
Returns the value of thecomponentIdrecord component.- Returns:
- the value of the
componentIdrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
protocolVersion
public dev.shamoo.runtime.protocol.ProtocolVersion protocolVersion()Returns the value of theprotocolVersionrecord component.- Returns:
- the value of the
protocolVersionrecord component
-