public Resource.Type getExternalResourceType() {
    return externalResourceType;
  }
Get the external resource type for the view.

@return the external resource type
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java