Interface MMCreateTemplate
- All Superinterfaces:
ADClientAble,ADExecuteAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELNamedElement,ELNamespaceAble,ELNamespaceAsgnAble,ELObject,ELPresOptAble,ELUUIDAble,MMLocalizAble,MMMenuItemAble,MMMetaCommentAble,MMMetamodelElement
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionevaluateRelationshipTemplate(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.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.The create defaults that use this create template.The element of this create template.getOwnedCopy(K_CONTROL_OPTION... behaviourFlags) The copy dependency ownend by this create template.getOwnedDBRole(K_CONTROL_OPTION... behaviourFlags) All DB roles owned by thisMMCreateTemplate.<T extends MMCreateELInst>
List<T> getOwnedInst(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All dummy elements of this create template.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.getOwnedType(K_CONTROL_OPTION... behaviourFlags) MMCreateTemplateof theMMTSType.getOwnedTypeSystem(K_CONTROL_OPTION... behaviourFlags) MMCreateTemplateof theMMTypeSystem.The profile that owns this create template.The instance of this create template.The stereotype of the instance of this create template.All stereotypes using thisMMCreateTemplate.booleanIf true, the execution rights of this create template are copied as access rights to the created instance.booleanTrue, if the bitmap from the stereotype of this template is used in the menu.voidsetUseExecAsAccess(boolean value) Set the value of Attribut UseExecAsAccess.voidsetUseStereotypeIcon(boolean value) Set the value of Attribut UseStereotypeIcon.Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDiaMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADExecuteAble
getRoleExecution, hasExecutionMethods inherited from interface de.mid.innovator.srv2api.icw2meta.ADM2AttrModifyAble
getTabCell, getTabCellObjectList, getTabCreateTemplate, getTabCreateTemplateObjectList, getTabElement, getTabElementRelshipTypeList, getTabElementRowList, getTabElementRowTypeList, getTabRelshipList, getTabRowList, tabCellModify, tabCreateTemplate, tabElementModifyMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContentsMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELContAsgnAble
getAsgnKind, getContSortOrder, getFirstOwnerWhichIsConformTo, getOwner, getOwnerTransitive, getOwnerTransitive, getSelfAndOwnerTransitive, getSelfAndOwnerTransitive, getVersionRoot, isTransitiveChildOf, setAsgnKind, setContSortOrder, setOwnerMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELDeleteAble
deleteMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKindMethods 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, getPackageImportMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibilityMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPresOptAble
getBitmap, getColor, getOwnedPresOptMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLocalizAble
hasAnyLocalizedName, hasLocalizedNameMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMenuItemAble
getMenuItemMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetaCommentAble
getDescriptionMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
getIgnoringProfile
-
Method Details
-
getUseStereotypeIcon
True, if the bitmap from the stereotype of this template is used in the menu.- Throws:
InoNetExceptionSrvErrorException
-
setUseStereotypeIcon
Set the value of Attribut UseStereotypeIcon.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getUseExecAsAccess
If true, the execution rights of this create template are copied as access rights to the created instance.- Throws:
InoNetExceptionSrvErrorException
-
setUseExecAsAccess
Set the value of Attribut UseExecAsAccess.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
getOwnInstance
The instance of this create template.- Throws:
InoNetExceptionSrvErrorException
-
getStereotype
The stereotype of the instance of this create template.- Throws:
InoNetExceptionSrvErrorException
-
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 sideohTrg- element or container on target sideohTmpl- create template of the new nodekSide- side of the new nodeptPos- position of the new node in diagramkVOclNode- type of the new nodekVOclEdge- type of the new edge- Throws:
InoNetExceptionSrvErrorException
-
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 sideohSrcReq- requirement on source sideohTrg- element or container on target sideohTrgReq- requirement on target sideohTmpl- create template of the new nodeohRelReq- requirement for the relationshipkSide- side of the new nodeptPos- position of the new node in diagramkVOclNode- type of the new nodekVOclEdge- type of the new edge- Throws:
InoNetExceptionSrvErrorException
-
getInstanceOfCreateTemplate
The element of this create template.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
getOwnedType
List<MMTSType> getOwnedType(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException MMCreateTemplateof theMMTSType.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
getOwnedTypeSystem
List<MMTypeSystem> getOwnedTypeSystem(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException MMCreateTemplateof theMMTypeSystem.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
getOwnedDBRole
List<DBRole> getOwnedDBRole(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All DB roles owned by thisMMCreateTemplate.- Parameters:
behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
getCreateRedirect
The create defaults that use this create template.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
getSyncedStereotype
All stereotypes using thisMMCreateTemplate.- Throws:
InoNetExceptionSrvErrorException
-
getOwningProfile
The profile that owns this create template.- Throws:
InoNetExceptionSrvErrorException
-