Class Membership

    • Constructor Detail

      • Membership

        public Membership​(ObjectIdentity context,
                          long revision,
                          java.util.Set<Principal> members)
        It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the memberships returned by the API.
        Parameters:
        context - the context identity with which the membership is associated.
        revision - the internal revision number of the membership.
        members - the current members of the membership.
    • Method Detail

      • getRevision

        public long getRevision()
        Gets the internal revision number of the membership.
        Returns:
        The internal revision number of the membership
      • getMembers

        public java.util.Set<Principal> getMembers()
        Gets the members of the membership.
        Returns:
        The members of the membership.
      • setMembers

        public void setMembers​(java.util.Set<Principal> members)
        Sets the members of the membership.
        Parameters:
        members - the members of the membership.