public void setMasked(boolean masked) {
    this.masked = (masked ? 'Y' : 'N');
  }
Set the flag which indicate whether or not the parameter is masked
@param masked the masked flag; true if the parameter is masked
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewParameterEntity.java