Examples of OrderedSet


Examples of fr.tm.elibel.smartqvt.stdlibs.OclLib.OrderedSet

  }
 
  public void resetTransformationState(java.lang.Object self, Trace trace) throws java.lang.Throwable
  {
    //clear incremental collection to update/compile
    this.metamodelAstNodes = oclLib.new OrderedSet();
    this.metamodelElementAstNodes = oclLib.new OrderedSet();
    this.modelTypeAstNodes = oclLib.new OrderedSet();
    this.transformationAstNodes = oclLib.new OrderedSet();
    this.libraryAstNodes = oclLib.new OrderedSet();
    this.moduleElementAstNodes = oclLib.new OrderedSet();
    this.operationalTransformationsToUpdate = oclLib.new OrderedSet();
    this.librariesToUpdate = oclLib.new OrderedSet();
    this.classesToUpdate = oclLib.new OrderedSet();
    this.mappingOperationsToUpdate = oclLib.new OrderedSet();
    this.helpersToUpdate = oclLib.new OrderedSet();
    this.constructorsToUpdate = oclLib.new OrderedSet();
    this.entryOperationsToUpdate = oclLib.new OrderedSet();
    this.propertiesToUpdate = oclLib.new OrderedSet();
    this.modelTypesToUpdate = oclLib.new OrderedSet();
    this.mappingOperationsToUpdate_2 = oclLib.new OrderedSet();
    this.operationsToCreateBody = oclLib.new OrderedSet();
    this.contextualPropertiesToCreateInit = oclLib.new OrderedSet();
   
    //clear resolve
    resolver.clear();
    //clear every HashMaps used for optimization
    typesForPackage.clear();
View Full Code Here

Examples of fr.tm.elibel.smartqvt.stdlibs.OclLib.OrderedSet

        }
      }
    } catch (Exception e) {
      logger.log(Level.SEVERE,"Unkonwn error",e);
    }
    return oclLib.new OrderedSet(packages);
  }
View Full Code Here

Examples of fr.tm.elibel.smartqvt.stdlibs.OclLib.OrderedSet

    if ((tmpProperties != null)
        && tmpProperties.containsKey(self.getName())) {
      String qvtTypeName = (String) tmpProperties.get(self.getName());
      AvailableVariables emptyCVariables = new AvailableVariables();
      emptyCVariables.currentVariables = oclLib.new OrderedSet();
      fr.tm.elibel.smartqvt.qvt.emof.Type typeFound = getFirstTypeInAvailablePackages(
          oclLib.new OclVoid(), qvtTypeName, emptyCVariables,
          currentPackage, oclLib.new OrderedSet(availablePackages),
          trace);
      if (typeFound instanceof fr.tm.elibel.smartqvt.qvt.emof.DataType)
        res = (fr.tm.elibel.smartqvt.qvt.emof.DataType) typeFound;
    }
    return res;
View Full Code Here

Examples of fr.tm.elibel.smartqvt.stdlibs.OclLib.OrderedSet

      OclLib.OrderedSet/* <Package> */packagesFound = super
          .getAllPackages(self, searchWithinAccededLibraries,
              mainTrace);

      // we need to find packages used un current package
      OclLib.OrderedSet typesInSelf = oclLib.new OrderedSet(self
          .getOwnedType());
      Iterator it1 = typesInSelf.iterator();
      while (it1.hasNext()) {
        fr.tm.elibel.smartqvt.qvt.emof.Type t = (fr.tm.elibel.smartqvt.qvt.emof.Type) it1
            .next();
        if (t instanceof fr.tm.elibel.smartqvt.qvt.emof.Class) {
          fr.tm.elibel.smartqvt.qvt.emof.Class c = (fr.tm.elibel.smartqvt.qvt.emof.Class) t;
View Full Code Here

Examples of fr.tm.elibel.smartqvt.stdlibs.OclLib.OrderedSet

  int getAllTypesModelTypeNbCAll = 0;

  public OrderedSet getAllTypes(ModelType self,
      java.lang.Boolean searchWithinAccededLibraries, Trace mainTrace)
      throws java.lang.Throwable {
    OrderedSet result = (OrderedSet) getAllTypesModelTypeHM.get(self);
    if (result == null) {
      result = super.getAllTypes(self, searchWithinAccededLibraries,
          mainTrace);
      getAllTypesModelTypeHM.put(self, result);
    }
View Full Code Here

Examples of org.ofbiz.base.util.collections.OrderedSet

            addParam(newParam);
        }
    }

    public Set getAllParamNames() {
        Set nameList = new OrderedSet();
        Iterator i = this.contextParamList.iterator();

        while (i.hasNext()) {
            ModelParam p = (ModelParam) i.next();
            nameList.add(p.name);
        }
        return nameList;
    }
View Full Code Here

Examples of org.ofbiz.base.util.collections.OrderedSet

        }
        return nameList;
    }

    public Set getInParamNames() {
        Set nameList = new OrderedSet();
        Iterator i = this.contextParamList.iterator();

        while (i.hasNext()) {
            ModelParam p = (ModelParam) i.next();
            // don't include OUT parameters in this list, only IN and INOUT
            if ("OUT".equals(p.mode)) continue;
            nameList.add(p.name);
        }
        return nameList;
    }
View Full Code Here

Examples of org.ofbiz.base.util.collections.OrderedSet

        return count;
    }

    public Set getOutParamNames() {
        Set nameList = new OrderedSet();
        Iterator i = this.contextParamList.iterator();

        while (i.hasNext()) {
            ModelParam p = (ModelParam) i.next();
            // don't include IN parameters in this list, only OUT and INOUT
            if ("IN".equals(p.mode)) continue;
            nameList.add(p.name);
        }
        return nameList;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.