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
AERRelationshipconnects two entities viaERRoleroles. 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 classERRelationship.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.EREntitygetEntityForeignKey()Returns theEREntityat the foreign key side of thisERRelationship.EREntitygetEntitySERMLeft()Returns theEREntityat the left side of anERRelationshipwhich conforms to SERM.EREntitygetEntitySERMRight()Returns theEREntityat the right side of anERRelationshipwhich conforms to SERM.EREntitygetEntityUniqueKey()Returns theEREntityat the unique key side of thisERRelationship.ERForeignKeygetForeignKey()Gets theERForeignKeyimplementing 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_HOWMANYgetHowMany()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_CANgetMustOrCan()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.ERRolegetRoleForeignKey()Returns theERRoleat the foreign key side of thisERRelationship.ERRolegetRoleSERMLeft()Returns theERRoleat the left side of anERRelationshipwhich conforms to SERM.ERRolegetRoleSERMRight()Returns theERRoleat the right side of anERRelationshipwhich conforms to SERM.ERRolegetRoleUniqueKey()Returns theERRoleat the unique key side of thisERRelationship.ERUniqueKeygetUniqueKey()Gets theERUniqueKeyreferenced 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.booleanhasWeakEntity()If true, the referencing entity of the relationship is a weak entity.booleanisMaxOne()True, if theERRoleon the unique key side has a cardinality with maximum one, e.g. (0,1).booleanisMinOne()True, if theERRoleon the unique key side has a cardinality with minimum one or greater, e.g. (1,*).booleanisOptional()True, if thisERRelationshipis optional.
This is true if theERRoleon the foreign key side has a cardinality with minimum of zero, e.g. (0,1).booleanisSERMConform()If true, this relationship conforms to SERM.java.util.List<MEStereotypeAble>maintain()voidmaintainIsRType()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.voidsetHowMany(K_RS_HOWMANY value)Set the value of Info HowMany.voidsetMustOrCan(K_RS_MUST_CAN value)Set the value of Info MustOrCan.voidsetWeakEntity(boolean value)Set the value of Attribut HasWeakEntity.ERGeneralizationtransformToGeneralization()Not yet implemented!EREntitytransformToRType()Precondition: thisERRelationshipmust 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, SrvErrorExceptionIf true, the referencing entity of the relationship is a weak entity. A hierarchical relationship models a weak entity.- Throws:
InoNetExceptionSrvErrorException
-
setWeakEntity
void setWeakEntity(boolean value) throws InoNetException, SrvErrorExceptionSet the value of Attribut HasWeakEntity.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
isSERMConform
boolean isSERMConform() throws InoNetException, SrvErrorExceptionIf true, this relationship conforms to SERM. A relationship which conforms to SERM has got exactly oneERRolewith cardinality (1,1), so that it leads to a not null foreign key.- Throws:
InoNetExceptionSrvErrorException
-
isOptional
boolean isOptional() throws InoNetException, SrvErrorExceptionTrue, if thisERRelationshipis optional.
This is true if theERRoleon the foreign key side has a cardinality with minimum of zero, e.g. (0,1).- Throws:
InoNetExceptionSrvErrorException
-
isMaxOne
boolean isMaxOne() throws InoNetException, SrvErrorExceptionTrue, if theERRoleon the unique key side has a cardinality with maximum one, e.g. (0,1).- Throws:
InoNetExceptionSrvErrorException
-
isMinOne
boolean isMinOne() throws InoNetException, SrvErrorExceptionTrue, if theERRoleon the unique key side has a cardinality with minimum one or greater, e.g. (1,*).- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
setHowMany
void setHowMany(K_RS_HOWMANY value) throws InoNetException, SrvErrorException
Set the value of Info HowMany.- Parameters:
value- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
getEntitySERMLeft
EREntity getEntitySERMLeft() throws InoNetException, SrvErrorException
Returns theEREntityat the left side of anERRelationshipwhich conforms to SERM.- Throws:
InoNetExceptionSrvErrorException
-
getEntitySERMRight
EREntity getEntitySERMRight() throws InoNetException, SrvErrorException
Returns theEREntityat the right side of anERRelationshipwhich conforms to SERM.- Throws:
InoNetExceptionSrvErrorException
-
getRoleSERMLeft
ERRole getRoleSERMLeft() throws InoNetException, SrvErrorException
Returns theERRoleat the left side of anERRelationshipwhich conforms to SERM.- Throws:
InoNetExceptionSrvErrorException
-
getRoleSERMRight
ERRole getRoleSERMRight() throws InoNetException, SrvErrorException
Returns theERRoleat the right side of anERRelationshipwhich conforms to SERM.- Throws:
InoNetExceptionSrvErrorException
-
getEntityUniqueKey
EREntity getEntityUniqueKey() throws InoNetException, SrvErrorException
Returns theEREntityat the unique key side of thisERRelationship.- Throws:
InoNetExceptionSrvErrorException
-
getEntityForeignKey
EREntity getEntityForeignKey() throws InoNetException, SrvErrorException
Returns theEREntityat the foreign key side of thisERRelationship.- Throws:
InoNetExceptionSrvErrorException
-
getRoleUniqueKey
ERRole getRoleUniqueKey() throws InoNetException, SrvErrorException
Returns theERRoleat the unique key side of thisERRelationship.- Throws:
InoNetExceptionSrvErrorException
-
getRoleForeignKey
ERRole getRoleForeignKey() throws InoNetException, SrvErrorException
Returns theERRoleat the foreign key side of thisERRelationship.- Throws:
InoNetExceptionSrvErrorException
-
getUniqueKey
ERUniqueKey getUniqueKey() throws InoNetException, SrvErrorException
Gets theERUniqueKeyreferenced by thisERRelationship.- Throws:
InoNetExceptionSrvErrorException
-
getForeignKey
ERForeignKey getForeignKey() throws InoNetException, SrvErrorException
Gets theERForeignKeyimplementing thisERRelationship.- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
maintain
java.util.List<MEStereotypeAble> maintain() throws InoNetException, SrvErrorException
- Throws:
InoNetExceptionSrvErrorException
-
maintainIsRType
void maintainIsRType() throws InoNetException, SrvErrorExceptionRuns the R type maintaining method for the connected entities of thisERRelationship.- Throws:
InoNetExceptionSrvErrorException
-
maintainRoles
java.util.List<MEStereotypeAble> maintainRoles() throws InoNetException, SrvErrorException
Runs the maintaining methods for all roles of thisERRelationship.- Throws:
InoNetExceptionSrvErrorException
-
transformToGeneralization
ERGeneralization transformToGeneralization() throws InoNetException, SrvErrorException
Not yet implemented!
ThisERRelationshipwill be transformed to a hierarchicalERGeneralization.
The relationship must be hierarchical with cardinalities (0,1) and (1,1).- Throws:
InoNetExceptionSrvErrorException
-
transformToRType
EREntity transformToRType() throws InoNetException, SrvErrorException
Precondition: thisERRelationshipmust not be implemented by anERForeignKey!
ThisERRelationshipwill be transformed to an R typeEREntity.
Note: given specifications, labels, stereotype properties and dependencies will be lost!- Throws:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException
-
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:
InoNetExceptionSrvErrorException- 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:
InoNetExceptionSrvErrorException
-
-