public Stereotype findStereotype(String name) { Stereotype result = null; if (this.umlgProfile != null) { result = this.umlgProfile.getOwnedStereotype(name); if (result == null) { if (this.umlgValidationProfile != null) { result = this.umlgValidationProfile.getOwnedStereotype(name); } } } else { if (this.umlgValidationProfile != null) { result = this.umlgValidationProfile.getOwnedStereotype(name); } } return result; }
protected Stereotype getUML2Stereotype(Element element, String name) { Profile ecoreProfile = getUML2Profile(element); return ecoreProfile != null ? ecoreProfile.getOwnedStereotype(name) : null; }
protected Stereotype getUML2Stereotype(Element element, String name) { Profile uml2Profile = getUML2Profile(element); return uml2Profile != null ? uml2Profile.getOwnedStereotype(name) : null; }
protected Stereotype getEcoreStereotype(EObject eObject, String name) { Profile ecoreProfile = getEcoreProfile(eObject); return ecoreProfile != null ? ecoreProfile.getOwnedStereotype(name) : null; }
protected Stereotype getEcoreStereotype(EObject eObject, String name) { Profile ecoreProfile = getEcoreProfile(eObject); return ecoreProfile != null ? ecoreProfile.getOwnedStereotype(name) : null; }