Package de.mid.innovator.srv2api.icw2er
Interface ERRelationship
-
- All Superinterfaces:
ADAccessAble
,ADClientAble
,ADFindAble
,ADHistoryAble
,ADLockAble
,ADM2AttrModifyAble
,ADOptionAble
,ADReferenceAble
,ADVersionAble
,ELAssociation
,ELClassifier
,ELContainerAble
,ELContAsgnAble
,ELDeleteAble
,ELElement
,ELNamedElement
,ELNamespaceAble
,ELNamespaceAsgnAble
,ELObject
,ELPackageAble
,ELRedefAble
,ELShortNameAble
,ELType
,ELUUIDAble
,ELValueContainerAble
,IMAssociation
,IMClassifier
,MECommentAble
,MEConstraintAble
,MEModelElement
,MENamedElement
,MENamespaceAsgnAble
,MEPackageAble
,MEStereotypeAble
,MMAttachmentAble
,MMCommentContainerAble
,MMLabelAble
,MMLabelTextAttachmentAble
,MMStereotypeAble
,MMTextAble
- All Known Subinterfaces:
BIHierarchyRole
public interface ERRelationship extends IMAssociation, ELShortNameAble
AERRelationship
connects two entities viaERRole
roles. The meaning of an relationships strongly depends on the cardinality of it roles.- See Also:
ERRelationshipHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ERRelationship.VAttr
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<EREntity>
getEntity(K_CONTROL_OPTION... behaviourFlags)
List of all entities of thisERRelationship
.EREntity
getEntityForeignKey()
Returns theEREntity
at the foreign key side of thisERRelationship
.EREntity
getEntitySERMLeft()
Returns theEREntity
at the left side of anERRelationship
which conforms to SERM.EREntity
getEntitySERMRight()
Returns theEREntity
at the right side of anERRelationship
which conforms to SERM.EREntity
getEntityUniqueKey()
Returns theEREntity
at the unique key side of thisERRelationship
.ERForeignKey
getForeignKey()
Gets theERForeignKey
implementing thisERRelationship
.java.util.List<ERAttribute>
getForeignKeyAttributes(K_CONTROL_OPTION... behaviourFlags)
Gets the foreign key attributes implementing thisERRelationship
.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.K_RS_HOWMANY
getHowMany()
This enumeration value indicates how many instances of the child entity can reference the same instance of the parent entity.
Setting this value to explicit will set the cardinality to (2,5)!K_RS_MUST_CAN
getMustOrCan()
This enumeration value indicates if an instance of the child entity must or can have a relationship to an instance of the parent entity.java.util.List<ERRole>
getOwnedRole(K_CONTROL_OPTION... behaviourFlags)
List of roles owned by this relationship.java.util.List<ERRole>
getRole(K_CONTROL_OPTION... behaviourFlags)
All roles that are assigned to this relationship.ERRole
getRoleForeignKey()
Returns theERRole
at the foreign key side of thisERRelationship
.ERRole
getRoleSERMLeft()
Returns theERRole
at the left side of anERRelationship
which conforms to SERM.ERRole
getRoleSERMRight()
Returns theERRole
at the right side of anERRelationship
which conforms to SERM.ERRole
getRoleUniqueKey()
Returns theERRole
at the unique key side of thisERRelationship
.ERUniqueKey
getUniqueKey()
Gets theERUniqueKey
referenced by thisERRelationship
.java.util.List<ERAttribute>
getUniqueKeyAttributes(K_CONTROL_OPTION... behaviourFlags)
Gets the attributes referenced by thisERRelationship
.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.boolean
hasWeakEntity()
If true, the referencing entity of the relationship is a weak entity.boolean
isMaxOne()
True, if theERRole
on the unique key side has a cardinality with maximum one, e.g. (0,1).boolean
isMinOne()
True, if theERRole
on the unique key side has a cardinality with minimum one or greater, e.g. (1,*).boolean
isOptional()
True, if thisERRelationship
is optional.
This is true if theERRole
on the foreign key side has a cardinality with minimum of zero, e.g. (0,1).boolean
isSERMConform()
If true, this relationship conforms to SERM.java.util.List<MEStereotypeAble>
maintain()
void
maintainIsRType()
Runs the R type maintaining method for the connected entities of thisERRelationship
.java.util.List<MEStereotypeAble>
maintainRoles()
Runs the maintaining methods for all roles of thisERRelationship
.void
setHowMany(K_RS_HOWMANY value)
Set the value of Info HowMany.void
setMustOrCan(K_RS_MUST_CAN value)
Set the value of Info MustOrCan.void
setWeakEntity(boolean value)
Set the value of Attribut HasWeakEntity.ERGeneralization
transformToGeneralization()
Not yet implemented!EREntity
transformToRType()
Precondition: thisERRelationship
must not be implemented by anERForeignKey
!-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADAccessAble
getAccessRole, getReadRole, hasAccess, setAccessRole, setReadRole
-
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.ADLockAble
getLock, getLockableCache, getLockLogin, getLockName, hasClutch, hasLock, hasNoLock, hasOthLock, hasOwnLock, isLockable, lock, unlock
-
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.icw2meta.ADOptionAble
getOwnedOption, modifyOptionDlg
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADReferenceAble
getReferenceContainer, setReferenceContainer
-
Methods inherited from interface de.mid.innovator.srv2api.icw2meta.ADVersionAble
getVersionFile, getVersionList, getVersionListWithoutOpenInfo
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELAssociation
getAggregationEnd, getAssociationEnd, getAssociationEnd, getAssociationEndsOfEndType, getAssociationEndsOfEndType, getClassifierOfAssociationEnd, getClassifierOfAssociationEnd, getOwnedAssociationEnd, getOwnedAssociationEnd, getProperty, getPropertyNotAssociationEnd, getPropertyNotAssociationEnd, getSortedAssociationEnds, reconnectAssociation
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELClassifier
getAssociation, getAssociation, getAssociationEndFirstTypedBySelf, getAssociationEndFirstTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelf, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndNavigableTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelf, getAssociationEndTypedBySelf, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationEndTypedBySelfOrGeneralTransitive, getAssociationNavigableFrom, getAssociationNavigableFrom, getAssociationOfSelfOrGeneralTransitive, getAssociationOfSelfOrGeneralTransitive, getAssociationTypedBySelf, getAssociationTypedBySelf, getClassifierViewGroup, getEffectiveRedefinerOfAssocEnd, getEffectiveRedefinerOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getEffectiveSubsetterOfAssocEnd, getGeneralDirect, getGeneralDirect, getGeneralGeneralizationSet, getGeneralGeneralizationSet, getGeneralization, getGeneralTransitive, getGeneralTransitive, getItemDefinition, getOwnedAndInheritedMember, getOwnedAndInheritedMember, getPropertyNavigableFrom, getPropertyNavigableFrom, getPropertyNavigableFromSelfOrGeneralTransitive, getPropertyNavigableFromSelfOrGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndGeneralTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitive, getSelfAndSpecificTransitiveNotAbstract, getSelfAndSpecificTransitiveNotAbstract, getSpecialization, getSpecificDirect, getSpecificDirect, getSpecificGeneralization, getSpecificGeneralizationSet, getSpecificGeneralizationSet, getSpecificTransitive, getSpecificTransitive, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstract, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractRange, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getSpecificTransitiveNotAbstractTypesOfEffectiveSubsetterOfAssocEndIntersectedByInverseAssocEnd, getTypedCLStructureEntry, getTypedMaskField, getTypesOfEffectiveSubsetterOfAssocEnd, getTypesOfEffectiveSubsetterOfAssocEnd, getViewTransitive, getViewTransitive, isAbstract, isRoot, isSpecificTransitive, setAbstract
-
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.ELPackageAble
getElementImportingNamespace, getElementImportingNamespace, getImportedPackageAble, getOwningPackage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELRedefAble
getRedefined, getRedefining, isLeaf, isRedefined, isRedefining, setLeaf, setRedefined
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELShortNameAble
getShortName, setShortName
-
Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELType
getRaisingAsException, getTypedElement, getTypedElementNotAssocEnd, getTypedElementNotAssocEnd
-
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.icw2im.IMClassifier
getAllAssignedConstraint, getAllAssignedConstraint, getDirectlyCheckConstraintAssign, getForeignKeyReferencingOwnedUniqueKey, getForeignKeyReferencingOwnedUniqueKey, getOwnedFeature, getOwnedGeneralizationSet, getOwnedIMConstraint, getOwnedIMTrigger, getOwnedKey, getOwnedProperty, getPrimaryKey, getUniqueKeyReferencedByDefault
-
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.MENamedElement
getMappingSourceElement, getMappingSourceElement, getMESupplierDependency, getMESupplierMappingDependency
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MENamespaceAsgnAble
getMENamespace, getSignatureMessage
-
Methods inherited from interface de.mid.innovator.srv2api.icw2model.MEPackageAble
getComponent, getManifest
-
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
-
hasWeakEntity
boolean hasWeakEntity() throws InoNetException, SrvErrorException
If true, the referencing entity of the relationship is a weak entity. A hierarchical relationship models a weak entity.- Throws:
InoNetException
SrvErrorException
-
setWeakEntity
void setWeakEntity(boolean value) throws InoNetException, SrvErrorException
Set the value of Attribut HasWeakEntity.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
isSERMConform
boolean isSERMConform() throws InoNetException, SrvErrorException
If true, this relationship conforms to SERM. A relationship which conforms to SERM has got exactly oneERRole
with cardinality (1,1), so that it leads to a not null foreign key.- Throws:
InoNetException
SrvErrorException
-
isOptional
boolean isOptional() throws InoNetException, SrvErrorException
True, if thisERRelationship
is optional.
This is true if theERRole
on the foreign key side has a cardinality with minimum of zero, e.g. (0,1).- Throws:
InoNetException
SrvErrorException
-
isMaxOne
boolean isMaxOne() throws InoNetException, SrvErrorException
True, if theERRole
on the unique key side has a cardinality with maximum one, e.g. (0,1).- Throws:
InoNetException
SrvErrorException
-
isMinOne
boolean isMinOne() throws InoNetException, SrvErrorException
True, if theERRole
on the unique key side has a cardinality with minimum one or greater, e.g. (1,*).- Throws:
InoNetException
SrvErrorException
-
getHowMany
K_RS_HOWMANY getHowMany() throws InoNetException, SrvErrorException
This enumeration value indicates how many instances of the child entity can reference the same instance of the parent entity.
Setting this value to explicit will set the cardinality to (2,5)! For other values use the setter methods 'Min' and 'Max' of the parent entityERRole
.- Throws:
InoNetException
SrvErrorException
-
setHowMany
void setHowMany(K_RS_HOWMANY value) throws InoNetException, SrvErrorException
Set the value of Info HowMany.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getMustOrCan
K_RS_MUST_CAN getMustOrCan() throws InoNetException, SrvErrorException
This enumeration value indicates if an instance of the child entity must or can have a relationship to an instance of the parent entity.- Throws:
InoNetException
SrvErrorException
-
setMustOrCan
void setMustOrCan(K_RS_MUST_CAN value) throws InoNetException, SrvErrorException
Set the value of Info MustOrCan.- Parameters:
value
- The value to be set.- Throws:
InoNetException
SrvErrorException
-
getEntitySERMLeft
EREntity getEntitySERMLeft() throws InoNetException, SrvErrorException
Returns theEREntity
at the left side of anERRelationship
which conforms to SERM.- Throws:
InoNetException
SrvErrorException
-
getEntitySERMRight
EREntity getEntitySERMRight() throws InoNetException, SrvErrorException
Returns theEREntity
at the right side of anERRelationship
which conforms to SERM.- Throws:
InoNetException
SrvErrorException
-
getRoleSERMLeft
ERRole getRoleSERMLeft() throws InoNetException, SrvErrorException
Returns theERRole
at the left side of anERRelationship
which conforms to SERM.- Throws:
InoNetException
SrvErrorException
-
getRoleSERMRight
ERRole getRoleSERMRight() throws InoNetException, SrvErrorException
Returns theERRole
at the right side of anERRelationship
which conforms to SERM.- Throws:
InoNetException
SrvErrorException
-
getEntityUniqueKey
EREntity getEntityUniqueKey() throws InoNetException, SrvErrorException
Returns theEREntity
at the unique key side of thisERRelationship
.- Throws:
InoNetException
SrvErrorException
-
getEntityForeignKey
EREntity getEntityForeignKey() throws InoNetException, SrvErrorException
Returns theEREntity
at the foreign key side of thisERRelationship
.- Throws:
InoNetException
SrvErrorException
-
getRoleUniqueKey
ERRole getRoleUniqueKey() throws InoNetException, SrvErrorException
Returns theERRole
at the unique key side of thisERRelationship
.- Throws:
InoNetException
SrvErrorException
-
getRoleForeignKey
ERRole getRoleForeignKey() throws InoNetException, SrvErrorException
Returns theERRole
at the foreign key side of thisERRelationship
.- Throws:
InoNetException
SrvErrorException
-
getUniqueKey
ERUniqueKey getUniqueKey() throws InoNetException, SrvErrorException
Gets theERUniqueKey
referenced by thisERRelationship
.- Throws:
InoNetException
SrvErrorException
-
getForeignKey
ERForeignKey getForeignKey() throws InoNetException, SrvErrorException
Gets theERForeignKey
implementing thisERRelationship
.- Throws:
InoNetException
SrvErrorException
-
getUniqueKeyAttributes
java.util.List<ERAttribute> getUniqueKeyAttributes(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
Gets the attributes referenced by thisERRelationship
.- 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 thisERRelationship
.- 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
- Throws:
InoNetException
SrvErrorException
-
maintainIsRType
void maintainIsRType() throws InoNetException, SrvErrorException
Runs the R type maintaining method for the connected entities of thisERRelationship
.- Throws:
InoNetException
SrvErrorException
-
maintainRoles
java.util.List<MEStereotypeAble> maintainRoles() throws InoNetException, SrvErrorException
Runs the maintaining methods for all roles of thisERRelationship
.- Throws:
InoNetException
SrvErrorException
-
transformToGeneralization
ERGeneralization transformToGeneralization() throws InoNetException, SrvErrorException
Not yet implemented!
ThisERRelationship
will be transformed to a hierarchicalERGeneralization
.
The relationship must be hierarchical with cardinalities (0,1) and (1,1).- Throws:
InoNetException
SrvErrorException
-
transformToRType
EREntity transformToRType() throws InoNetException, SrvErrorException
Precondition: thisERRelationship
must not be implemented by anERForeignKey
!
ThisERRelationship
will be transformed to an R typeEREntity
.
Note: given specifications, labels, stereotype properties and dependencies will be lost!- Throws:
InoNetException
SrvErrorException
-
getEntity
java.util.List<EREntity> getEntity(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
List of all entities of thisERRelationship
.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
getOwnedRole
java.util.List<ERRole> getOwnedRole(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
List of roles owned by this relationship. Do not confuse this view with the view to the list of all roles.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
- Sorted:
- the result may be sorted.
-
getRole
java.util.List<ERRole> getRole(K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException
All roles that are assigned to this relationship.- Parameters:
behaviourFlags
- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetException
SrvErrorException
-
-