Package org.emftrace.metamodel.QUARCModel.Constraints

Examples of org.emftrace.metamodel.QUARCModel.Constraints.TechnicalPropertyCategory


  }

  @Test
  public void testForCategoryBug() {
    TechnicalPropertiesCatalogue catalogue = ConstraintsFactory.eINSTANCE.createTechnicalPropertiesCatalogue();
    TechnicalPropertyCategory cat = ConstraintsFactory.eINSTANCE.createTechnicalPropertyCategory();
    cat.setName("cat");
    TechnicalProperty tp1 = ConstraintsFactory.eINSTANCE.createBooleanTechnicalProperty();
    tp1.setName("foo");
    TechnicalProperty tp2 = ConstraintsFactory.eINSTANCE.createBooleanTechnicalProperty();
    tp2.setName("bar");
   
    catalogue.getCatalogueProperties().add(cat);
    cat.getEntries().add(tp1);
    cat.getEntries().add(tp2);
   
    NGramCheckCondition nGramCheckCondition = new NGramCheckCondition(
        3, "cat", 0.8f, true, true);

    NGramCheckEObjectCondition condition = new NGramCheckEObjectCondition(
View Full Code Here

TOP

Related Classes of org.emftrace.metamodel.QUARCModel.Constraints.TechnicalPropertyCategory

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.