blob: 7df8e457734ba902de97546a0ef8a14b058643f7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*****************************************************************************
* Copyright (c) 2011 CEA LIST.
*
* 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:
* Ernest Wozniak (CEA LIST) ernest.wozniak@cea.fr - Initial API and implementation
* Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - modification
*****************************************************************************/
package org.eclipse.papyrus.dsml.validation.model.elements.interfaces;
import java.util.List;
/**
* Interface representing constraint category from EMF Validation Framework
*
*
*/
public interface IConstraintsCategory extends Category {
/**
*
* @return constraints
*/
public List<IValidationRule> getConstraints();
/**
*
* @return the list of categories as a string
*/
public String getCategoriesList();
/**
* add a list of constraint
*
* @param constraints
*/
public void addConstraints(List<IValidationRule> constraints);
}
|