Interface DefaultRelationChanges

  • All Superinterfaces:
    RelationChanges
    All Known Implementing Classes:
    DefaultNonLocalizedRelationChanges

    public interface DefaultRelationChanges
    extends RelationChanges
    Represents the default (typically non localized) relation changes, provides information about one to many and many to many relation records and allows to add new such records
    • Method Detail

      • getInsertManyToManyRelationRecords

        java.util.Collection<InsertManyToManyRelationRecord> getInsertManyToManyRelationRecords()
        returns the many to many relation records too be inserted
        Returns:
        collection of many to many relation records to be inserted
      • getRemoveManyToManyRelationsRecords

        java.util.Collection<RemoveManyToManyRelationsRecord> getRemoveManyToManyRelationsRecords()
        returns the many to many relation records too be removed
        Returns:
        collection of many to many relation records to be removed
      • getOneToManyRelationRecords

        java.util.Collection<InsertOneToManyRelationRecord> getOneToManyRelationRecords()
        returns the one to many relation records to be inserted
        Returns:
        collection of one to many relation records to be inserted
      • add

        void add​(InsertManyToManyRelationRecord... records)
        Allows to add new many to many relation records to be inserted
        Parameters:
        records - new many to many relation records to be inserted
      • add

        void add​(RemoveManyToManyRelationsRecord... records)
        Allows to add new many to many relation records to be removed
        Parameters:
        records - new many to many relation records to be removed
      • add

        void add​(InsertOneToManyRelationRecord... records)
        Allows to add new one to many relation records to be inserted
        Parameters:
        records - new many to many relation records to be inserted