Package fr.imag.adele.apam.declarations.references.components

Examples of fr.imag.adele.apam.declarations.references.components.InstanceReference


    }
  }

  @Override
  protected InstanceReference generateReference() {
    return new InstanceReference(getName());
  }
View Full Code Here


    return (Implementation) findByName(client, new ImplementationReference<ImplementationDeclaration>(implName), ComponentKind.IMPLEMENTATION);
  }

  @Override
  public Instance findInstByName(Component client, String instName) {
    return (Instance) findByName(client, new InstanceReference(instName), ComponentKind.INSTANCE);
  }
View Full Code Here

    if (CST.IMPLEMENTATION.equals(componentkind)) {
      return new ImplementationReference<ImplementationDeclaration>(componentName);
    }
   
    if (CST.INSTANCE.equals(componentkind)) {
      return new InstanceReference(componentName);
    }
   
    return new ComponentReference<ComponentDeclaration>(componentName);
  }
View Full Code Here

  /**
   * Get an instance reference coded in an attribute
   */
  private InstanceReference parseInstanceReference(String inComponent, Element element, String attribute, boolean mandatory) {
    String instance = parseString(inComponent, element, attribute, mandatory);
    return ((instance == null) && !mandatory) ? null : new InstanceReference(instance);
  }
View Full Code Here

  ResolvableReference rr = null;
  // Create the ResolvableReference according to its type.
  switch (rr_type) {
  case instance:
      rr = new InstanceReference(rr_name);
      break;
  case itf:
      rr = new InterfaceReference(rr_name);
      break;
  case message:
View Full Code Here

TOP

Related Classes of fr.imag.adele.apam.declarations.references.components.InstanceReference

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.