Package org.eclipse.epf.uma
Interface MethodPackage
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,MethodElement
,NamedElement
,Namespace
,org.eclipse.emf.common.notify.Notifier
,Package
,PackageableElement
- All Known Subinterfaces:
ContentPackage
,ProcessComponent
,ProcessPackage
- All Known Implementing Classes:
ContentPackageImpl
,MethodPackageImpl
,ProcessComponentImpl
,ProcessPackageImpl
public interface MethodPackage extends MethodElement, Package
A representation of the model object 'Method Package'.
A Method Package is an abstract class for packaging Method Elements. All Method Elements shall be located in exactly one of Method Package's concrete specializations (e.g. Content Package). Method Package defines common properties for all of its specializations. Elements are organized in Method Packages to structure large scale of method content and processes as well as to define a mechanism for reuse. Method Elements from one package can reuse element from other packages by defining a reusedPackages link. For example, a work product defined in one package can be used as an input for Tasks defined in other packages. By reusing it from one common place (i.e. the package in which it has been defined) ensures that no redundant definitions of the same elements are required. Also maintenance of method content is greatly improved as changes can be performed in only one place. Note, that other packages will introduce more specializations of Method Package, e.g. Process Package and Process Component.
The following features are supported:
- See Also:
UmaPackage.getMethodPackage()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<MethodPackage>
getChildPackages()
Returns the value of the 'Child Packages' containment reference list.java.lang.Boolean
getGlobal()
Returns the value of the 'Global' attribute.org.eclipse.emf.common.util.EList<MethodPackage>
getReusedPackages()
Returns the value of the 'Reused Packages' reference list.void
setGlobal(java.lang.Boolean value)
Sets the value of the 'Global
' attribute.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 org.eclipse.epf.uma.MethodElement
getBriefDescription, getGuid, getKind, getMethodElementProperty, getOrderingGuide, getOwnedRules, getPresentationName, getSuppressed, setBriefDescription, setGuid, setOrderingGuide, setPresentationName, setSuppressed
Methods inherited from interface org.eclipse.epf.uma.NamedElement
getName, setName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getGlobal
java.lang.Boolean getGlobal()Returns the value of the 'Global' attribute. The default value is"false"
. Method Packages can have a global scope. This means that every element of every other Method Package can see the global package's contents. Global Method Packages are primarily used to store commonly used category definitions such as for Disciplines or Domains, which are used by many Task and Work Products respectively.- Returns:
- the value of the 'Global' attribute.
- See Also:
setGlobal(Boolean)
,UmaPackage.getMethodPackage_Global()
-
setGlobal
void setGlobal(java.lang.Boolean value)Sets the value of the 'Global
' attribute.- Parameters:
value
- the new value of the 'Global' attribute.- See Also:
getGlobal()
-
getReusedPackages
org.eclipse.emf.common.util.EList<MethodPackage> getReusedPackages()Returns the value of the 'Reused Packages' reference list. The list contents are of typeMethodPackage
.- Returns:
- the value of the 'Reused Packages' reference list.
- See Also:
UmaPackage.getMethodPackage_ReusedPackages()
-
getChildPackages
org.eclipse.emf.common.util.EList<MethodPackage> getChildPackages()Returns the value of the 'Child Packages' containment reference list. The list contents are of typeMethodPackage
.- Returns:
- the value of the 'Child Packages' containment reference list.
- See Also:
UmaPackage.getMethodPackage_ChildPackages()
-