Package com._1c.g5.v8.dt.cmi.model.impl
Class ValidationUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.cmi.model.impl.ValidationUtil
-
public class ValidationUtil extends Object
Validation util.
-
-
Constructor Summary
Constructors Constructor Description ValidationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addError(org.eclipse.emf.common.util.DiagnosticChain diagnostics, int code, String message, Object[] data)
Adds error into EMF diagnostics.static void
addWarning(org.eclipse.emf.common.util.DiagnosticChain diagnostics, int code, String message, Object[] data)
Adds warning into EMF diagnostics.static Object[]
dataToArray(Object... elements)
Adds error data to array.
-
-
-
Method Detail
-
addError
public static void addError(org.eclipse.emf.common.util.DiagnosticChain diagnostics, int code, String message, Object[] data)
Adds error into EMF diagnostics.- Parameters:
diagnostics
- EMF diagnosticscode
- error codemessage
- error messagedata
- error data
-
addWarning
public static void addWarning(org.eclipse.emf.common.util.DiagnosticChain diagnostics, int code, String message, Object[] data)
Adds warning into EMF diagnostics.- Parameters:
diagnostics
- EMF diagnosticscode
- error codemessage
- error messagedata
- error data
-
-