Enum WorkOrderType

java.lang.Object
java.lang.Enum<WorkOrderType>
org.eclipse.epf.uma.WorkOrderType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WorkOrderType>, java.lang.constant.Constable, org.eclipse.emf.common.util.Enumerator

public enum WorkOrderType
extends java.lang.Enum<WorkOrderType>
implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Work Order Type', and utility methods for working with them. Work Order represents a relationship between two Breakdown Element in which one Breakdown Element (referred to as (B) below) depends on the start or finish of another Breakdown Element (referred to as (A) below) in order to begin or end. This enumeration defines the different types of Work Order relationships available in UMA and is used to provide values for Work Order's linkType attribute.
See Also:
UmaPackage.getWorkOrderType()
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant Description
    FINISH_TO_FINISH
    The 'Finish To Finish' literal object.
    FINISH_TO_START
    The 'Finish To Start' literal object.
    START_TO_FINISH
    The 'Start To Finish' literal object.
    START_TO_START
    The 'Start To Start' literal object.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int FINISH_TO_FINISH_VALUE
    The 'Finish To Finish' literal value.
    static int FINISH_TO_START_VALUE
    The 'Finish To Start' literal value.
    static int START_TO_FINISH_VALUE
    The 'Start To Finish' literal value.
    static int START_TO_START_VALUE
    The 'Start To Start' literal value.
    static java.util.List<WorkOrderType> VALUES
    A public read-only list of all the 'Work Order Type' enumerators.
  • Method Summary

    Modifier and Type Method Description
    static WorkOrderType get​(int value)
    Returns the 'Work Order Type' literal with the specified integer value.
    static WorkOrderType get​(java.lang.String literal)
    Returns the 'Work Order Type' literal with the specified literal value.
    static WorkOrderType getByName​(java.lang.String name)
    Returns the 'Work Order Type' literal with the specified name.
    java.lang.String getLiteral()
    java.lang.String getName()
    int getValue()
    java.lang.String toString()
    Returns the literal value of the enumerator, which is its string representation.
    static WorkOrderType valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static WorkOrderType[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • FINISH_TO_START

      public static final WorkOrderType FINISH_TO_START
      The 'Finish To Start' literal object. Breakdown Element (B) cannot start until Breakdown Element (A) finishes. For example, if you have two Breakdown Elements, "Construct fence" and "Paint fence," "Paint fence" can't start until "Construct fence" finishes. This is the most common type of dependency and the default for a new Work Order instance.
      See Also:
      FINISH_TO_START_VALUE
    • FINISH_TO_FINISH

      public static final WorkOrderType FINISH_TO_FINISH
      The 'Finish To Finish' literal object. Breakdown Element (B) cannot finish until Breakdown Element (A) finishes. For example, if you have two Breakdown Elements, "Add wiring" and "Inspect electrical," "Inspect electrical" can't finish until "Add wiring" finishes.
      See Also:
      FINISH_TO_FINISH_VALUE
    • START_TO_START

      public static final WorkOrderType START_TO_START
      The 'Start To Start' literal object. Breakdown Element (B) cannot start until Breakdown Element (A) starts. For example, if you have two Breakdown Elements, "Pour foundation" and "Level concrete," "Level concrete" can't begin until "Pour foundation" begins.
      See Also:
      START_TO_START_VALUE
    • START_TO_FINISH

      public static final WorkOrderType START_TO_FINISH
      The 'Start To Finish' literal object. Breakdown Element (B) cannot finish until Breakdown Element (A) starts. This dependency type can be used for just-in-time scheduling up to a milestone or the project finish date to minimize the risk of a Breakdown Element finishing late if its dependent Breakdown Elements slip. If a related Breakdown Element needs to finish before the milestone or project finish date, but it doesn't matter exactly when and you don't want a late finish to affect the just-in-time Breakdown Element, you can create an SF dependency between the Breakdown Element you want scheduled just in time (the predecessor) and its related Breakdown Element (the successor). Then if you update progress on the successor Breakdown Element, it won't affect the scheduled dates of the predecessor Breakdown Element.
      See Also:
      START_TO_FINISH_VALUE
  • Field Details

    • FINISH_TO_START_VALUE

      public static final int FINISH_TO_START_VALUE
      The 'Finish To Start' literal value. Breakdown Element (B) cannot start until Breakdown Element (A) finishes. For example, if you have two Breakdown Elements, "Construct fence" and "Paint fence," "Paint fence" can't start until "Construct fence" finishes. This is the most common type of dependency and the default for a new Work Order instance.
      See Also:
      FINISH_TO_START, Constant Field Values
    • FINISH_TO_FINISH_VALUE

      public static final int FINISH_TO_FINISH_VALUE
      The 'Finish To Finish' literal value. Breakdown Element (B) cannot finish until Breakdown Element (A) finishes. For example, if you have two Breakdown Elements, "Add wiring" and "Inspect electrical," "Inspect electrical" can't finish until "Add wiring" finishes.
      See Also:
      FINISH_TO_FINISH, Constant Field Values
    • START_TO_START_VALUE

      public static final int START_TO_START_VALUE
      The 'Start To Start' literal value. Breakdown Element (B) cannot start until Breakdown Element (A) starts. For example, if you have two Breakdown Elements, "Pour foundation" and "Level concrete," "Level concrete" can't begin until "Pour foundation" begins.
      See Also:
      START_TO_START, Constant Field Values
    • START_TO_FINISH_VALUE

      public static final int START_TO_FINISH_VALUE
      The 'Start To Finish' literal value. Breakdown Element (B) cannot finish until Breakdown Element (A) starts. This dependency type can be used for just-in-time scheduling up to a milestone or the project finish date to minimize the risk of a Breakdown Element finishing late if its dependent Breakdown Elements slip. If a related Breakdown Element needs to finish before the milestone or project finish date, but it doesn't matter exactly when and you don't want a late finish to affect the just-in-time Breakdown Element, you can create an SF dependency between the Breakdown Element you want scheduled just in time (the predecessor) and its related Breakdown Element (the successor). Then if you update progress on the successor Breakdown Element, it won't affect the scheduled dates of the predecessor Breakdown Element.
      See Also:
      START_TO_FINISH, Constant Field Values
    • VALUES

      public static final java.util.List<WorkOrderType> VALUES
      A public read-only list of all the 'Work Order Type' enumerators.
  • Method Details

    • values

      public static WorkOrderType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static WorkOrderType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • get

      public static WorkOrderType get​(java.lang.String literal)
      Returns the 'Work Order Type' literal with the specified literal value.
      Parameters:
      literal - the literal.
      Returns:
      the matching enumerator or null.
    • getByName

      public static WorkOrderType getByName​(java.lang.String name)
      Returns the 'Work Order Type' literal with the specified name.
      Parameters:
      name - the name.
      Returns:
      the matching enumerator or null.
    • get

      public static WorkOrderType get​(int value)
      Returns the 'Work Order Type' literal with the specified integer value.
      Parameters:
      value - the integer value.
      Returns:
      the matching enumerator or null.
    • getValue

      public int getValue()
      Specified by:
      getValue in interface org.eclipse.emf.common.util.Enumerator
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface org.eclipse.emf.common.util.Enumerator
    • getLiteral

      public java.lang.String getLiteral()
      Specified by:
      getLiteral in interface org.eclipse.emf.common.util.Enumerator
    • toString

      public java.lang.String toString()
      Returns the literal value of the enumerator, which is its string representation.
      Overrides:
      toString in class java.lang.Enum<WorkOrderType>