public void setReason(int reason) {
        this.reason = reason;
    }
Set the subtype of event.

@param reason the code indicating the event's subtype.
xmppserver/src/main/java/org/jivesoftware/openfire/audit/AuditEvent.java