Class ELM2ClassHelper
java.lang.Object
de.mid.innovator.srv2api.icw2elem.ELM2ClassHelper
This is a utility class for ELM2Class that provides static methods for creation or other purposes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ELM2ClassgetByName(SrvContext srvCtx, String item) The M2Class instance specified by name.static ELM2ClassgetELM2Class(SrvContext srvCtx, Class<? extends ELObject> item) The specified M2Class instance.
-
Method Details
-
getByName
public static ELM2Class getByName(SrvContext srvCtx, String item) throws InoNetException, SrvErrorException The M2Class instance specified by name.- Parameters:
srvCtx- The context of the related innovator server.item-- Throws:
InoNetExceptionSrvErrorException
-
getELM2Class
public static ELM2Class getELM2Class(SrvContext srvCtx, Class<? extends ELObject> item) throws InoNetException, SrvErrorException The specified M2Class instance.- Parameters:
srvCtx- The context of the related innovator server.item-- Throws:
InoNetExceptionSrvErrorException
-