Package tools.refinery.generator.impl
Record Class ConcreteModelFacade.Args
java.lang.Object
java.lang.Record
tools.refinery.generator.impl.ConcreteModelFacade.Args
- Enclosing class:
ConcreteModelFacade
public static record ConcreteModelFacade.Args(ModelFacadeImpl.Args facadeArgs, com.google.inject.Provider<SolutionSerializer> solutionSerializerProvider, boolean keepNonExistingObjects)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionArgs
(ModelFacadeImpl.Args facadeArgs, com.google.inject.Provider<SolutionSerializer> solutionSerializerProvider, boolean keepNonExistingObjects) Creates an instance of aArgs
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefacadeArgs
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of thekeepNonExistingObjects
record component.com.google.inject.Provider
<SolutionSerializer> Returns the value of thesolutionSerializerProvider
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Args
public Args(ModelFacadeImpl.Args facadeArgs, com.google.inject.Provider<SolutionSerializer> solutionSerializerProvider, boolean keepNonExistingObjects) Creates an instance of aArgs
record class.- Parameters:
facadeArgs
- the value for thefacadeArgs
record componentsolutionSerializerProvider
- the value for thesolutionSerializerProvider
record componentkeepNonExistingObjects
- the value for thekeepNonExistingObjects
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
facadeArgs
Returns the value of thefacadeArgs
record component.- Returns:
- the value of the
facadeArgs
record component
-
solutionSerializerProvider
Returns the value of thesolutionSerializerProvider
record component.- Returns:
- the value of the
solutionSerializerProvider
record component
-
keepNonExistingObjects
public boolean keepNonExistingObjects()Returns the value of thekeepNonExistingObjects
record component.- Returns:
- the value of the
keepNonExistingObjects
record component
-