Package de.mid.innovator.srv2api.icw2dm
Class DMLiteralExpressionHelper
java.lang.Object
de.mid.innovator.srv2api.icw2dm.DMLiteralExpressionHelper
The class
DMLiteralExpression is used to model a value expression whose value is specified by text in some specified expression language.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DMLiteralExpressioncreate(SrvContext srvCtx, ELContainerAble ohContainer, String strText) Creates a newDMLiteralExpressionwith an unformatted text as content of the specifiedELContainerAble.static DMLiteralExpressioncreate(SrvContext srvCtx, ELContainerAble ohContainer, String strText, String strFlowText, DMInformationItem ohRef) Creates a newDMLiteralExpressionwith a formatted text and a referencedDMInformationItemas content of the specifiedELContainerAble.
-
Method Details
-
create
public static DMLiteralExpression create(SrvContext srvCtx, ELContainerAble ohContainer, String strText, String strFlowText, DMInformationItem ohRef) throws InoNetException, SrvErrorException Creates a newDMLiteralExpressionwith a formatted text and a referencedDMInformationItemas content of the specifiedELContainerAble.- Parameters:
srvCtx- The context of the related innovator server.ohContainer- container for the new literal expressionstrText- text for the new literal expressionstrFlowText- formatted text for the new literal expressionohRef- information item which is referenced by the expression text- Throws:
InoNetExceptionSrvErrorException
-
create
public static DMLiteralExpression create(SrvContext srvCtx, ELContainerAble ohContainer, String strText) throws InoNetException, SrvErrorException Creates a newDMLiteralExpressionwith an unformatted text as content of the specifiedELContainerAble.- Parameters:
srvCtx- The context of the related innovator server.ohContainer- container for the new literal expressionstrText- text for the new literal expression- Throws:
InoNetExceptionSrvErrorException
-