Package org.eclipse.emf.ecore

Examples of org.eclipse.emf.ecore.InternalEObject


   * <!-- end-user-doc -->
   * @generated
   */
  public AbstractTCGNode getInitialNode() {
    if (initialNode != null && initialNode.eIsProxy()) {
      InternalEObject oldInitialNode = (InternalEObject)initialNode;
      initialNode = (AbstractTCGNode)eResolveProxy(oldInitialNode);
      if (initialNode != oldInitialNode) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, AbstractTestCaseGraphPackage.ABSTRACT_TCG_CONTAINER__INITIAL_NODE, oldInitialNode, initialNode));
      }
View Full Code Here


   * <!-- end-user-doc -->
   * @generated
   */
  public TCGVariable getVariable() {
    if (variable != null && variable.eIsProxy()) {
      InternalEObject oldVariable = (InternalEObject)variable;
      variable = (TCGVariable)eResolveProxy(oldVariable);
      if (variable != oldVariable) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, ActivityTestCaseGraphPackage.TCGOCL_VARIABLE_CALL_EXP__VARIABLE, oldVariable, variable));
      }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public Neuron getFromNeuron() {
    if (fromNeuron != null && fromNeuron.eIsProxy()) {
      InternalEObject oldFromNeuron = (InternalEObject)fromNeuron;
      fromNeuron = (Neuron)eResolveProxy(oldFromNeuron);
      if (fromNeuron != oldFromNeuron) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, _40Package.NEURAL_OUTPUT_TYPE__FROM_NEURON, oldFromNeuron, fromNeuron));
      }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public Neuron getFromNeuron() {
    if (fromNeuron != null && fromNeuron.eIsProxy()) {
      InternalEObject oldFromNeuron = (InternalEObject)fromNeuron;
      fromNeuron = (Neuron)eResolveProxy(oldFromNeuron);
      if (fromNeuron != oldFromNeuron) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, _40Package.CON_TYPE__FROM_NEURON, oldFromNeuron, fromNeuron));
      }
View Full Code Here

   *
   * @param fullQualifiedName
   * @return proxy element
   */
  public EObject getClassifier(String fullQualifiedName) {
    InternalEObject classifierProxy = (InternalEObject) ClassifiersFactory.eINSTANCE.createClass();
    URI proxyURI = JavaUniquePathConstructor.getClassifierURI(fullQualifiedName);
    classifierProxy.eSetProxyURI(proxyURI);
    //set also the name to reason about it without resolving the proxy
    ((Class)classifierProxy).setName(JavaUniquePathConstructor.getSimpleClassName(fullQualifiedName));
    return classifierProxy;
  }
View Full Code Here

   *
   * @param fullQualifiedName
   * @return proxy element
   */
  public EObject getProcessingElement(String fullQualifiedName) {
    InternalEObject classifierProxy = (InternalEObject) ClassifiersFactory.eINSTANCE.createClass();
    URI proxyURI = JavaUniquePathConstructor.getClassifierURI(fullQualifiedName);
    classifierProxy.eSetProxyURI(proxyURI);
    //set also the name to reason about it without resolving the proxy
    ((Class)classifierProxy).setName(JavaUniquePathConstructor.getSimpleClassName(fullQualifiedName));
    return classifierProxy;
  }
View Full Code Here

        return resultList;
      }
     
      for (String classifierName : packageClassifierMap.get(packageName)) {
        if (classifierQuery.equals("*") || classifierQuery.equals(classifierName)) {
          InternalEObject classifierProxy = (InternalEObject) ClassifiersFactory.eINSTANCE.createClass();
          String fullQualifiedName = null;
          if ("".equals(packageName) || ".".equals(packageName)) {
            fullQualifiedName = classifierName;
          }
          else {
            fullQualifiedName = packageName + classifierName;
          }
          classifierProxy.eSetProxyURI(JavaUniquePathConstructor.getClassifierURI(fullQualifiedName));
          //set also the name to reason about it without resolving the proxy
          ((Class)classifierProxy).setName(JavaUniquePathConstructor.getSimpleClassName(fullQualifiedName));
          resultList.add(classifierProxy);
        }
      }
View Full Code Here

        return resultList;
      }
     
      for (String classifierName : packageClassifierMap.get(packageName)) {
        if (classifierQuery.equals("*") || classifierQuery.equals(classifierName)) {
          InternalEObject classifierProxy = (InternalEObject) ClassifiersFactory.eINSTANCE.createClass();
          String fullQualifiedName = null;
          if ("".equals(packageName) || ".".equals(packageName)) {
            fullQualifiedName = classifierName;
          }
          else {
            fullQualifiedName = packageName + classifierName;
          }
          classifierProxy.eSetProxyURI(JavaUniquePathConstructor.getClassifierURI(fullQualifiedName));
          //set also the name to reason about it without resolving the proxy
          ((Class)classifierProxy).setName(JavaUniquePathConstructor.getSimpleClassName(fullQualifiedName));
          resultList.add(classifierProxy);
        }
      }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public Classifier getTarget() {
    if (target != null && target.eIsProxy()) {
      InternalEObject oldTarget = (InternalEObject)target;
      target = (Classifier)eResolveProxy(oldTarget);
      if (target != oldTarget) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, TypesPackage.CLASSIFIER_REFERENCE__TARGET, oldTarget, target));
      }
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public ProcessingElementParameter getTarget() {
    if (target != null && target.eIsProxy()) {
      InternalEObject oldTarget = (InternalEObject)target;
      target = (ProcessingElementParameter)eResolveProxy(oldTarget);
      if (target != oldTarget) {
        if (eNotificationRequired())
          eNotify(new ENotificationImpl(this, Notification.RESOLVE, InstantiationsPackage.NEW_PROCESSING_ELEMENT_PARAMETER__TARGET, oldTarget, target));
      }
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecore.InternalEObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.