test_class.file: org.eclipse.winery.repository.rest/src/test/java/org/eclipse/winery/repository/rest/resources/entitytypes/nodetypes/NodeTypeResourceTest.java
test_class.identifier: NodeTypeResourceTest
test_class.superclass: extends AbstractResourceTest
test_case.body: @Test
      public void baobabInitialExistsUsingResource() throws Exception {
          this.setRevisionTo("5b5ad1106a3a428020b6bc5d2f154841acb5f779"); // repository containing boabab fruit only
          NodeTypeResource nodeTypeResource = (NodeTypeResource) NodeTypesResource.getComponentInstanceResource(TestIds.ID_FRUIT_BAOBAB);
          String testXml = BackendUtils.getXMLAsString(nodeTypeResource.getNodeType());
          String controlXml = readFromClasspath("entitytypes/nodetypes/baobab_initial.xml");
          org.hamcrest.MatcherAssert.assertThat(testXml, CompareMatcher.isIdenticalTo(controlXml).ignoreWhitespace());
      }
test_case.class_method_signature: NodeTypeResourceTest.baobabInitialExistsUsingResource()
test_case.full_signature: @Test public void baobabInitialExistsUsingResource()
test_case.identifier: baobabInitialExistsUsingResource
test_case.invocations: setRevisionTo getComponentInstanceResource getXMLAsString getNodeType readFromClasspath assertThat ignoreWhitespace isIdenticalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void baobabInitialExistsUsingResource()
focal_class.file: org.eclipse.winery.repository.rest/src/main/java/org/eclipse/winery/repository/rest/resources/entitytypes/nodetypes/NodeTypeResource.java
focal_class.identifier: NodeTypeResource
focal_class.class_method_signature: NodeTypeResource.NodeTypeResource(NodeTypeId id)
focal_class.full_signature: public  NodeTypeResource(NodeTypeId id)
focal_class.identifier: NodeTypeResource
focal_class.modifiers: public
focal_class.parameters: (NodeTypeId id)
focal_class.signature:  NodeTypeResource(NodeTypeId id)
focal_class.class_method_signature: NodeTypeResource.getNodeType()
focal_class.full_signature: public TNodeType getNodeType()
focal_class.identifier: getNodeType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: TNodeType
focal_class.signature: TNodeType getNodeType()
focal_class.class_method_signature: NodeTypeResource.getImplementations()
focal_class.full_signature: @GET @Path("implementations/") @Produces(MediaType.APPLICATION_JSON) public List<QNameApiData> getImplementations()
focal_class.identifier: getImplementations
focal_class.modifiers: @GET @Path("implementations/") @Produces(MediaType.APPLICATION_JSON) public
focal_class.parameters: ()
focal_class.return: List<QNameApiData>
focal_class.signature: List<QNameApiData> getImplementations()
focal_class.class_method_signature: NodeTypeResource.getInstanceStatesResource()
focal_class.full_signature: @Path("instancestates/") public InstanceStatesResource getInstanceStatesResource()
focal_class.identifier: getInstanceStatesResource
focal_class.modifiers: @Path("instancestates/") public
focal_class.parameters: ()
focal_class.return: InstanceStatesResource
focal_class.signature: InstanceStatesResource getInstanceStatesResource()
focal_class.class_method_signature: NodeTypeResource.getInterfaces()
focal_class.full_signature: @Path("interfaces/") public InterfacesResource getInterfaces()
focal_class.identifier: getInterfaces
focal_class.modifiers: @Path("interfaces/") public
focal_class.parameters: ()
focal_class.return: InterfacesResource
focal_class.signature: InterfacesResource getInterfaces()
focal_class.class_method_signature: NodeTypeResource.getRequirementDefinitions()
focal_class.full_signature: @Path("requirementdefinitions/") public RequirementDefinitionsResource getRequirementDefinitions()
focal_class.identifier: getRequirementDefinitions
focal_class.modifiers: @Path("requirementdefinitions/") public
focal_class.parameters: ()
focal_class.return: RequirementDefinitionsResource
focal_class.signature: RequirementDefinitionsResource getRequirementDefinitions()
focal_class.class_method_signature: NodeTypeResource.getCapabilityDefinitions()
focal_class.full_signature: @Path("capabilitydefinitions/") public CapabilityDefinitionsResource getCapabilityDefinitions()
focal_class.identifier: getCapabilityDefinitions
focal_class.modifiers: @Path("capabilitydefinitions/") public
focal_class.parameters: ()
focal_class.return: CapabilityDefinitionsResource
focal_class.signature: CapabilityDefinitionsResource getCapabilityDefinitions()
focal_class.class_method_signature: NodeTypeResource.getVisualAppearanceResource()
focal_class.full_signature: @Path("appearance") public VisualAppearanceResource getVisualAppearanceResource()
focal_class.identifier: getVisualAppearanceResource
focal_class.modifiers: @Path("appearance") public
focal_class.parameters: ()
focal_class.return: VisualAppearanceResource
focal_class.signature: VisualAppearanceResource getVisualAppearanceResource()
focal_class.class_method_signature: NodeTypeResource.InterfaceDefinitionsResource()
focal_class.full_signature: @Path("interfacedefinitions") public InterfaceDefinitionsResource InterfaceDefinitionsResource()
focal_class.identifier: InterfaceDefinitionsResource
focal_class.modifiers: @Path("interfacedefinitions") public
focal_class.parameters: ()
focal_class.return: InterfaceDefinitionsResource
focal_class.signature: InterfaceDefinitionsResource InterfaceDefinitionsResource()
focal_class.class_method_signature: NodeTypeResource.getArtifacts()
focal_class.full_signature: @GET @Path("artifacts/") @Produces(MediaType.APPLICATION_JSON) public List<TArtifact> getArtifacts()
focal_class.identifier: getArtifacts
focal_class.modifiers: @GET @Path("artifacts/") @Produces(MediaType.APPLICATION_JSON) public
focal_class.parameters: ()
focal_class.return: List<TArtifact>
focal_class.signature: List<TArtifact> getArtifacts()
focal_class.class_method_signature: NodeTypeResource.addArtifact(TArtifact artifact)
focal_class.full_signature: @POST @Path("artifacts/") @Consumes(MediaType.APPLICATION_JSON) public Response addArtifact(TArtifact artifact)
focal_class.identifier: addArtifact
focal_class.modifiers: @POST @Path("artifacts/") @Consumes(MediaType.APPLICATION_JSON) public
focal_class.parameters: (TArtifact artifact)
focal_class.return: Response
focal_class.signature: Response addArtifact(TArtifact artifact)
focal_class.class_method_signature: NodeTypeResource.deleteArtifact(@PathParam("name") String name)
focal_class.full_signature: @DELETE @Path("artifacts/f/{name}") @Consumes(MediaType.APPLICATION_JSON) public Response deleteArtifact(@PathParam("name") String name)
focal_class.identifier: deleteArtifact
focal_class.modifiers: @DELETE @Path("artifacts/f/{name}") @Consumes(MediaType.APPLICATION_JSON) public
focal_class.parameters: (@PathParam("name") String name)
focal_class.return: Response
focal_class.signature: Response deleteArtifact(@PathParam("name") String name)
focal_class.class_method_signature: NodeTypeResource.uploadArtifact(@PathParam("name") String name)
focal_class.full_signature: @Path("artifacts/{name}") public GenericFileResource uploadArtifact(@PathParam("name") String name)
focal_class.identifier: uploadArtifact
focal_class.modifiers: @Path("artifacts/{name}") public
focal_class.parameters: (@PathParam("name") String name)
focal_class.return: GenericFileResource
focal_class.signature: GenericFileResource uploadArtifact(@PathParam("name") String name)
focal_class.class_method_signature: NodeTypeResource.createNewElement()
focal_class.full_signature: @Override protected TExtensibleElements createNewElement()
focal_class.identifier: createNewElement
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: TExtensibleElements
focal_class.signature: TExtensibleElements createNewElement()
focal_class.superclass: extends TopologyGraphElementEntityTypeResource
focal_method.body: public TNodeType getNodeType() {
          return (TNodeType) this.getElement();
      }
focal_method.class_method_signature: NodeTypeResource.getNodeType()
focal_method.full_signature: public TNodeType getNodeType()
focal_method.identifier: getNodeType
focal_method.invocations: getElement
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: TNodeType
focal_method.signature: TNodeType getNodeType()