All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.umlg.javageneration.util.UmlgBehavioredClassifierOperations Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
package org.umlg.javageneration.util;

import org.eclipse.uml2.uml.BehavioredClassifier;
import org.eclipse.uml2.uml.internal.operations.BehavioredClassifierOperations;

public class UmlgBehavioredClassifierOperations extends BehavioredClassifierOperations {

	public static boolean hasBehavior(BehavioredClassifier behavioredClassifier) {
		if (behavioredClassifier.getClassifierBehavior() != null || !behavioredClassifier.getOwnedBehaviors().isEmpty()) {
			return true;
		} else {
			return false;
		}
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy