|
a |
|
b/src/main/java/genericbcm/validation/SupportResourceToResourceLinkValidator.java |
|
|
1 |
/**
|
|
|
2 |
*
|
|
|
3 |
* $Id$
|
|
|
4 |
*/
|
|
|
5 |
package genericbcm.validation;
|
|
|
6 |
|
|
|
7 |
import genericbcm.Resource;
|
|
|
8 |
import genericbcm.SupportResource;
|
|
|
9 |
|
|
|
10 |
/**
|
|
|
11 |
* A sample validator interface for {@link genericbcm.SupportResourceToResourceLink}.
|
|
|
12 |
* This doesn't really do anything, and it's not a real EMF artifact.
|
|
|
13 |
* It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
|
|
|
14 |
* This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
|
|
|
15 |
*/
|
|
|
16 |
public interface SupportResourceToResourceLinkValidator {
|
|
|
17 |
boolean validate();
|
|
|
18 |
|
|
|
19 |
boolean validateFrom(SupportResource value);
|
|
|
20 |
boolean validateTo(Resource value);
|
|
|
21 |
}
|