Class PSDSequenceBlock
- java.lang.Object
-
- org.processmining.plugins.psd.model.PSDBlock
-
- org.processmining.plugins.psd.model.sequence.PSDSequenceBlock
-
public class PSDSequenceBlock extends PSDBlock
-
-
Constructor Summary
Constructors Constructor Description PSDSequenceBlock(java.util.Date beginTimestamp, java.util.Date endTimestamp, java.lang.String dataElement)Constructor that initializes the block
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetBeginTimestamp()Returns the begin timestamp of this blockjava.util.DategetEndTimestamp()Returns the end timestamp.longgetTimeIn()Returns the duration of the period of activityvoidsetBeginTimestamp(java.util.Date beginTimestamp)Sets the begin timestamp.voidsetEndTimestamp(java.util.Date endTimestamp)Sets the end timestamp-
Methods inherited from class org.processmining.plugins.psd.model.PSDBlock
drawBlock, getDataElement, getInArrows, getOutArrows, getSimilarIndex, isInBlock, setEndAt, setInArrows, setOutArrows, setSimilarIndex, setStartAt
-
-
-
-
Method Detail
-
getTimeIn
public long getTimeIn()
Returns the duration of the period of activity- Returns:
- long
-
getBeginTimestamp
public java.util.Date getBeginTimestamp()
Returns the begin timestamp of this block- Returns:
- Date
-
setBeginTimestamp
public void setBeginTimestamp(java.util.Date beginTimestamp)
Sets the begin timestamp. Needed to be able to combine blocks/periods that overlap- Parameters:
beginTimestamp- Date
-
getEndTimestamp
public java.util.Date getEndTimestamp()
Returns the end timestamp. Needed to be able to combine blocks/periods that overlap- Returns:
- Date
-
setEndTimestamp
public void setEndTimestamp(java.util.Date endTimestamp)
Sets the end timestamp- Parameters:
endTimestamp- Date
-
-