public void setVisible(boolean visible) {
    this.visible = (visible ? 'Y' : 'N');
  }
Set the visible flag.

@param visible visible flag
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewInstanceEntity.java