Interface IndexBasedConstraintConverter

    • Method Detail

      • convert

        List<TupleList> convert​(List<Constraint> constraints,
                                int lastId)
        Converts all constraints to TupleLists by using the index based schema explained in ModelConverter. The constraints need to be converted in order.
        Parameters:
        constraints - all Constraints which need to be converted. Must not be null but can be empty
        lastId - last id that has been assigned.
        Returns:
        the converted constraints in the same order as the given constraints
      • convert

        TupleList convert​(Constraint constraint,
                          int lastId)
        Converts the constraint to a TupleList by using the index based schema explained in ModelConverter.
        Parameters:
        constraint - Constraint that needs to be converted. Must not be null.
        lastId - last id that has been assigned.
        Returns:
        the converted Constraint.