Package de.mid.innovator.srv2api.icw2er
Interface ERGeneralization
- All Superinterfaces:
ADClientAble,ADFindAble,ADHistoryAble,ADM2AttrModifyAble,ELContainerAble,ELContAsgnAble,ELDeleteAble,ELElement,ELGeneralization,ELObject,ELRelshipBinDir,ELUUIDAble,ELValueContainerAble,ELViewNavigAble,IMForeignKeyAble,IMGeneralization,MECommentAble,MEConstraintAble,MEModelElement,MEStereotypeAble,METermAble,MMAttachmentAble,MMCommentContainerAble,MMLabelAble,MMLabelTextAttachmentAble,MMStereotypeAble,MMTextAble
A
Maintaining a generalization creates a
ERGeneralization is a special relationship between two entities.
In the Entity Relationship Model a generalization must be assigned to a ERGeneralizationSet.
The special entity is source and onwer of the generalization. The general entity is the target of
the generalization and owner of the generalization set.Maintaining a generalization creates a
ERForeignKey and the foreign attributes.
The generalization is an hierarchical relationship, so the foreign attributes initially will be part of the primary key. So the subsequent child entities of the special entity will also get foreign key attributes.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionList of all generalization sets which can be alternatively used by thisERGeneralization.getAlternativeSet(MMStereotype stereotype) The method calls getAlternativeSet and filters its return values according to the given stereotype value.Gets the foreign key attributes implementing thisERGeneralization.getForeignKeyAttributes(MMStereotype stereotype) The method calls getForeignKeyAttributes and filters its return values according to the given stereotype value.Gets theERUniqueKeyreferenced by thisERGeneralization.Gets the attributes referenced by thisERGeneralization.getUniqueKeyAttributes(MMStereotype stereotype) The method calls getUniqueKeyAttributes and filters its return values according to the given stereotype value.maintain()Runs all maintaining methods for thisERGeneralizationin the following order:
maintainIsRType(...) maintainCreateForeignKey(...)This maintaining method creates the missedERForeignKeyfor thisERGeneralization.
Returns the newly created foreign key or null.voidRuns the R type maintaining method for the generalEREntityof thisERGeneralization.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.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistoryMethods 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.ELGeneralization
getGeneral, getGeneralizationSet, getSpecific, getTargetOfProxy, isSubstitutable, setSubstitutableMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasReadMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRelshipBinDir
getSource, getTarget, getTemplateTarget, reconnectRelship, setTargetMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getInnoRef, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUIDMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAbleMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELViewNavigAble
getViewNavigAbleGroupMethods inherited from interface de.mid.innovator.srv2api.icw2im.IMForeignKeyAble
getCubeDimension, getDimensionPrecedence, getForeignKey, isHierarchical, isNotNullMethods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssignMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getDataModel, getDataModelName, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColorMethods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholderMethods inherited from interface de.mid.innovator.srv2api.icw2model.METermAble
getTerm, setTermMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachmentMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConceptMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfoMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMStereotypeAble
assignStereotypeDlg, cloneElement, completelySynchronizeOthers, completelySynchronizeThis, getAttrCnstrEffective, getCreateTemplate, getDisplayType, getOwnedFormat, getOwnedStereotypePropertyValSpec, getOwnedStereotypeTSOptionValSpec, getOwnedSyncedElement, getPropBoolValue, getPropLongValue, getPropStringValue, getPropValueList, getStereoPropValueByPattern, getStereoPropValueByPattern, getStereotype, getStereotypeName, getStereotypeProperty, getStereotypePropertyInfo, getStereotypePropertyNameValue, getStereotypeTSOption, getStereotypeTSOptionBoolValue, getStereotypeTSOptionInfo, getStereotypeTSOptionLongValue, getStereotypeTSOptionNameValue, getStereotypeTSOptionStringValue, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueByPattern, getStereotypeTSOptionValueList, getSyncedElement, getSyncedStereotypeAble, getSyncedStereotypeAble, isCloneAbleElement, modifyStereotypePropertyValuesByName, modifyStereotypeTSOptionValuesByName, setStereotype, setStereotypePropertyInfo, setStereotypeTSOptionInfo, setSyncedStereotypeAbleMethods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getText, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
Method Details
-
getAlternativeSet
List of all generalization sets which can be alternatively used by thisERGeneralization.- Throws:
InoNetExceptionSrvErrorException
-
getAlternativeSet
List<ERGeneralizationSet> getAlternativeSet(MMStereotype stereotype) throws InoNetException, SrvErrorException The method calls getAlternativeSet and filters its return values according to the given stereotype value.- Parameters:
stereotype- The stereotype used to filter the result list- Throws:
InoNetExceptionSrvErrorException
-
getUniqueKey
Gets theERUniqueKeyreferenced by thisERGeneralization.- Throws:
InoNetExceptionSrvErrorException
-
getUniqueKeyAttributes
Gets the attributes referenced by thisERGeneralization.- Throws:
InoNetExceptionSrvErrorException
-
getUniqueKeyAttributes
List<ERAttribute> getUniqueKeyAttributes(MMStereotype stereotype) throws InoNetException, SrvErrorException The method calls getUniqueKeyAttributes and filters its return values according to the given stereotype value.- Parameters:
stereotype- The stereotype used to filter the result list- Throws:
InoNetExceptionSrvErrorException
-
getForeignKeyAttributes
Gets the foreign key attributes implementing thisERGeneralization.- Throws:
InoNetExceptionSrvErrorException
-
getForeignKeyAttributes
List<ERAttribute> getForeignKeyAttributes(MMStereotype stereotype) throws InoNetException, SrvErrorException The method calls getForeignKeyAttributes and filters its return values according to the given stereotype value.- Parameters:
stereotype- The stereotype used to filter the result list- Throws:
InoNetExceptionSrvErrorException
-
maintain
Runs all maintaining methods for thisERGeneralizationin the following order:
maintainIsRType(...) maintainCreateForeignKey(...)- Throws:
InoNetExceptionSrvErrorException
-
maintainForeignKey
This maintaining method creates the missedERForeignKeyfor thisERGeneralization.
Returns the newly created foreign key or null.- Throws:
InoNetExceptionSrvErrorException
-
maintainIsRType
Runs the R type maintaining method for the generalEREntityof thisERGeneralization.- Throws:
InoNetExceptionSrvErrorException
-
transformToRelationship
- Throws:
InoNetExceptionSrvErrorException
-