Package app.portaki.sdk.module.backend
Record Class ModuleHostContext
java.lang.Object
java.lang.Record
app.portaki.sdk.module.backend.ModuleHostContext
Contexte minimal transmis au backend d'un module hôte (auth et périmètre déjà validés par l'API).
-
Constructor Summary
ConstructorsConstructorDescriptionModuleHostContext(UUID tenantId, UUID propertyId, String moduleId) Creates an instance of aModuleHostContextrecord class. -
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.moduleId()Returns the value of themoduleIdrecord component.Returns the value of thepropertyIdrecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModuleHostContext
Creates an instance of aModuleHostContextrecord class.- Parameters:
tenantId- the value for thetenantIdrecord componentpropertyId- the value for thepropertyIdrecord componentmoduleId- the value for themoduleIdrecord component
-
-
Method Details
-
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). -
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-
propertyId
Returns the value of thepropertyIdrecord component.- Returns:
- the value of the
propertyIdrecord component
-
moduleId
Returns the value of themoduleIdrecord component.- Returns:
- the value of the
moduleIdrecord component
-