Record Class FunctionalDependencyWithEGDs
java.lang.Object
java.lang.Record
edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.analyzers.egds.FunctionalDependencyWithEGDs
public record FunctionalDependencyWithEGDs(List<EGD> egdList, FunctionalDependency functionalDependency)
extends Record
Class that stores the functionalDependency encoded by some egdList
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionalDependencyWithEGDs(List<EGD> egdList, FunctionalDependency functionalDependency) Creates an instance of aFunctionalDependencyWithEGDsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionegdList()Returns the value of theegdListrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionalDependencyrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FunctionalDependencyWithEGDs
Creates an instance of aFunctionalDependencyWithEGDsrecord class.- Parameters:
egdList- the value for theegdListrecord componentfunctionalDependency- the value for thefunctionalDependencyrecord 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 theegdListrecord component.- Returns:
- the value of the
egdListrecord component
-
functionalDependency
Returns the value of thefunctionalDependencyrecord component.- Returns:
- the value of the
functionalDependencyrecord component
-