Class TestResource

    • Constructor Detail

      • TestResource

        public TestResource​(String aName,
                            TestResourceProvider aProvider)
        Creates an instance.
        Parameters:
        aName - the name of the resource
        aProvider - the resource provider
      • TestResource

        public TestResource()
        No-arg constructor for serialization.
    • Method Detail

      • getName

        public String getName()
      • createPlatformResourceURI

        public org.eclipse.emf.common.util.URI createPlatformResourceURI()
        Creates an EMF-compatible platform resource URI for the current resource.
        Returns:
        the URI
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object