Package com._1c.g5.v8.dt.aef2.bm.models
Class AefBmModelUtils
java.lang.Object
com._1c.g5.v8.dt.aef2.bm.models.AefBmModelUtils
The AEF 2.0 BM model utilities class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TadaptBmTaskValueToApply(T valueToApply) Adapts the givenvalueToApplyobject to BM task in AEF 2.0 models.
-
Constructor Details
-
AefBmModelUtils
public AefBmModelUtils()
-
-
Method Details
-
adaptBmTaskValueToApply
public static <T> T adaptBmTaskValueToApply(T valueToApply) Adapts the givenvalueToApplyobject to BM task in AEF 2.0 models.
If the given object is an instance ofIBmObjectand the engine of the object isnull, i.e. the object is transient, then it returns the copy of the object. In other cases it returns the given object itself.- Parameters:
valueToApply- the object that applies in BM task in AEF model.
-