Record Class ServiceRegistrationDetails
java.lang.Object
java.lang.Record
org.ek9lang.compiler.ir.data.ServiceRegistrationDetails
- Record Components:
serviceFqn- Fully qualified service name (e.g., "example.services::DataService")routeDetails- The complete route table for this servicedebugInfo- Source location of the registration statement
public record ServiceRegistrationDetails(String serviceFqn, ServiceRouteDetails routeDetails, DebugInfo debugInfo)
extends Record
A single service registration within an application.
When an application uses register ServiceType(), the application's
_prepare method needs both the service FQN and its full route table.
This record pairs the application-level registration concept with the
service-level route metadata.
Created during application IR generation (Step 4) when processing
service registrations. The ServiceRouteDetails is looked up from
the service's IRConstruct.
-
Constructor Summary
ConstructorsConstructorDescriptionServiceRegistrationDetails(String serviceFqn, ServiceRouteDetails routeDetails, DebugInfo debugInfo) Create service registration details with validation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedebugInforecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therouteDetailsrecord component.Returns the value of theserviceFqnrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
ServiceRegistrationDetails
public ServiceRegistrationDetails(String serviceFqn, ServiceRouteDetails routeDetails, DebugInfo debugInfo) Create service registration details with validation.
-
-
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). -
serviceFqn
Returns the value of theserviceFqnrecord component.- Returns:
- the value of the
serviceFqnrecord component
-
routeDetails
Returns the value of therouteDetailsrecord component.- Returns:
- the value of the
routeDetailsrecord component
-
debugInfo
-