de.mid.innovator.srv2api.icw2meta
Interface MMCreateTemplate

All Superinterfaces:
ADClientAble, ADExecuteAble, ADM2AttrModifyAble, ELContainerAble, ELContAsgnAble, ELDeleteAble, ELElement, ELNamedElement, ELNamespaceAble, ELNamespaceAsgnAble, ELObject, ELPresOptAble, ELUUIDAble, MMLocalizAble, MMLocalizedPropertyAble, MMMenuItemAble, MMMetaCommentAble, MMMetamodelElement

public interface MMCreateTemplate
extends ELUUIDAble, ELNamespaceAble, MMMenuItemAble, ADExecuteAble


Nested Class Summary
static class MMCreateTemplate.VAttr
           
 
Method Summary
 ARG_EvaluateRelationshipTemplateOut evaluateRelationshipTemplate(ADClientAble ohSrc, ADClientAble ohTrg, MMCreateTemplate ohTmpl, K_SIDE kSide, Point ptPos, Class<? extends ELObject> kVOclNode, Class<? extends ELObject> kVOclEdge)
          Creates a relationship from the current object between the specified source and target element.
 ARG_EvaluateRelationshipTemplateOut evaluateRelationshipTemplateWithRequirement(ADClientAble ohSrc, ADClientAble ohSrcReq, ADClientAble ohTrg, ADClientAble ohTrgReq, MMCreateTemplate ohTmpl, ADClientAble ohRelReq, K_SIDE kSide, Point ptPos, Class<? extends ELObject> kVOclNode, Class<? extends ELObject> kVOclEdge)
          Creates a relationship from the current object between the specified source and target element.
 List<MECreateRedirect> getCreateRedirect()
          The create defaults that use this create template.
 ELElement getInstanceOfCreateTemplate()
          The element of this create template.
 List<MECopy> getOwnedCopy(K_CONTROL_OPTION... behaviourFlags)
          The copy dependency ownend by this create template.
 List<DBRole> getOwnedDBRole(K_CONTROL_OPTION... behaviourFlags)
          All DB roles owned by this MMCreateTemplate.
<T extends MMCreateELInst>
List<T>
getOwnedInst(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          All dummy elements of this create template.
<T extends MMTSOption>
List<T>
getOwnedOption(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          MMCreateTemplate of the MMTSOption.
 List<CLRoleBinding> getOwnedRoleBinding(K_CONTROL_OPTION... behaviourFlags)
          The role binding owned by this create template.
<T extends MMStereotypeAble>
List<T>
getOwnedStereotypeAble(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
          All elements ownend by this create template.
 List<MMTSType> getOwnedType(K_CONTROL_OPTION... behaviourFlags)
          MMCreateTemplate of the MMTSType.
 List<MMTypeSystem> getOwnedTypeSystem(K_CONTROL_OPTION... behaviourFlags)
          MMCreateTemplate of the MMTypeSystem.
 MMProfile getOwningProfile()
          The profile that owns this create template.
 ELElement getOwnInstance()
          The instance of this create template.
 MMStereotype getStereotype()
          The stereotype of the instance of this create template.
 boolean getUseExecAsAccess()
          If true, the execution rights of this create template are copied as access rights to the created instance.
 boolean getUseStereotypeIcon()
          True, if the bitmap from the stereotype of this template is used in the menu.
 void setUseExecAsAccess(boolean value)
          Set the value of Attribut UseExecAsAccess.
 void setUseStereotypeIcon(boolean value)
          Set the value of Attribut UseStereotypeIcon.
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getUUID, setUUID
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAble
getElementImport, getImportedElement, getImportedElement, getImportedPackage, getImportedPackage, getMember, getMember, getMemberByPattern, getMemberByPattern, getOwnedConstraint, getOwnedMember, getOwnedMemberByPath, getOwnedMemberByPattern, getOwnedMemberByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPattern, getOwnedMemberTransitiveByPatternIgnoreCase, getOwnedMemberTransitiveByPatternIgnoreCase, getPackageImport
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMenuItemAble
getMenuItem
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPresOptAble
getBitmap, getColor, getOwnedPresOpt
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLocalizAble
getOwnedLocaleName, hasAnyLocalizedName, hasLocalizedName
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getResetDefaultName, getSupplierDependency, rename, setName, setNameKind, setResetDefaultName
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetaCommentAble
getDescription
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getLogic, getLogic, getPresentationContext, getSection
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRowList, getTabElementRowTypeList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModify
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwner
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLocalizedPropertyAble
getOwnedLocalizedProperty
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getCheckSetNotToLocalizeAttribute, getClientDependency, getNotToLocalizeAttribute, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedLocalizedValue, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, resetNotToLocalizeAttribute, setNotToLocalizeAttribute, sortContents
 
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
delete
 
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADExecuteAble
getRoleExecution, hasExecution
 

Method Detail

evaluateRelationshipTemplate

ARG_EvaluateRelationshipTemplateOut evaluateRelationshipTemplate(ADClientAble ohSrc,
                                                                 ADClientAble ohTrg,
                                                                 MMCreateTemplate ohTmpl,
                                                                 K_SIDE kSide,
                                                                 Point ptPos,
                                                                 Class<? extends ELObject> kVOclNode,
                                                                 Class<? extends ELObject> kVOclEdge)
                                                                 throws InoNetException,
                                                                        SrvErrorException
Creates a relationship from the current object between the specified source and target element. The source or target element may be specified as create template.

Parameters:
ohSrc - element or container on source side
ohTrg - element or container on target side
ohTmpl - create template of the new node
kSide - side of the new node
ptPos - position of the new node in diagram
kVOclNode - type of the new node
kVOclEdge - type of the new edge
Throws:
InoNetException
SrvErrorException

evaluateRelationshipTemplateWithRequirement

ARG_EvaluateRelationshipTemplateOut evaluateRelationshipTemplateWithRequirement(ADClientAble ohSrc,
                                                                                ADClientAble ohSrcReq,
                                                                                ADClientAble ohTrg,
                                                                                ADClientAble ohTrgReq,
                                                                                MMCreateTemplate ohTmpl,
                                                                                ADClientAble ohRelReq,
                                                                                K_SIDE kSide,
                                                                                Point ptPos,
                                                                                Class<? extends ELObject> kVOclNode,
                                                                                Class<? extends ELObject> kVOclEdge)
                                                                                throws InoNetException,
                                                                                       SrvErrorException
Creates a relationship from the current object between the specified source and target element. The source or target element may be specified as create template. For each element a requirement element may be specified.

Parameters:
ohSrc - element or container on source side
ohSrcReq - requirement on source side
ohTrg - element or container on target side
ohTrgReq - requirement on target side
ohTmpl - create template of the new node
ohRelReq - requirement for the relationship
kSide - side of the new node
ptPos - position of the new node in diagram
kVOclNode - type of the new node
kVOclEdge - type of the new edge
Throws:
InoNetException
SrvErrorException

getCreateRedirect

List<MECreateRedirect> getCreateRedirect()
                                         throws InoNetException,
                                                SrvErrorException
The create defaults that use this create template.

Throws:
InoNetException
SrvErrorException

getInstanceOfCreateTemplate

ELElement getInstanceOfCreateTemplate()
                                      throws InoNetException,
                                             SrvErrorException
The element of this create template.

Throws:
InoNetException
SrvErrorException

getOwnedCopy

List<MECopy> getOwnedCopy(K_CONTROL_OPTION... behaviourFlags)
                          throws InoNetException,
                                 SrvErrorException
The copy dependency ownend by this create template.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedDBRole

List<DBRole> getOwnedDBRole(K_CONTROL_OPTION... behaviourFlags)
                            throws InoNetException,
                                   SrvErrorException
All DB roles owned by this MMCreateTemplate.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedInst

<T extends MMCreateELInst> List<T> getOwnedInst(Class<T> returnType,
                                                K_CONTROL_OPTION... behaviourFlags)
                                            throws InoNetException,
                                                   SrvErrorException
All dummy elements of this create template.

Parameters:
returnType - Specifies the type of elements to be returned.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedOption

<T extends MMTSOption> List<T> getOwnedOption(Class<T> returnType,
                                              K_CONTROL_OPTION... behaviourFlags)
                                          throws InoNetException,
                                                 SrvErrorException
MMCreateTemplate of the MMTSOption.

Parameters:
returnType - Specifies the type of elements to be returned.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedRoleBinding

List<CLRoleBinding> getOwnedRoleBinding(K_CONTROL_OPTION... behaviourFlags)
                                        throws InoNetException,
                                               SrvErrorException
The role binding owned by this create template.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedStereotypeAble

<T extends MMStereotypeAble> List<T> getOwnedStereotypeAble(Class<T> returnType,
                                                            K_CONTROL_OPTION... behaviourFlags)
                                                        throws InoNetException,
                                                               SrvErrorException
All elements ownend by this create template.

Parameters:
returnType - Specifies the type of elements to be returned.
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedType

List<MMTSType> getOwnedType(K_CONTROL_OPTION... behaviourFlags)
                            throws InoNetException,
                                   SrvErrorException
MMCreateTemplate of the MMTSType.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwnedTypeSystem

List<MMTypeSystem> getOwnedTypeSystem(K_CONTROL_OPTION... behaviourFlags)
                                      throws InoNetException,
                                             SrvErrorException
MMCreateTemplate of the MMTypeSystem.

Parameters:
behaviourFlags - An optional list of enum values to control the behaviour of the command.
Throws:
InoNetException
SrvErrorException
Sorted:
the result may be sorted.

getOwningProfile

MMProfile getOwningProfile()
                           throws InoNetException,
                                  SrvErrorException
The profile that owns this create template.

Throws:
InoNetException
SrvErrorException

getOwnInstance

ELElement getOwnInstance()
                         throws InoNetException,
                                SrvErrorException
The instance of this create template.

Throws:
InoNetException
SrvErrorException

getStereotype

MMStereotype getStereotype()
                           throws InoNetException,
                                  SrvErrorException
The stereotype of the instance of this create template.

Throws:
InoNetException
SrvErrorException

getUseExecAsAccess

boolean getUseExecAsAccess()
                           throws InoNetException,
                                  SrvErrorException
If true, the execution rights of this create template are copied as access rights to the created instance.

Throws:
InoNetException
SrvErrorException

getUseStereotypeIcon

boolean getUseStereotypeIcon()
                             throws InoNetException,
                                    SrvErrorException
True, if the bitmap from the stereotype of this template is used in the menu.

Throws:
InoNetException
SrvErrorException

setUseExecAsAccess

void setUseExecAsAccess(boolean value)
                        throws InoNetException,
                               SrvErrorException
Set the value of Attribut UseExecAsAccess.

Parameters:
value - The value to be set.
Throws:
InoNetException
SrvErrorException

setUseStereotypeIcon

void setUseStereotypeIcon(boolean value)
                          throws InoNetException,
                                 SrvErrorException
Set the value of Attribut UseStereotypeIcon.

Parameters:
value - The value to be set.
Throws:
InoNetException
SrvErrorException