public final class WorkContour extends Object implements ProjectEntityWithUniqueID
Modifier and Type | Field and Description |
---|---|
static WorkContour |
BACK_LOADED |
static WorkContour |
BELL |
static WorkContour |
CONTOURED |
static WorkContour |
DOUBLE_PEAK |
static WorkContour |
EARLY_PEAK |
static WorkContour |
FLAT |
static WorkContour |
FRONT_LOADED |
static WorkContour |
LATE_PEAK |
static WorkContour |
TURTLE |
Constructor and Description |
---|
WorkContour(Integer uniqueID,
String name,
boolean isDefault,
double... curveValues)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getCurveValues()
Retrieve the values which define the curve.
|
String |
getName()
Retrieve the name of this work contour.
|
Integer |
getUniqueID()
Retrieve the Unique ID value of the entity.
|
boolean |
isContourDefault()
Determine if this is a "built in" work contour from the source application.
|
boolean |
isContourFlat()
Returns true if this contour is flat.
|
boolean |
isContourManual()
Returns true if the timephased data has been manually edited.
|
String |
toString() |
public static final WorkContour FLAT
public static final WorkContour BACK_LOADED
public static final WorkContour FRONT_LOADED
public static final WorkContour DOUBLE_PEAK
public static final WorkContour EARLY_PEAK
public static final WorkContour LATE_PEAK
public static final WorkContour BELL
public static final WorkContour TURTLE
public static final WorkContour CONTOURED
public WorkContour(Integer uniqueID, String name, boolean isDefault, double... curveValues)
uniqueID
- unique IDname
- work contour nameisDefault
- true if this is a "built in" contour provided by the source applicationcurveValues
- curve values, 21 values representing 5% duration intervals, including 0%, total of values must be 100%public Integer getUniqueID()
ProjectEntityWithUniqueID
getUniqueID
in interface ProjectEntityWithUniqueID
public double[] getCurveValues()
public String getName()
public boolean isContourManual()
public boolean isContourFlat()
public boolean isContourDefault()
Copyright © 2000–2024 Packwood Software. All rights reserved.