public long getID() {
        if (isPersistent() || isLogEnabled()) {
            if (roomID == -1) {
                roomID = SequenceManager.nextID(JiveConstants.MUC_ROOM);
            }
        }
        return roomID;
    }
Obtain a unique numerical id for this room. Useful for storing rooms in databases. If the
room is persistent or is logging the conversation then the returned ID won't be -1.

@return The unique id for this room or -1 if the room is temporary and is not logging the
conversation.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java