Class CLTemplateAbleElementHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2class.CLTemplateAbleElementHelper
-
public abstract class CLTemplateAbleElementHelper extends java.lang.Object
ACLTemplateAbleElement
is an element that can optionally be defined as template and bound to other templates.- See Also:
CLTemplateAbleElement
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLTemplateAbleElement
createTemplateBoundElement(SrvContext srvCtx, CLTemplateAbleElement ohTemplate, java.util.List<ARG_TemplateBoundParameter> seqPar)
static ARG_VisibleTemplateParameterTypes
getVisibleTemplateParameterTypes(SrvContext srvCtx, ELElement item)
Returns all template parameter classes which are visible for the specified element.static ARG_VisibleTemplateTypes
getVisibleTemplateTypes(SrvContext srvCtx)
Returns all templates with parameters.
-
-
-
Method Detail
-
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:
InoNetException
SrvErrorException
-
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:
InoNetException
SrvErrorException
-
createTemplateBoundElement
public static CLTemplateAbleElement createTemplateBoundElement(SrvContext srvCtx, CLTemplateAbleElement ohTemplate, java.util.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:
InoNetException
SrvErrorException
-
-