Package urban.kappa

Examples of urban.kappa.Link


  public void checkBindings(Expression exp) {
    HashMap<Integer,Link> declared = new HashMap<Integer,Link>();
    List<Integer> used = new ArrayList<Integer>();
    for (Agent a : exp.getAgents()) {
      for (Site site : a.getSites()) {
        Link link = site.getLink();
        if (link != null && link.getC() == null){
          Integer n = link.getN();
          if (used.contains(n)){
            error("The binding indicator:"+n+" has been used more than twice",link, KappaPackage.LINK__N);
          } else {
            if (declared.keySet().contains(n)){
              declared.remove(n);
View Full Code Here


        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case KappaPackage.LINK:
      {
        Link link = (Link)theEObject;
        T result = caseLink(link);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case KappaPackage.OBSERVE:
View Full Code Here

   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetLink(Link newLink, NotificationChain msgs)
  {
    Link oldLink = link;
    link = newLink;
    if (eNotificationRequired())
    {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, KappaPackage.SITE__LINK, oldLink, newLink);
      if (msgs == null) msgs = notification; else msgs.add(notification);
View Full Code Here

TOP

Related Classes of urban.kappa.Link

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.