Package tools.refinery.generator.impl
Record Class ModelFacadeImpl.Args
java.lang.Object
java.lang.Record
tools.refinery.generator.impl.ModelFacadeImpl.Args
- Enclosing class:
ModelFacadeImpl
public static record ModelFacadeImpl.Args(ProblemTrace problemTrace, ModelStore store, ModelSeed modelSeed, com.google.inject.Provider<MetadataCreator> metadataCreatorProvider, RefineryDiagnostics diagnostics)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionArgs
(ProblemTrace problemTrace, ModelStore store, ModelSeed modelSeed, com.google.inject.Provider<MetadataCreator> metadataCreatorProvider, RefineryDiagnostics diagnostics) Creates an instance of aArgs
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thediagnostics
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.com.google.inject.Provider
<MetadataCreator> Returns the value of themetadataCreatorProvider
record component.Returns the value of themodelSeed
record component.Returns the value of theproblemTrace
record component.store()
Returns the value of thestore
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Args
public Args(ProblemTrace problemTrace, ModelStore store, ModelSeed modelSeed, com.google.inject.Provider<MetadataCreator> metadataCreatorProvider, RefineryDiagnostics diagnostics) Creates an instance of aArgs
record class.- Parameters:
problemTrace
- the value for theproblemTrace
record componentstore
- the value for thestore
record componentmodelSeed
- the value for themodelSeed
record componentmetadataCreatorProvider
- the value for themetadataCreatorProvider
record componentdiagnostics
- the value for thediagnostics
record 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)
. -
problemTrace
Returns the value of theproblemTrace
record component.- Returns:
- the value of the
problemTrace
record component
-
store
Returns the value of thestore
record component.- Returns:
- the value of the
store
record component
-
modelSeed
Returns the value of themodelSeed
record component.- Returns:
- the value of the
modelSeed
record component
-
metadataCreatorProvider
Returns the value of themetadataCreatorProvider
record component.- Returns:
- the value of the
metadataCreatorProvider
record component
-
diagnostics
Returns the value of thediagnostics
record component.- Returns:
- the value of the
diagnostics
record component
-