Interface MMCreateTemplate
-
- All Superinterfaces:
ADClientAble
,ADExecuteAble
,ADM2AttrModifyAble
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELNamedElement
,ELNamespaceAble
,ELNamespaceAsgnAble
,ELObject
,ELPresOptAble
,ELUUIDAble
,MMLocalizAble
,MMMenuItemAble
,MMMetaCommentAble
,MMMetamodelElement
public interface MMCreateTemplate extends ELNamespaceAble, MMMenuItemAble, ADExecuteAble
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MMCreateTemplate.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ARG_EvaluateRelationshipTemplateOut
evaluateRelationshipTemplate(ADClientAble ohSrc, ADClientAble ohTrg, MMCreateTemplate ohTmpl, K_SIDE kSide, java.awt.Point ptPos, java.lang.Class<? extends ELObject> kVOclNode, java.lang.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, java.awt.Point ptPos, java.lang.Class<? extends ELObject> kVOclNode, java.lang.Class<? extends ELObject> kVOclEdge)
Creates a relationship from the current object between the specified source and target element.java.util.List<MECreateRedirect>
getCreateRedirect()
The create defaults that use this create template.ELElement
getInstanceOfCreateTemplate()
The element of this create template.java.util.List<MECopy>
getOwnedCopy(K_CONTROL_OPTION... behaviourFlags)
The copy dependency ownend by this create template.java.util.List<DBRole>
getOwnedDBRole(K_CONTROL_OPTION... behaviourFlags)
All DB roles owned by thisMMCreateTemplate
.<T extends MMCreateELInst>
java.util.List<T>getOwnedInst(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All dummy elements of this create template.java.util.List<CLRoleBinding>
getOwnedRoleBinding(K_CONTROL_OPTION... behaviourFlags)
The role binding owned by this create template.<T extends MMStereotypeAble>
java.util.List<T>getOwnedStereotypeAble(java.lang.Class<T> returnType, K_CONTROL_OPTION... behaviourFlags)
All elements ownend by this create template.java.util.List<MMTSType>
getOwnedType(K_CONTROL_OPTION... behaviourFlags)
MMCreateTemplate
of theMMTSType
.java.util.List<MMTypeSystem>
getOwnedTypeSystem(K_CONTROL_OPTION... behaviourFlags)
MMCreateTemplate
of theMMTypeSystem
.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.java.util.List<MMSyncedStereotype>
getSyncedStereotype()
All stereotypes using thisMMCreateTemplate
.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.icw2meta.ADClientAble
getAnnotation, getEndAnalysisDia, getLogic, getLogic, getPresentationContext, getSection, getStartAnalysisDia
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADExecuteAble
getRoleExecution, hasExecution
-
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.ELContainerAble
getClientDependency, getOwnedElement, getOwnedElementTransitiveDown, getOwnedElementTransitiveDown, getOwnedElementTransitiveDownAndUnresolved, getOwnedElementTransitiveDownAndUnresolved, getOwnedOrReferencedElementTransitiveDown, getOwnedOrReferencedElementTransitiveDown, getOwnedRelshipBinDirWithTarget, getOwnedRelshipBinDirWithTarget, getRedirectedModelContainer, getRelshipBinDirSource, getSelfAndOwnedElementTransitiveDown, getSelfAndOwnedElementTransitiveDown, getSortedContents, sortContents
-
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.icw2elem.ELDeleteAble
delete
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnit
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELNamedElement
getName, getNameKind, getQualifiedDisplayName, getQualifiedName, getQualifiedTLName, getSupplierDependency, rename, setName, setNameKind
-
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.icw2elem.ELNamespaceAsgnAble
getMnClassicTREFName, getNamespace, getNamespaceName, getPath, getSeparator, getVisibility, setUniqueName, setVisibility
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELPresOptAble
getBitmap, getColor, getOwnedPresOpt
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLocalizAble
hasAnyLocalizedName, hasLocalizedName
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMenuItemAble
getMenuItem
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetaCommentAble
getDescription
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMMetamodelElement
getIgnoringProfile
-
-
-
-
Method Detail
-
getUseStereotypeIcon
boolean getUseStereotypeIcon() throws InoNetException, SrvErrorException
True, if the bitmap from the stereotype of this template is used in the menu.- 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
-
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
-
setUseExecAsAccess
void setUseExecAsAccess(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut UseExecAsAccess.- Parameters:
value
- The value to be set.- 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
-
evaluateRelationshipTemplate
ARG_EvaluateRelationshipTemplateOut evaluateRelationshipTemplate(ADClientAble ohSrc, ADClientAble ohTrg, MMCreateTemplate ohTmpl, K_SIDE kSide, java.awt.Point ptPos, java.lang.Class<? extends ELObject> kVOclNode, java.lang.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:
InoNetException
SrvErrorException
-
evaluateRelationshipTemplateWithRequirement
ARG_EvaluateRelationshipTemplateOut evaluateRelationshipTemplateWithRequirement(ADClientAble ohSrc, ADClientAble ohSrcReq, ADClientAble ohTrg, ADClientAble ohTrgReq, MMCreateTemplate ohTmpl, ADClientAble ohRelReq, K_SIDE kSide, java.awt.Point ptPos, java.lang.Class<? extends ELObject> kVOclNode, java.lang.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:
InoNetException
SrvErrorException
-
getInstanceOfCreateTemplate
ELElement getInstanceOfCreateTemplate() throws InoNetException, SrvErrorException
The element of this create template.- Throws:
InoNetException
SrvErrorException
-
getOwnedInst
<T extends MMCreateELInst> java.util.List<T> getOwnedInst(java.lang.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.
-
getOwnedStereotypeAble
<T extends MMStereotypeAble> java.util.List<T> getOwnedStereotypeAble(java.lang.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.
-
getOwnedRoleBinding
java.util.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.
-
getOwnedType
java.util.List<MMTSType> getOwnedType(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
MMCreateTemplate
of theMMTSType
.- 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
java.util.List<MMTypeSystem> getOwnedTypeSystem(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
MMCreateTemplate
of theMMTypeSystem
.- 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
java.util.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:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted.
-
getCreateRedirect
java.util.List<MECreateRedirect> getCreateRedirect() throws InoNetException, SrvErrorException
The create defaults that use this create template.- Throws:
InoNetException
SrvErrorException
-
getOwnedCopy
java.util.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.
-
getSyncedStereotype
java.util.List<MMSyncedStereotype> getSyncedStereotype() throws InoNetException, SrvErrorException
All stereotypes using thisMMCreateTemplate
.- Throws:
InoNetException
SrvErrorException
-
getOwningProfile
MMProfile getOwningProfile() throws InoNetException, SrvErrorException
The profile that owns this create template.- Throws:
InoNetException
SrvErrorException
-
-