Class PropertyStringMatches
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
de.mid.innovator.m2msdk.model.transformation.property.PropertyLogicBase
de.mid.innovator.m2msdk.model.transformation.property.PropertyStringMatches
- All Implemented Interfaces:
PropertyDescriptorIF,Serializable
Tests, whether first sting matches second string.
It matches,
if the second string are equal or
if the first string contains all segments in the second arguments in the right order.
The segments in the second string are separated by "*".
Examples true
"ab", "*b*"
"abc", "*b*"
"abcabc", "*b*"
"abcabc", "*ab*"
"abcabc", "a*c"
"abcabc", "a*b*c"
"abcabcabc", "a*abc*c"
false
"abc", "*b"
"abc", "b"
"abc", "b*"
"abcb", "a*ab*cb"
- Version:
- 11.6
- Author:
- jba
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue(MappingElementIF element, ExpressionContext expressionContext) Read value from item.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.property.PropertyDescriptorImpl
addSubDescriptor, addSubDescriptor, filter, getDescription, getKnownNames, getMetaModel, getPropertyType, getResult, getSubDescriptors, getValue, getValueAsString, getValues, isLogged, setValue, toString
-
Constructor Details
-
PropertyStringMatches
public PropertyStringMatches() -
PropertyStringMatches
-
-
Method Details
-
getValue
public PropertyValue getValue(MappingElementIF element, ExpressionContext expressionContext) throws M2MException, RemoteException Description copied from interface:PropertyDescriptorIFRead value from item.- Specified by:
getValuein interfacePropertyDescriptorIF- Overrides:
getValuein classPropertyDescriptorImpl- Parameters:
element- TODOexpressionContext- context containing the model element and the source and the target and the anchors- Returns:
- items value
- Throws:
M2MExceptionRemoteExceptionRemoteException
-