Class MMSyncSetPropertyHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.MMSyncSetPropertyHelper
-
public abstract class MMSyncSetPropertyHelper extends java.lang.Object
A 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 MMSyncSetProperty
create(SrvContext srvCtx, ELElement item)
Creates a newMMSyncSetProperty
owned by the specifiedMMSyncSet
.static void
createMatchingSyncSetProperty(SrvContext srvCtx, ELElement item)
Creates synchronization properties for each matchingMMSyncedProperty
of all synced stereotypes owned by the specifiedMMSyncSet
.static void
synchronizeProperty(SrvContext srvCtx, MMStereotypeAble targetItem, MM2TypedElement targetProperty, MMStereotypeAble sourceItem, MM2TypedElement sourceProperty)
Synchronize theMM2TypedElement
of aMMStereotypeAble
.
-
-
-
Method Detail
-
createMatchingSyncSetProperty
public static void createMatchingSyncSetProperty(SrvContext srvCtx, ELElement item) throws InoNetException, SrvErrorException
Creates synchronization properties for each matchingMMSyncedProperty
of all synced stereotypes owned by the specifiedMMSyncSet
.- Parameters:
srvCtx
- The context of the related innovator server.item
- ELElement instance- Throws:
InoNetException
SrvErrorException
-
create
public static MMSyncSetProperty create(SrvContext srvCtx, ELElement item) throws InoNetException, SrvErrorException
Creates a newMMSyncSetProperty
owned by the specifiedMMSyncSet
.- Parameters:
srvCtx
- The context of the related innovator server.item
- ELElement instance- Throws:
InoNetException
SrvErrorException
-
synchronizeProperty
public static void synchronizeProperty(SrvContext srvCtx, MMStereotypeAble targetItem, MM2TypedElement targetProperty, MMStereotypeAble sourceItem, MM2TypedElement sourceProperty) throws InoNetException, SrvErrorException
Synchronize theMM2TypedElement
of 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:
InoNetException
SrvErrorException
-
-