public void setService(boolean service) {
    this.service = (service) ? 1 : 0;
  }
Set whether this KerberosPrincipalEntity represents a service principal (true) or not (false)

@param service true if this KerberosPrincipalEntity represents a service principal; otherwise false
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/KerberosPrincipalEntity.java