public final class NonUiValidation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_CSV |
static int |
FORMAT_CSV_FULL |
static int |
FORMAT_CSV_SUMMARY |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
run(org.eclipse.emf.ecore.EModelElement umlMetaModel,
org.eclipse.emf.ecore.EModelElement itemToBeValidated,
int format,
java.io.PrintWriter out,
java.io.PrintStream statusOut)
Validates the provided item (element or diagram) against the provided metamodel,
|
public static int FORMAT_CSV_SUMMARY
public static int FORMAT_CSV
public static int FORMAT_CSV_FULL
public static java.util.Map<java.lang.String,java.lang.String> run(org.eclipse.emf.ecore.EModelElement umlMetaModel, org.eclipse.emf.ecore.EModelElement itemToBeValidated, int format, java.io.PrintWriter out, java.io.PrintStream statusOut)
umlMetaModel
- the UML-representation of the metamodel to be used.itemToBeValidated
- the model element or diagram to be validatedformat
- the integer representation of the format to be used for the output. Valid formats are 1-csv_summary, 2-csv or 3-csv_full.out
- the stream to use for reporting any violationstatusOut
- the stream, to use for reporting run time errors during validation