Package de.mid.innovator.srv2api.icw2er
Class ERAttributeHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2er.ERAttributeHelper
-
public abstract class ERAttributeHelper extends java.lang.ObjectAnERAttributeis a property of anEREntity.- See Also:
ERAttribute
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ERAttributecreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)Create a new Entity Attribute with template and container.static ERAttributecreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)Create a new Entity Attribute with stereotype and container.static ERAttributecreateByUnique(SrvContext srvCtx, ELContainerAble ohContainer, IMProperty ohReferencedProperty)Creates a foreign key attribute for a given unique key attribute.
-
-
-
Method Detail
-
createByUnique
public static ERAttribute createByUnique(SrvContext srvCtx, ELContainerAble ohContainer, IMProperty ohReferencedProperty) throws InoNetException, SrvErrorException
Creates a foreign key attribute for a given unique key attribute. If possible, name and stereotype will be derived from the unique key attribute.- Parameters:
srvCtx- The context of the related innovator server.ohContainer- Container of the new elementohReferencedProperty- Referenced Property (Primary) as Copy Source- Throws:
InoNetExceptionSrvErrorException
-
create
public static ERAttribute create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Entity Attribute 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 ERAttribute create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Entity Attribute 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
-
-