public void setPrincipalType(PrincipalTypeEntity principalType) {
    this.principalType = principalType;
  }
Set the principal type entity.

@param principalType the principal type entity
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/PrincipalEntity.java