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 Duration
getLag()
Get the lag value of this predecessorjava.lang.Long
getRowId()
Get the Id of the predecessor rowjava.lang.Integer
getRowNumber()
Get the number of the predecessor rowjava.lang.String
getType()
Get the type of the predecessorjava.lang.Boolean
isInCriticalPath()
Get flag indicating if this predecessor is in the critical pathjava.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 referencePredecessor
setInCriticalPath(java.lang.Boolean inCriticalPath)
Set flag indicating if this predecessor is in the critical pathPredecessor
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 referencePredecessor
setLag(Duration lag)
Set the lag value of this predecessorPredecessor
setRowId(java.lang.Long rowId)
Set the Id of the predecessor rowPredecessor
setRowNumber(java.lang.Integer rowNumber)
Set the number of the predecessor rowPredecessor
setType(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
-
-