Class HistoryRelation

    • Constructor Detail

      • HistoryRelation

        public HistoryRelation​(long id,
                               long version,
                               boolean visible,
                               User user,
                               long changesetId,
                               java.time.Instant timestamp)
        constructor
        Parameters:
        id - the id (> 0 required)
        version - the version (> 0 required)
        visible - whether the primitive is still visible
        user - the user (!= null required)
        changesetId - the changeset id (> 0 required)
        timestamp - the timestamp (!= null required)
        Throws:
        java.lang.IllegalArgumentException - if preconditions are violated
      • HistoryRelation

        public HistoryRelation​(long id,
                               long version,
                               boolean visible,
                               User user,
                               long changesetId,
                               java.time.Instant timestamp,
                               boolean checkHistoricParams)
        constructor
        Parameters:
        id - the id (> 0 required)
        version - the version (> 0 required)
        visible - whether the primitive is still visible
        user - the user (!= null required)
        changesetId - the changeset id (> 0 required if checkHistoricParams is true)
        timestamp - the timestamp (!= null required if checkHistoricParams is true)
        checkHistoricParams - If true, checks values of changesetId and timestamp
        Throws:
        java.lang.IllegalArgumentException - if preconditions are violated
        Since:
        5440
      • HistoryRelation

        public HistoryRelation​(long id,
                               long version,
                               boolean visible,
                               User user,
                               long changesetId,
                               java.time.Instant timestamp,
                               java.util.List<RelationMemberData> members)
        constructor
        Parameters:
        id - the id (> 0 required)
        version - the version (> 0 required)
        visible - whether the primitive is still visible
        user - the user (!= null required)
        changesetId - the changeset id (> 0 required)
        timestamp - the timestamp (!= null required)
        members - list of members for this relation
        Throws:
        java.lang.IllegalArgumentException - if preconditions are violated