public Map<Resource.Type, ViewSubResourceDefinition> getResourceDefinitions() {
    return resourceDefinitions;
  }
Get the mapping of resource type to resource definitions.

@return the mapping of resource type to resource definitions
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java