public void setOccurrences(long occurrences) {
    this.occurrences = occurrences;
  }
Sets the number of occurrences for this alert instance.

@param occurrences
         the occurrences.
@see #getOccurrences()
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java