Package com.sodius.mdw.metamodel.uml21
Interface ProfileApplication
-
- All Superinterfaces:
Comparable<Object>
,DirectedRelationship
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,org.eclipse.emf.common.notify.Notifier
,Relationship
public interface ProfileApplication extends DirectedRelationship
A representation of the model object 'Profile Application'. A profile application is used to show which profiles have been applied to a package.The following features are supported:
- See Also:
UMLPackage.getProfileApplication()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.ecore.EPackage
getAppliedDefinition()
Retrieves the definition (Ecore representation) of the profile associated with this profile application.org.eclipse.emf.ecore.ENamedElement
getAppliedDefinition(NamedElement namedElement)
Retrieves the definition (Ecore representation) of the specified named element in the profile associated with this profile application.Profile
getAppliedProfile()
Returns the value of the 'Applied Profile' reference.Package
getApplyingPackage()
Returns the value of the 'Applying Package' container reference.boolean
isStrict()
Returns the value of the 'Is Strict' attribute.void
setAppliedProfile(Profile value)
Sets the value of the 'Applied Profile
' reference.void
setApplyingPackage(Package value)
Sets the value of the 'Applying Package
' container reference.void
setIsStrict(boolean value)
Sets the value of the 'Is Strict
' attribute.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.DirectedRelationship
getSources, getTargets
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Relationship
getRelatedElements
-
-
-
-
Method Detail
-
getAppliedProfile
Profile getAppliedProfile()
Returns the value of the 'Applied Profile' reference. References the Profiles that are applied to a Package through this ProfileApplication.- Returns:
- the value of the 'Applied Profile' reference.
- See Also:
setAppliedProfile(Profile)
,UMLPackage.getProfileApplication_AppliedProfile()
-
setAppliedProfile
void setAppliedProfile(Profile value)
Sets the value of the 'Applied Profile
' reference.- Parameters:
value
- the new value of the 'Applied Profile' reference.- See Also:
getAppliedProfile()
-
isStrict
boolean isStrict()
Returns the value of the 'Is Strict' attribute. The default value is"false"
. Specifies that the Profile filtering rules for the metaclasses of the referenced metamodel shall be strictly applied.- Returns:
- the value of the 'Is Strict' attribute.
- See Also:
setIsStrict(boolean)
,UMLPackage.getProfileApplication_IsStrict()
-
setIsStrict
void setIsStrict(boolean value)
Sets the value of the 'Is Strict
' attribute.- Parameters:
value
- the new value of the 'Is Strict' attribute.- See Also:
isStrict()
-
getApplyingPackage
Package getApplyingPackage()
Returns the value of the 'Applying Package' container reference. It is bidirectional and its opposite is 'Profile Application
'. The package that owns the profile application.- Returns:
- the value of the 'Applying Package' container reference.
- See Also:
setApplyingPackage(com.sodius.mdw.metamodel.uml21.Package)
,UMLPackage.getProfileApplication_ApplyingPackage()
,Package.getProfileApplications()
-
setApplyingPackage
void setApplyingPackage(Package value)
Sets the value of the 'Applying Package
' container reference.- Parameters:
value
- the new value of the 'Applying Package' container reference.- See Also:
getApplyingPackage()
-
getAppliedDefinition
org.eclipse.emf.ecore.EPackage getAppliedDefinition()
Retrieves the definition (Ecore representation) of the profile associated with this profile application.
-
getAppliedDefinition
org.eclipse.emf.ecore.ENamedElement getAppliedDefinition(NamedElement namedElement)
Retrieves the definition (Ecore representation) of the specified named element in the profile associated with this profile application.
-
-