Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (c) 2005, 2014 IBM Corporation, CEA, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
* Kenn Hussey (CEA) - 327039, 351774, 418466
*
*/
package org.eclipse.uml2.uml.internal.operations;
import java.util.Map;
import org.eclipse.emf.common.util.BasicDiagnostic;
import org.eclipse.emf.common.util.Diagnostic;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.uml2.uml.CombinedFragment;
import org.eclipse.uml2.uml.InteractionOperatorKind;
import org.eclipse.uml2.uml.UMLPlugin;
import org.eclipse.uml2.uml.util.UMLValidator;
/**
*
* A static utility class that provides operations related to 'Combined Fragment' model objects.
*
*
*
*
*
* @generated
*/
public class CombinedFragmentOperations
extends NamedElementOperations {
/**
*
*
* @generated
*/
protected CombinedFragmentOperations() {
super();
}
/**
*
*
*
* If the interactionOperator is opt, loop, break, assert or neg, there must be exactly one operand.
* (interactionOperator = InteractionOperatorKind::opt or interactionOperator = InteractionOperatorKind::loop or
* interactionOperator = InteractionOperatorKind::break or interactionOperator = InteractionOperatorKind::assert or
* interactionOperator = InteractionOperatorKind::neg)
* implies operand->size()=1
* @param combinedFragment The receiving 'Combined Fragment' model object.
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
*
* @generated NOT
*/
public static boolean validateOptLoopBreakNeg(
CombinedFragment combinedFragment, DiagnosticChain diagnostics,
Map