/** * @see org.eclipse.uml2.uml.Property#getOwningAssociation() */ public Association getOwningAssociation() { return this.property.getOwningAssociation(); }
/** * @see org.eclipse.uml2.uml.Property#getOwningAssociation() */ public Association getOwningAssociation() { return this.property.getOwningAssociation(); }
/** * @see org.eclipse.uml2.uml.Property#getOwningAssociation() */ public Association getOwningAssociation() { return this.property.getOwningAssociation(); }
/** * @see org.eclipse.uml2.uml.Property#getOwningAssociation() */ public Association getOwningAssociation() { return this.property.getOwningAssociation(); }
@Override public Association getOwningAssociation() { return this.property.getOwningAssociation(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> * The query isNavigable() indicates whether it is possible to navigate across the property. * result = not classifier->isEmpty() or association.owningAssociation.navigableOwnedEnd->includes(self) * @param property The receiving '<em><b>Property</b></em>' model object. * <!-- end-model-doc --> * @generated NOT */ public static boolean isNavigable(Property property) { Association owningAssociation = property.getOwningAssociation(); return owningAssociation == null ? property.eGet(UMLPackage.Literals.ELEMENT__OWNER, false) instanceof Classifier : owningAssociation.getNavigableOwnedEnds().contains(property); }
if (property.getOwningAssociation() != null) { throw new IllegalStateException(); if (newOpposite != null && newOpposite.getOwningAssociation() != null) { throw new IllegalArgumentException(String.valueOf(newOpposite));
.getRedefinedProperties()) { if (redefinedProperty.getOwningAssociation() == null) { EStructuralFeature eStructuralFeature = (EStructuralFeature) elementToEModelElementMap .get(redefinedProperty);
/** * A foreign method for the {@link Property} that queries whether it is a * non-navigable association end of a given classifier. This means that the * end is association-owned and opposite to a classifier-owned end whose * type is a supertype of the specified classifier. * * @param associationEnd * the purported non-navigable association end * @param endClassifier * a classifier from which we purport to navigate the association * @return <code>true</code> if the association-end is a non-navigable end * of the classifier; <code>false</code>, otherwise * * @since 2.0 */ public static boolean isNonNavigableAssocationEndOf( Property associationEnd, Classifier endClassifier) { boolean result = associationEnd.getOwningAssociation() != null; if (result) { Property otherEnd = associationEnd.getOtherEnd(); result = (otherEnd != null) && (otherEnd.getType() != null) && endClassifier.conformsTo(otherEnd.getType()); } return result; }
.getSubsettedProperties()) { if (subsettedProperty.getOwningAssociation() == null) { EStructuralFeature subsettedEStructuralFeature = (EStructuralFeature) elementToEModelElementMap .get(subsettedProperty);
Association association = property.getOwningAssociation(); if ((association != null) && !isInstance(association, instance)) {