Record Class EGDToFDAnalysisResult
java.lang.Object
java.lang.Record
edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.analyzers.egds.EGDToFDAnalysisResult
public record EGDToFDAnalysisResult(List<FunctionalDependencyWithEGDs> functionalDependenciesEGDs, List<EGD> nonFunctionalDependencyEGDs)
extends Record
-
Constructor Summary
ConstructorDescriptionEGDToFDAnalysisResult
(List<FunctionalDependencyWithEGDs> functionalDependenciesEGDs, List<EGD> nonFunctionalDependencyEGDs) Creates an instance of aEGDToFDAnalysisResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefunctionalDependenciesEGDs
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of thenonFunctionalDependencyEGDs
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
EGDToFDAnalysisResult
public EGDToFDAnalysisResult(List<FunctionalDependencyWithEGDs> functionalDependenciesEGDs, List<EGD> nonFunctionalDependencyEGDs) Creates an instance of aEGDToFDAnalysisResult
record class.- Parameters:
functionalDependenciesEGDs
- the value for thefunctionalDependenciesEGDs
record componentnonFunctionalDependencyEGDs
- the value for thenonFunctionalDependencyEGDs
record component
-
-
Method Details
-
getFunctionalDependencies
-
allEGDsDefinesKeyDependencies
public boolean allEGDsDefinesKeyDependencies() -
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)
. -
functionalDependenciesEGDs
Returns the value of thefunctionalDependenciesEGDs
record component.- Returns:
- the value of the
functionalDependenciesEGDs
record component
-
nonFunctionalDependencyEGDs
Returns the value of thenonFunctionalDependencyEGDs
record component.- Returns:
- the value of the
nonFunctionalDependencyEGDs
record component
-