Record Class DatalogFileSpec<T extends LogicConstraintSpec>
java.lang.Object
java.lang.Record
edu.upc.fib.inlab.imp.kse.logics.logicschema.services.creation.spec.DatalogFileSpec<T>
- All Implemented Interfaces:
LogicElementSpec
public record DatalogFileSpec<T extends LogicConstraintSpec>(LogicSchemaSpec<T extends LogicConstraintSpec> logicSchemaSpec, Set<QuerySpec> querySetSpec)
extends Record
implements LogicElementSpec
-
Constructor Summary
ConstructorsConstructorDescriptionDatalogFileSpec(LogicSchemaSpec<T> logicSchemaSpec, Set<QuerySpec> querySetSpec) Creates an instance of aDatalogFileSpecrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelogicSchemaSpecrecord component.Returns the value of thequerySetSpecrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DatalogFileSpec
Creates an instance of aDatalogFileSpecrecord class.- Parameters:
logicSchemaSpec- the value for thelogicSchemaSpecrecord componentquerySetSpec- the value for thequerySetSpecrecord 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). -
logicSchemaSpec
Returns the value of thelogicSchemaSpecrecord component.- Returns:
- the value of the
logicSchemaSpecrecord component
-
querySetSpec
Returns the value of thequerySetSpecrecord component.- Returns:
- the value of the
querySetSpecrecord component
-