1
/*******************************************************************************
2
* Copyright (c) 2009, 2010 Alena Laskavaia
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Alena Laskavaia - initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.codan.core.model;
14
* Problem element represents problem category {@link IProblemCategory} or
15
* problem {@link IProblem}
17
* @noextend This interface is not intended to be extended by clients.
18
* @noimplement This interface is not intended to be implemented by clients.
20
public interface IProblemElement extends Cloneable {
22
* clone method should be implemented to support problem cloning
24
* @see {@link Object#clone}
25
* @return new object which is copy of this one
30
* @return problem profile where element belongs, can return null if profile
31
* is not define for some reason
34
IProblemProfile getProfile();
37
* @return problem category where element belongs for a give profile, can
38
* return null if profile is not define
41
IProblemCategory getParentCategory();