public Affiliation getAffiliation() {
        return affiliation;
    }
Obtain the affiliation state of the user, which is a long-lived association or connection with a room.
Affiliation is distinct from role. An affiliation lasts across a user's visits to a room.

@return The affiliation status of this user.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCOccupant.java