Package com.smartsheet.api.models
Class Predecessor
- java.lang.Object
-
- com.smartsheet.api.models.Predecessor
-
public class Predecessor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Predecessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetLag()Get the lag value of this predecessorjava.lang.LonggetRowId()Get the Id of the predecessor rowjava.lang.IntegergetRowNumber()Get the number of the predecessor rowjava.lang.StringgetType()Get the type of the predecessorjava.lang.BooleanisInCriticalPath()Get flag indicating if this predecessor is in the critical pathjava.lang.BooleanisInvalid()Get flag indicating if the row referenced by rowId is not a valid row in this sheet, or if there is a circular referencePredecessorsetInCriticalPath(java.lang.Boolean inCriticalPath)Set flag indicating if this predecessor is in the critical pathPredecessorsetInvalid(java.lang.Boolean invalid)Set flag indicating if the row referenced by rowId is not a valid row in this sheet, or if there is a circular referencePredecessorsetLag(Duration lag)Set the lag value of this predecessorPredecessorsetRowId(java.lang.Long rowId)Set the Id of the predecessor rowPredecessorsetRowNumber(java.lang.Integer rowNumber)Set the number of the predecessor rowPredecessorsetType(java.lang.String type)Set the type of the predecessor
-
-
-
Method Detail
-
getRowId
public java.lang.Long getRowId()
Get the Id of the predecessor row- Returns:
- rowId
-
setRowId
public Predecessor setRowId(java.lang.Long rowId)
Set the Id of the predecessor row
-
getRowNumber
public java.lang.Integer getRowNumber()
Get the number of the predecessor row- Returns:
- rowNumber
-
setRowNumber
public Predecessor setRowNumber(java.lang.Integer rowNumber)
Set the number of the predecessor row
-
getType
public java.lang.String getType()
Get the type of the predecessor- Returns:
- type (FS, FF, SS, or SF)
-
setType
public Predecessor setType(java.lang.String type)
Set the type of the predecessor
-
getLag
public Duration getLag()
Get the lag value of this predecessor- Returns:
- lag
-
setLag
public Predecessor setLag(Duration lag)
Set the lag value of this predecessor
-
isInvalid
public java.lang.Boolean isInvalid()
Get flag indicating if the row referenced by rowId is not a valid row in this sheet, or if there is a circular reference- Returns:
- invalid
-
setInvalid
public Predecessor setInvalid(java.lang.Boolean invalid)
Set flag indicating if the row referenced by rowId is not a valid row in this sheet, or if there is a circular reference
-
isInCriticalPath
public java.lang.Boolean isInCriticalPath()
Get flag indicating if this predecessor is in the critical path- Returns:
- inCriticalPath
-
setInCriticalPath
public Predecessor setInCriticalPath(java.lang.Boolean inCriticalPath)
Set flag indicating if this predecessor is in the critical path
-
-