public NodeAffiliate.Affiliation getAffiliation()
    {
        return affiliation;
    }
The new affiliation with a pubsub node.

@return a pubsub node affiliation.
xmppserver/src/main/java/org/jivesoftware/openfire/pubsub/cluster/AffiliationTask.java