Package org.eclipse.epf.uma
Interface WorkOrder
- All Superinterfaces:
Classifier
,DescribableElement
,Element
,org.eclipse.emf.ecore.EObject
,MethodElement
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ProcessElement
,Type
- All Known Implementing Classes:
WorkOrderImpl
public interface WorkOrder extends ProcessElement
A representation of the model object 'Work Order'.
Work Order is a Method Element that represents a relationship between two Breakdown Elements in which one Breakdown Elements depends on the start or finish of another Breakdown Elements in order to begin or end.
(Note, Work Order is not modeled as an Association Class to provide a straightforward mapping to XMI and EMF.)
The Work Order class defines predecessor and successor relations amongst Breakdown Elements. This information is in particular critical for planning applications. See more details on different types of Work Order relationships at Work Order Type.
The following features are supported:
- See Also:
UmaPackage.getWorkOrder()
-
Method Summary
Modifier and Type Method Description WorkOrderType
getLinkType()
Returns the value of the 'Link Type' attribute.WorkBreakdownElement
getPred()
Returns the value of the 'Pred' reference.void
setLinkType(WorkOrderType value)
Sets the value of the 'Link Type
' attribute.void
setPred(WorkBreakdownElement value)
Sets the value of the 'Pred
' reference.Methods inherited from interface org.eclipse.epf.uma.Classifier
getIsAbstract, setIsAbstract
Methods inherited from interface org.eclipse.epf.uma.DescribableElement
getNodeicon, getPresentation, getShapeicon, setNodeicon, setPresentation, setShapeicon
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
-
getLinkType
WorkOrderType getLinkType()Returns the value of the 'Link Type' attribute. The default value is"finishToStart"
. The literals are from the enumerationWorkOrderType
. This attribute expresses the type of the Work Order relationship by assigning a value from the Work Order Type enumeration.- Returns:
- the value of the 'Link Type' attribute.
- See Also:
WorkOrderType
,setLinkType(WorkOrderType)
,UmaPackage.getWorkOrder_LinkType()
-
setLinkType
Sets the value of the 'Link Type
' attribute.- Parameters:
value
- the new value of the 'Link Type' attribute.- See Also:
WorkOrderType
,getLinkType()
-
getPred
WorkBreakdownElement getPred()Returns the value of the 'Pred' reference.- Returns:
- the value of the 'Pred' reference.
- See Also:
setPred(WorkBreakdownElement)
,UmaPackage.getWorkOrder_Pred()
-
setPred
Sets the value of the 'Pred
' reference.- Parameters:
value
- the new value of the 'Pred' reference.- See Also:
getPred()
-