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 Details

    • getInsertManyToManyRelationRecords

      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

      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

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

      Collection<RemoveOneToManyRelationsRecord> getRemoveOneToManyRelationsRecords()
    • 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(RemoveOneToManyRelationsRecord... records)
      Allows to add new one to many relation records to be cleared
      Parameters:
      records -
    • 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