Examples of LogicalValues


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

    } else { // instanceof ConstrainedElement

      if (!elementTypeIsIncluded(element))
        return;
      LogicalValues isApplicable = applicabilityTester
          .evaluatePrecondition((ConstrainedElement) element);
      if (isApplicable == LogicalValues.TRUE) {
        ApplicableElement applicableElement = createAndAddApplicableElement(element);
        cacheManager.addRelation(applicableElement,
            targetApplicableElement, relation);
View Full Code Here

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

   */
  private LogicConditionResultItem evaluateCondition(LogicConditionResultItem logicalValueA,
      LogicalConnectiveTypes logicConditionType, LogicConditionResultItem logicalValueB) {
   
    Map<TechnicalProperty, Boolean> unassignedConstraints = new HashMap<TechnicalProperty, Boolean>();
    LogicalValues result = LogicalValues.INVALID;
   
    if (logicalValueA != null && logicalValueA.getLogicalResultValue() == LogicalValues.INVALID || logicalValueB != null && logicalValueB.getLogicalResultValue() == LogicalValues.INVALID)
      result = LogicalValues.INVALID;
    else {
     
View Full Code Here

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

   *            a LogicCondition
   * @return the result of the evaluation
   * @throws Exception
   */
  private LogicConditionResultItem evaluateLogicCondition(LogicCondition logicCondition) {
    LogicalValues result = null;
    Map<TechnicalProperty, Boolean> unassignedConstraints = new HashMap<TechnicalProperty, Boolean>();

    LogicConditionResultItem conditonResult = null;
    switch (logicCondition.getLogicalConnectiveType().getValue()) {

View Full Code Here

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

   * @return the result of the evaluation
   * @throws Exception
   */
  private LogicConditionResultItem evaluateBaseCondition(BaseCondition baseCondtion) {

    LogicalValues result = LogicalValues.UNDEFINED;
    Map<TechnicalProperty, Boolean> unassignedConstraints = new HashMap<TechnicalProperty, Boolean>();
    TechnicalProperty property = baseCondtion.getTechnicalProperty();
    if (property instanceof TechnicalPropertyCategory) {
       new Exception("assigned property must not be a TechnicalPropertyCategory ("+ baseCondtion+ ")").printStackTrace();
       result = LogicalValues.INVALID;
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.