Use this API to fetch appfwxmlschema resource of given name .
548958
public static appfwxmlschema get(nitro_service service, String name) throws Exception{
		appfwxmlschema obj = new appfwxmlschema();
		obj.set_name(name);
		appfwxmlschema response = (appfwxmlschema) obj.get_resource(service);
		return response;
	}
709684
SchemaMethodParameter createDatabaseSchema(final App app, final SchemaMethod schemaMethod, final int index) throws FrameworkException {

		final PropertyMap getOrCreateProperties = new PropertyMap();
		final PropertyMap updateProperties      = new PropertyMap();

		getOrCreateProperties.put(SchemaMethodParameter.name,         getName());
		getOrCreateProperties.put(SchemaMethodParameter.schemaMethod, schemaMethod);

		SchemaMethodParameter parameter = app.nodeQuery(SchemaMethodParameter.class).and(getOrCreateProperties).getFirst();
		if (parameter == null) {

			parameter = app.create(SchemaMethodParameter.class, getOrCreateProperties);
		}

		updateProperties.put(SchemaMethodParameter.parameterType, type);
		updateProperties.put(SchemaMethodParameter.index, index);

		// update properties
		parameter.setProperties(SecurityContext.getSuperUserInstance(), updateProperties);

		// return modified property
		return parameter;
	}
1186143
public static appfwsignatures get(nitro_service service) throws Exception{
		appfwsignatures obj = new appfwsignatures();
		appfwsignatures[] response = (appfwsignatures[])obj.get_resources(service);
		return response[0];
	}
481508
@Override
  public AppResponse getApp(WebResource resource, ResourcePath<App> appResourcePath) {
    return resource.path(appResourcePath.getPath()).get(AppResponse.class);
  }
1347568
public static auditnslogpolicy_appfwglobal_binding[] get(nitro_service service, String name) throws Exception{
		auditnslogpolicy_appfwglobal_binding obj = new auditnslogpolicy_appfwglobal_binding();
		obj.set_name(name);
		auditnslogpolicy_appfwglobal_binding response[] = (auditnslogpolicy_appfwglobal_binding[]) obj.get_resources(service);
		return response;
	}
565809
public String getAppInfo(ClusterNode node, ResourceType type) {
    Map<ResourceType, String> resourceInfos = nameToApps.get(node.getName());
    if (resourceInfos == null) {
      return null;
    } else {
      return resourceInfos.get(type);
    }
  }
1338095
@Override
    public ResourceSchema getSchema(String location, Job job) throws IOException {
        ResourceSchema rs = new ResourceSchema();
        List<ResourceFieldSchema> fieldSchemaList = new ArrayList<>();

        for (String fieldName : requestedFields) {
            ResourceFieldSchema rfs = new ResourceFieldSchema();
            rfs.setName(fieldName);
            rfs.setDescription(fieldName);

            if(fieldName.endsWith(".*")) {
                rfs.setType(DataType.MAP);
            } else {
                EnumSet<Casts> casts = theInputFormat.getRecordReader().getCasts(fieldName);
                if (casts != null) {
                    if (casts.contains(Casts.LONG)) {
                        rfs.setType(DataType.LONG);
                    } else {
                        if (casts.contains(Casts.DOUBLE)) {
                            rfs.setType(DataType.DOUBLE);
                        } else {
                            rfs.setType(DataType.CHARARRAY);
                        }
                    }
                } else {
                    rfs.setType(DataType.BYTEARRAY);
                }
            }
            fieldSchemaList.add(rfs);
        }

        rs.setFields(fieldSchemaList.toArray(new ResourceFieldSchema[fieldSchemaList.size()]));
        return rs;
    }
1320110
public static appfwprofile_starturl_binding[] get(nitro_service service, String name) throws Exception{
		appfwprofile_starturl_binding obj = new appfwprofile_starturl_binding();
		obj.set_name(name);
		appfwprofile_starturl_binding response[] = (appfwprofile_starturl_binding[]) obj.get_resources(service);
		return response;
	}
1047404
public static appfwfieldtype get(nitro_service service, String name) throws Exception{
		appfwfieldtype obj = new appfwfieldtype();
		obj.set_name(name);
		appfwfieldtype response = (appfwfieldtype) obj.get_resource(service);
		return response;
	}
953208
public static appfwxmlcontenttype get(nitro_service service, String xmlcontenttypevalue) throws Exception{
		appfwxmlcontenttype obj = new appfwxmlcontenttype();
		obj.set_xmlcontenttypevalue(xmlcontenttypevalue);
		appfwxmlcontenttype response = (appfwxmlcontenttype) obj.get_resource(service);
		return response;
	}
251429
public static appflowaction get(nitro_service service, String name) throws Exception{
		appflowaction obj = new appflowaction();
		obj.set_name(name);
		appflowaction response = (appflowaction) obj.get_resource(service);
		return response;
	}
1087655
public static appfwprofile_xmlvalidationurl_binding[] get(nitro_service service, String name) throws Exception{
		appfwprofile_xmlvalidationurl_binding obj = new appfwprofile_xmlvalidationurl_binding();
		obj.set_name(name);
		appfwprofile_xmlvalidationurl_binding response[] = (appfwprofile_xmlvalidationurl_binding[]) obj.get_resources(service);
		return response;
	}
282618
public JsonNode getApplicationsTree() throws IOException {
        Invocation invocation = getJerseyClient().target(getEndpoint() + "/v1/applications/fetch").request().buildGet();
        return invocation.invoke().readEntity(JsonNode.class);
    }
748780
public static appfwpolicylabel_binding get(nitro_service service, String labelname) throws Exception{
		appfwpolicylabel_binding obj = new appfwpolicylabel_binding();
		obj.set_labelname(labelname);
		appfwpolicylabel_binding response = (appfwpolicylabel_binding) obj.get_resource(service);
		return response;
	}
711970
@Override
  protected Schema fetchSchemaByKey(String key) throws SchemaRegistryException {
    String schemaUrl = KafkaAvroSchemaRegistry.this.url + GET_RESOURCE_BY_ID + key;

    GetMethod get = new GetMethod(schemaUrl);

    int statusCode;
    String schemaString;
    HttpClient httpClient = this.borrowClient();
    try {
      statusCode = httpClient.executeMethod(get);
      schemaString = get.getResponseBodyAsString();
    } catch (IOException e) {
      throw new SchemaRegistryException(e);
    } finally {
      get.releaseConnection();
      this.httpClientPool.returnObject(httpClient);
    }

    if (statusCode != HttpStatus.SC_OK) {
      throw new SchemaRegistryException(
          String.format("Schema with key %s cannot be retrieved, statusCode = %d", key, statusCode));
    }

    Schema schema;
    try {
      schema = new Schema.Parser().parse(schemaString);
    } catch (Throwable t) {
      throw new SchemaRegistryException(String.format("Schema with ID = %s cannot be parsed", key), t);
    }

    return schema;
  }
907728
@Override
    @GraphTransaction
    public String getSchema(String datasetName) throws AtlasException {
        datasetName = ParamChecker.notEmpty(datasetName, "table name");
        LOG.info("Fetching schema for tableName={}", datasetName);
        TypeUtils.Pair<String, String> typeIdPair = validateDatasetNameExists(datasetName);

        return getSchemaForId(typeIdPair.left, typeIdPair.right);
    }
963701
function getResourceName (data, schema) {
  // Try to find the "name" property using several different methods
  let propInfo =
        getResourceNameByValue(data, schema) ||
        getResourceNameByName(data, schema) ||
        getResourceNameByRequired(data, schema) ||
        getResourceNameByFile(data, schema);

  if (propInfo) {
    util.debug('The "%s" property (%j) appears to be the REST resource\'s name', propInfo.name, propInfo.value);

    if (propInfo.value === undefined) {
      propInfo.value = new JsonSchema(propInfo.schema).sample();
      util.debug('Generated new value (%j) for the "%s" property', propInfo.value, propInfo.name);
    }

    return propInfo;
  }
  else {
    util.debug("Unable to determine the unique name for the REST resource. Generating a unique value instead");
    return {
      name: "",
      schema: { type: "string" },
      value: _.uniqueId()
    };
  }
}