public void setResourceType(ResourceTypeEntity resourceType) {
    this.resourceType = resourceType;
  }
Set the resource type entity.

@param resourceType  the resource type entity
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/PermissionEntity.java