Record Class FunctionalDependencyWithEGDs
java.lang.Object
java.lang.Record
edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.analyzers.egds.FunctionalDependencyWithEGDs
- Record Components:
egdList
-functionalDependency
-
public record FunctionalDependencyWithEGDs(List<EGD> egdList, FunctionalDependency functionalDependency)
extends Record
Class that stores the functionalDependency encoded by some egdList
-
Constructor Summary
ConstructorDescriptionFunctionalDependencyWithEGDs
(List<EGD> egdList, FunctionalDependency functionalDependency) Creates an instance of aFunctionalDependencyWithEGDs
record class. -
Method Summary
Modifier and TypeMethodDescriptionegdList()
Returns the value of theegdList
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefunctionalDependency
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
FunctionalDependencyWithEGDs
Creates an instance of aFunctionalDependencyWithEGDs
record class.- Parameters:
egdList
- the value for theegdList
record componentfunctionalDependency
- the value for thefunctionalDependency
record component
-
-
Method Details
-
getPredicateName
-
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)
. -
egdList
Returns the value of theegdList
record component.- Returns:
- the value of the
egdList
record component
-
functionalDependency
Returns the value of thefunctionalDependency
record component.- Returns:
- the value of the
functionalDependency
record component
-