public Long getMpackId() {
    return mpackId;
  }
The {@link StackEntity} class is used to model an alert that needs
to run in the system. Each received alert from an agent will essentially be
an instance of this template.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/StackEntity.java