Class CLTemplateAbleElementHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLTemplateAbleElementHelper
A
CLTemplateAbleElement is an element that can optionally be defined as template and bound to other templates.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLTemplateAbleElementcreateTemplateBoundElement(SrvContext srvCtx, CLTemplateAbleElement ohTemplate, List<ARG_TemplateBoundParameter> seqPar) getVisibleTemplateParameterTypes(SrvContext srvCtx, ELElement item) Returns all template parameter classes which are visible for the specified element.static ARG_VisibleTemplateTypesgetVisibleTemplateTypes(SrvContext srvCtx) Returns all templates with parameters.
-
Method Details
-
getVisibleTemplateParameterTypes
public static ARG_VisibleTemplateParameterTypes getVisibleTemplateParameterTypes(SrvContext srvCtx, ELElement item) throws InoNetException, SrvErrorException Returns all template parameter classes which are visible for the specified element.- Parameters:
srvCtx- The context of the related innovator server.item- ELElement instance- Throws:
InoNetExceptionSrvErrorException
-
getVisibleTemplateTypes
public static ARG_VisibleTemplateTypes getVisibleTemplateTypes(SrvContext srvCtx) throws InoNetException, SrvErrorException Returns all templates with parameters.- Parameters:
srvCtx- The context of the related innovator server.- Throws:
InoNetExceptionSrvErrorException
-
createTemplateBoundElement
public static CLTemplateAbleElement createTemplateBoundElement(SrvContext srvCtx, CLTemplateAbleElement ohTemplate, List<ARG_TemplateBoundParameter> seqPar) throws InoNetException, SrvErrorException Creates a new element bound to the specified template. Each of the formal template parameters may be bound to an actual parameter value. If the value itself is a template the parameters may be bound recursive.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- template elementseqPar- list of parameters- Throws:
InoNetExceptionSrvErrorException
-