org.processmining.analysis.performance.sequence
Class SequenceArrow

java.lang.Object
  extended by org.processmining.analysis.performance.sequence.Arrow
      extended by org.processmining.analysis.performance.sequence.SequenceArrow

public class SequenceArrow
extends Arrow

Represents the transfer of work between two data-element instances in a sequence.

Author:
Peter T.G. Hornix (p.t.g.hornix@student.tue.nl)

Constructor Summary
SequenceArrow(java.util.Date beginTimestamp, java.util.Date endTimestamp, java.lang.String source, java.lang.String destination)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Checks whether an arrow is equal to another one
 java.util.Date getBeginTimestamp()
          Returns the begin timestamp of this block
 java.util.Date getEndTimestamp()
          Returns the end timestamp of this block
 long getTimeIn()
          Returns the duration of the transfer of work
 int hashCode()
           
 void setBeginTimestamp(java.util.Date beginTimestamp)
           
 void setEndTimestamp(java.util.Date endTimestamp)
           
 
Methods inherited from class org.processmining.analysis.performance.sequence.Arrow
drawArrow, getDestination, getDestinationBlock, getEndAt, getSource, getSourceBlock, getStartAt, isOnLine, setDestinationBlock, setEndAt, setSourceBlock, setStartAt
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceArrow

public SequenceArrow(java.util.Date beginTimestamp,
                     java.util.Date endTimestamp,
                     java.lang.String source,
                     java.lang.String destination)
Constructor

Parameters:
beginTimestamp - Date
endTimestamp - Date
source - String
destination - String
Method Detail

getTimeIn

public long getTimeIn()
Returns the duration of the transfer of work

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)
Parameters:
beginTimestamp - Date

getEndTimestamp

public java.util.Date getEndTimestamp()
Returns the end timestamp of this block

Returns:
Date

setEndTimestamp

public void setEndTimestamp(java.util.Date endTimestamp)
Parameters:
endTimestamp - Date

equals

public boolean equals(java.lang.Object obj)
Checks whether an arrow is equal to another one

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object
Returns:
boolean

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object