Class ExpressionParser
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.function.expressionparser.ExpressionParser
- Direct Known Subclasses:
ExpressionParserForParameter
Class for parsing expressions.
- Version:
- 10.1.1
- Author:
- jmback, mchawes, jnagl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescriptor(MetaModel mm, ParseItem item) getError()getLHS()getRHS()getTerms()voidinitialize(SessionInterface iSession, String iExpression, MetaModel sourceMM, MetaModel targetMM, boolean bIgnoreParseError) Initialize parser with the given string.
-
Constructor Details
-
ExpressionParser
public ExpressionParser()
-
-
Method Details
-
getRHS
-
getLHS
-
getTerms
-
initialize
public void initialize(SessionInterface iSession, String iExpression, MetaModel sourceMM, MetaModel targetMM, boolean bIgnoreParseError) throws M2MException, RemoteException Initialize parser with the given string.- Parameters:
iSession- sessioniExpression- string to be parsedsourceMM- meta model of left hand sidetargetMM- meta model of right hand sidebIgnoreParseError- ignore errors while parsing- Throws:
M2MException- error while parsing occurredRemoteException
-
getDescriptor
public PropertyGeneric getDescriptor(MetaModel mm, ParseItem item) throws M2MException, RemoteException - Throws:
M2MExceptionRemoteException
-
getError
-
getPosOfError
-