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

org.eclipse.ocl.util.ProblemAware Maven / Gradle / Ivy

/**
 * 
 *
 * Copyright (c) 2009 Borland Software Corporation 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:
 *     Radek Dvorak - initial API and implementation
 *
 * 
 *
 * $Id: ProblemAware.java,v 1.2 2010/04/08 06:26:42 ewillink Exp $
 */
package org.eclipse.ocl.util;

import org.eclipse.emf.common.util.Diagnostic;

/**
 * A mix-in interface indicating that implementations can provide problem
 * diagnostics.
 * 
 * @since 1.3
 * 
 * @author dvorak
 */
public interface ProblemAware {

	/**
	 * Retrieves the problems available on this problem aware object
	 * 
	 * @return the diagnostic object representing the problems or
	 *         null in case that no problems are available.
	 */
	Diagnostic getProblems();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy