Class AggregatesValidatorUtil
- java.lang.Object
-
- com._1c.g5.v8.dt.aggregates.model.util.AggregatesValidatorUtil
-
public class AggregatesValidatorUtil extends Object
Aggregates validator utils
-
-
Constructor Summary
Constructors Constructor Description AggregatesValidatorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
error(org.eclipse.emf.common.util.DiagnosticChain diagnostics, int code, String message, Object... data)
Adds error into EMF diagnostics.static AccumulationRegister
getAccumulationRegisterContainer(org.eclipse.emf.ecore.EObject eObject, Map<Object,Object> context)
Get accumulation register owner of given object.static void
warning(org.eclipse.emf.common.util.DiagnosticChain diagnostics, int code, String message, Object... data)
Adds warning into EMF diagnostics.
-
-
-
Method Detail
-
getAccumulationRegisterContainer
public static AccumulationRegister getAccumulationRegisterContainer(org.eclipse.emf.ecore.EObject eObject, Map<Object,Object> context)
Get accumulation register owner of given object.Used validation context to contain accumulation register for validation chain procces
- Parameters:
eObject
- the accumulation register or child object of accumulation register, cannot benull
context
- the validation context map, cannot benull
- Returns:
-
error
public static void error(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
-
-