Package | Description |
---|---|
org.eclipse.uml2.uml | |
org.eclipse.uml2.uml.resource | |
org.eclipse.uml2.uml.util |
Modifier and Type | Method and Description |
---|---|
Profile |
Package.containingProfile()
The query containingProfile() returns the closest profile directly or indirectly containing this package (or this package itself, if it is a profile).
|
Profile |
Stereotype.containingProfile()
The query containingProfile returns the closest profile directly or indirectly containing this stereotype.
|
Profile |
UMLFactory.createProfile()
Returns a new object of class 'Profile'
|
Profile |
ProfileApplication.getAppliedProfile()
Returns the value of the 'Applied Profile' reference.
|
Profile |
Package.getAppliedProfile(java.lang.String qualifiedName)
Retrieves the profile with the specified qualified name that is applied to this package, or null if no such profile is applied.
|
Profile |
Package.getAppliedProfile(java.lang.String qualifiedName,
boolean recurse)
Retrieves the profile with the specified qualified name that is applied to this package or any of its nesting packages (if indicated), or null if no such profile is applied.
|
Profile |
Stereotype.getProfile()
Returns the value of the 'Profile' reference
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<Profile> |
Package.getAllAppliedProfiles()
Retrieves all the profiles that are applied to this package, including profiles applied to its nesting package(s)
|
org.eclipse.emf.common.util.EList<Profile> |
Package.getAppliedProfiles()
Retrieves the profiles that are applied to this package
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
Package.applyProfile(Profile profile)
Applies the current definition of the specified profile to this package and automatically applies required stereotypes in the profile to elements within this package's namespace hieararchy.
|
ProfileApplication |
Package.getProfileApplication(Profile profile)
Retrieves the application of the specified profile to this package, or null if no such profile is applied.
|
ProfileApplication |
Package.getProfileApplication(Profile profile,
boolean recurse)
Retrieves the application of the specified profile to this package or any of its nesting packages (if indicated), or null if no such profile is applied.
|
boolean |
Package.isProfileApplied(Profile profile)
Determines whether the specified profile is applied to this package.
|
void |
ProfileApplication.setAppliedProfile(Profile value)
Sets the value of the '
Applied Profile ' reference |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
Package.unapplyProfile(Profile profile)
Unapplies the specified profile from this package and automatically unapplies stereotypes in the profile from elements within this package's namespace hieararchy.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
Package.applyProfiles(org.eclipse.emf.common.util.EList<Profile> profiles)
Applies the current definitions of the specified profiles to this package and automatically applies required stereotypes in the profiles to elements within this package's namespace hieararchy.
|
Modifier and Type | Method and Description |
---|---|
protected Profile |
CMOF2UMLResourceHandler.getEcoreProfile(org.eclipse.emf.ecore.EObject eObject) |
protected Profile |
UML212UMLResourceHandler.getProfile(Element element,
java.lang.String uri) |
protected Profile |
UML22UMLResourceHandler.getProfile(Element element,
java.lang.String uri) |
protected Profile |
UML302UMLResourceHandler.getProfile(Element element,
java.lang.String uri) |
protected Profile |
UML212UMLResourceHandler.getUML2Profile(Element element) |
protected Profile |
UML22UMLResourceHandler.getUML2Profile(Element element) |
protected Profile |
UML302UMLResourceHandler.getUML2Profile(Element element) |
Modifier and Type | Method and Description |
---|---|
protected Profile |
UMLUtil.Ecore2UMLConverter.getEcoreProfile(org.eclipse.emf.ecore.EModelElement eModelElement) |
protected Profile |
UMLUtil.Ecore2UMLConverter.getEcoreProfile(org.eclipse.emf.ecore.EObject eObject) |
static Profile |
UMLUtil.getProfile(org.eclipse.emf.ecore.EPackage definition)
Retrieves the profile for which the specified package represents a
definition.
|
static Profile |
UMLUtil.getProfile(org.eclipse.emf.ecore.EPackage definition,
org.eclipse.emf.ecore.EObject context) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
UMLUtil.Profile2EPackageConverter.caseProfile(Profile profile) |
T |
UMLSwitch.caseProfile(Profile object)
Returns the result of interpreting the object as an instance of 'Profile'
|
static java.util.Collection<org.eclipse.emf.ecore.EPackage> |
UMLUtil.convertToEcore(Profile profile,
java.util.Map<java.lang.String,java.lang.String> options)
Converts the specified profile (and its contents) to Ecore using the
specified options.
|
static java.util.Collection<org.eclipse.emf.ecore.EPackage> |
UMLUtil.convertToEcore(Profile profile,
java.util.Map<java.lang.String,java.lang.String> options,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Converts the specified profile (and its contents) to Ecore using the
specified options, reporting problems to the specified diagnostics,
within the specified context.
|
boolean |
UMLValidator.validateProfile_validateMetaclassReferenceNotSpecialized(Profile profile,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateMetaclassReferenceNotSpecialized constraint of 'Profile'
|
boolean |
UMLValidator.validateProfile_validateReferencesSameMetamodel(Profile profile,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateReferencesSameMetamodel constraint of 'Profile'
|
boolean |
UMLValidator.validateProfile(Profile profile,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |