Interface ValidatingRelationDescriptor<S extends Relatable,​T extends Relatable>

    • Method Detail

      • canRelate

        ValidationResult canRelate​(S source,
                                   T target)
        Returns ValidationResult, which indicates if two given entities may form a relation, described by this RelationDescriptor object
        Parameters:
        source - entity
        target - entity
        Returns:
        validation result