Class MMSyncSetPropertyHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.MMSyncSetPropertyHelper
-
public abstract class MMSyncSetPropertyHelper extends java.lang.ObjectA synchronization property is a property that keeps the values in redundant properties of their stereotypes synchronized.- See Also:
MMSyncSetProperty
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MMSyncSetPropertycreate(SrvContext srvCtx, ELElement item)Creates a newMMSyncSetPropertyowned by the specifiedMMSyncSet.static voidcreateMatchingSyncSetProperty(SrvContext srvCtx, ELElement item)Creates synchronization properties for each matchingMMSyncedPropertyof all synced stereotypes owned by the specifiedMMSyncSet.static voidsynchronizeProperty(SrvContext srvCtx, MMStereotypeAble targetItem, MM2TypedElement targetProperty, MMStereotypeAble sourceItem, MM2TypedElement sourceProperty)Synchronize theMM2TypedElementof aMMStereotypeAble.
-
-
-
Method Detail
-
createMatchingSyncSetProperty
public static void createMatchingSyncSetProperty(SrvContext srvCtx, ELElement item) throws InoNetException, SrvErrorException
Creates synchronization properties for each matchingMMSyncedPropertyof all synced stereotypes owned by the specifiedMMSyncSet.- Parameters:
srvCtx- The context of the related innovator server.item- ELElement instance- Throws:
InoNetExceptionSrvErrorException
-
create
public static MMSyncSetProperty create(SrvContext srvCtx, ELElement item) throws InoNetException, SrvErrorException
Creates a newMMSyncSetPropertyowned by the specifiedMMSyncSet.- Parameters:
srvCtx- The context of the related innovator server.item- ELElement instance- Throws:
InoNetExceptionSrvErrorException
-
synchronizeProperty
public static void synchronizeProperty(SrvContext srvCtx, MMStereotypeAble targetItem, MM2TypedElement targetProperty, MMStereotypeAble sourceItem, MM2TypedElement sourceProperty) throws InoNetException, SrvErrorException
Synchronize theMM2TypedElementof aMMStereotypeAble.- Parameters:
srvCtx- The context of the related innovator server.targetItem- modify this itemtargetProperty- redundant property that is writtensourceItem- get data from this itemsourceProperty- redundant property that is read out- Throws:
InoNetExceptionSrvErrorException
-
-