public void setResources(Collection<ViewResourceEntity> resources) {
    this.resources = resources;
  }
Set the view resources.

@param resources  the view resources
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java