/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*/
package org.sintef.thingml.resource.thingml;
/**
* An interface for factories to create instances of
* org.sintef.thingml.resource.thingml.IThingmlContextDependentURIFragment.
*
* @param <ContainerType> the type of the class containing the reference to be
* resolved
* @param <ReferenceType> the type of the reference to be resolved
*/
public interface IThingmlContextDependentURIFragmentFactory<ContainerType extends org.eclipse.emf.ecore.EObject, ReferenceType extends org.eclipse.emf.ecore.EObject> {
/**
* Create a new instance of the
* org.sintef.thingml.resource.thingml.IThingmlContextDependentURIFragment
* interface.
*
* @param identifier the identifier that references an Object
* @param container the object that contains the reference
* @param reference the reference itself
* @param positionInReference the position of the identifier (if the reference is
* multiple)
* @param proxy the proxy that will be resolved later to the actual EObject
*
* @return the new instance of
* org.sintef.thingml.resource.thingml.IThingmlContextDependentURIFragment
*/
public org.sintef.thingml.resource.thingml.IThingmlContextDependentURIFragment<?> create(String identifier, ContainerType container, org.eclipse.emf.ecore.EReference reference, int positionInReference, org.eclipse.emf.ecore.EObject proxy);
}