public void setActive(Boolean active) {
    if (active == null) {
      this.active = null;
    } else {
      this.active = active ? 1 : 0;
    }
  }
Sets the version number of the relevant data stored in the database.
<p>
This is used to help ensure that collisions updatin the relevant data in the database are
handled properly via Optimistic locking.  It is recommended that this value is <b>not</b>
manually updated, else issues may occur when persisting the data.

@param version a version number
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UserEntity.java