Class CLPropertyHelper
java.lang.Object
de.mid.innovator.srv2api.icw2class.CLPropertyHelper
A property is a structural feature.
A property related to a classifier by ownedAttribute represents an attribute and it may also represent an association end. It relates an instance of the class to a value or collection of values of the type of the attribute.
A property related to an association by memberEnd or its specializations represents an end of the association. The type of property is the type of the end of the association.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic CLPropertycreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) Create a new Property with template and container.static CLPropertycreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) Create a new Property with stereotype and container.
-
Method Details
-
create
public static CLProperty create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Property with stereotype and container.- Parameters:
srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-
create
public static CLProperty create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException Create a new Property with template and container.- Parameters:
srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohContainer- Container for the new element- Throws:
InoNetExceptionSrvErrorException
-