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
,MMAttachmentAble
,MMCommentContainerAble
,MMLabelAble
,MMLabelTextAttachmentAble
,MMStereotypeAble
,MMTextAble
public interface ERGeneralization extends IMGeneralization
AERGeneralization
is a special relationship between two entities. In the Entity Relationship Model a generalization must be assigned to aERGeneralizationSet
. 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 aERForeignKey
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:
ERGeneralizationHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ERGeneralization.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ERGeneralizationSet>
getAlternativeSet(K_CONTROL_OPTION... behaviourFlags)
List of all generalization sets which can be alternatively used by thisERGeneralization
.java.util.List<ERGeneralizationSet>
getAlternativeSet(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getAlternativeSet and filters its return values according to the given stereotype value.java.util.List<ERAttribute>
getForeignKeyAttributes(K_CONTROL_OPTION... behaviourFlags)
Gets the foreign key attributes implementing thisERGeneralization
.java.util.List<ERAttribute>
getForeignKeyAttributes(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getForeignKeyAttributes and filters its return values according to the given stereotype value.ERUniqueKey
getUniqueKey()
Gets theERUniqueKey
referenced by thisERGeneralization
.java.util.List<ERAttribute>
getUniqueKeyAttributes(K_CONTROL_OPTION... behaviourFlags)
Gets the attributes referenced by thisERGeneralization
.java.util.List<ERAttribute>
getUniqueKeyAttributes(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags)
The method calls getUniqueKeyAttributes and filters its return values according to the given stereotype value.java.util.List<MEStereotypeAble>
maintain()
ERForeignKey
maintainForeignKey()
This maintaining method creates the missedERForeignKey
for thisERGeneralization
.
Returns the newly created foreign key or null.void
maintainIsRType()
Runs the R type maintaining method for the generalEREntity
of thisERGeneralization
.ERRelationship
transformToRelationship()
Not yet implemented!-
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.ADHistoryAble
getCreateTime, getCreator, getHistory, getModifier, getModifyTime, modifyHistory, setHistory
-
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.ELGeneralization
getGeneral, getGeneralizationSet, getSpecific, getTargetOfProxy, isSubstitutable, setSubstitutable
-
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.ELRelshipBinDir
getSource, getTarget, getTemplateTarget, reconnectRelship, setTarget
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELUUIDAble
getHyperlinkReferenceAble, getNotToTranslateAttribute, getTranslatedValue, getUUID, setUUID
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELValueContainerAble
getValueReUseAble, setValueReUseAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELViewNavigAble
getViewNavigAbleGroup
-
Methods inherited from interface de.mid.innovator.srv2api.icw2im.IMForeignKeyAble
getCubeDimension, getDimensionPrecedence, getForeignKey, isHierarchical, isNotNull
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MECommentAble
getAssignedComment, getAssignedComment, getCommentAssign
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEConstraintAble
getAssignedConstraint, getAssignedConstraint, getConstraintAssign
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEModelElement
buildProxyConnection, getActivityPartition, getConsider, getContentStereotypeByClass, getCreateTemplateByClass, getElementColor, getFirstValidContentStereotype, getIgnore, getKnownTypeSystems, getMEModelName, getModelElement, getModelElement, getPresContext, getPresContext, getPresetMapping, getPRPresContent, setElementColor
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEStereotypeAble
getApplicableAnalysisDia, getClientMappingDependency, getDecisionMade, getDecisionOwned, getKnowledgeSourceOfOwner, getMappingTargetElement, getMappingTargetElement, getProxyAsgProperty, getRepresentingArtifact, getRequirementOfStakeholder, getRequirementOfStakeholderOwner, isMapped, setMapped, setRequirementOfStakeholder
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMAttachmentAble
getAssignedAttachment, getAttachmentAssign, getDefaultAttachment, getOwnedAttachment, setDefaultAttachment
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMCommentContainerAble
getOutgoingConceptRealization, getOwnedComment, getRealizedConcept, getRealizedConcept, replaceRealizedConcepts, setRealizedConcept
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMLabelAble
getLabel, getLabelBoolValue, getLabelColor, getLabelInfo, getLabelLongValue, getLabelNameValue, getLabelStringValue, getLabelValueByPattern, getLabelValueByPattern, getLabelValueList, getOwnedLabelValSpec, hasLabel, modifyLabelValuesByName, setLabelInfo
-
Methods 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, setSyncedStereotypeAble
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.MMTextAble
getFlowExpandedValue, getModifyFlowDocuments, getModifyTextValues, getModifyTextValuesDlgInit, getOwnedTextValue, getOwnedTextValueByPattern, getTextExpandedValue, getTextStringValue, getURIList, modifyFlowDocuments, modifyTextValuesDlg
-
-
-
-
Method Detail
-
getAlternativeSet
java.util.List<ERGeneralizationSet> getAlternativeSet(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
List of all generalization sets which can be alternatively used by thisERGeneralization
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getAlternativeSet
java.util.List<ERGeneralizationSet> getAlternativeSet(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) 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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getUniqueKey
ERUniqueKey getUniqueKey() throws InoNetException, SrvErrorException
Gets theERUniqueKey
referenced by thisERGeneralization
.- Throws:
InoNetException
SrvErrorException
-
getUniqueKeyAttributes
java.util.List<ERAttribute> getUniqueKeyAttributes(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Gets the attributes referenced by thisERGeneralization
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getUniqueKeyAttributes
java.util.List<ERAttribute> getUniqueKeyAttributes(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) 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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getForeignKeyAttributes
java.util.List<ERAttribute> getForeignKeyAttributes(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Gets the foreign key attributes implementing thisERGeneralization
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getForeignKeyAttributes
java.util.List<ERAttribute> getForeignKeyAttributes(MMStereotype stereotype, K_CONTROL_OPTION... behaviourFlags) 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 listbehaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
maintain
java.util.List<MEStereotypeAble> maintain() throws InoNetException, SrvErrorException
Runs all maintaining methods for thisERGeneralization
in the following order:
maintainIsRType(...) maintainCreateForeignKey(...)
- Throws:
InoNetException
SrvErrorException
-
maintainForeignKey
ERForeignKey maintainForeignKey() throws InoNetException, SrvErrorException
This maintaining method creates the missedERForeignKey
for thisERGeneralization
.
Returns the newly created foreign key or null.- Throws:
InoNetException
SrvErrorException
-
maintainIsRType
void maintainIsRType() throws InoNetException, SrvErrorException
Runs the R type maintaining method for the generalEREntity
of thisERGeneralization
.- Throws:
InoNetException
SrvErrorException
-
transformToRelationship
ERRelationship transformToRelationship() throws InoNetException, SrvErrorException
- Throws:
InoNetException
SrvErrorException
-
-