public Collection<JID> getOwners() {
        Collection<JID> jids = new ArrayList<>();
        for (NodeAffiliate affiliate : affiliates) {
            if (NodeAffiliate.Affiliation.owner == affiliate.getAffiliation()) {
                jids.add(affiliate.getJID());
            }
        }
        getLogger().trace("Got {} owner(s)", jids.size());
        return jids;
    }
Returns a collection with the JID of the node owners. Entities that are node owners have
an affiliation of {@link NodeAffiliate.Affiliation#owner}. Owners are allowed to purge
and delete the node. Moreover, owners may also get The collection can be modified
since it represents a snapshot.

@return a collection with the JID of the node owners.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/Node.java