Class PropertyInnovatorStringElementReplace
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.transformation.property.PropertyStringBase
de.mid.innovator.m2msdk.model.transformation.property.PropertyStringReplace
de.mid.innovator.m2msdk.model.innovator.property.PropertyInnovatorStringElementReplace
- All Implemented Interfaces:
PropertyDescriptorIF, Serializable
This function replaces element references within a string. The replacement of
the elements is done via the property descriptor in the second argument.
- Version:
- 13.2.1
- Author:
- jmback
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyInnovatorStringElementReplace(SessionInterface iSession, MetaModel iMM) -
Method Summary
Modifier and TypeMethodDescriptiongetKnownNames(MappingElementIF iElement) Get list of known property names.getValue(MappingElementIF element, ExpressionContext ec) Read value from item.Methods inherited from class PropertyDescriptorImpl
addSubDescriptor, addSubDescriptor, filter, getDescription, getMetaModel, getPropertyType, getResult, getSubDescriptors, getValue, getValueAsString, getValues, isLogged, setValue, toString
-
Constructor Details
-
PropertyInnovatorStringElementReplace
public PropertyInnovatorStringElementReplace() -
PropertyInnovatorStringElementReplace
-
-
Method Details
-
getKnownNames
public ParameterProposalList getKnownNames(MappingElementIF iElement) throws M2MException, RemoteException Description copied from interface:PropertyDescriptorIFGet list of known property names. Even with a known name, a property descriptor may fail for getting or setting a value!- Specified by:
getKnownNamesin interfacePropertyDescriptorIF- Overrides:
getKnownNamesin classPropertyStringReplace- Parameters:
iElement- Mapping element to be treated, maybe null.- Returns:
- List of known property names.
- Throws:
M2MExceptionRemoteExceptionRemoteException
-
getValue
public PropertyValue getValue(MappingElementIF element, ExpressionContext ec) throws M2MException, RemoteException Description copied from interface:PropertyDescriptorIFRead value from item.- Specified by:
getValuein interfacePropertyDescriptorIF- Overrides:
getValuein classPropertyStringReplace- Parameters:
element- TODOec- context containing the model element and the source and the target and the anchors- Returns:
- items value
- Throws:
M2MExceptionRemoteExceptionRemoteException
-