pt.digitalis.dif.controller.objects
Class Breadcrumb

java.lang.Object
  extended by pt.digitalis.dif.controller.objects.Breadcrumb

public class Breadcrumb
extends Object

A single item in a navigation history, representing stage item

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
2008/07/20

Constructor Summary
Breadcrumb(String stageID)
           
 
Method Summary
 IDIFSession getDifSession()
          Inspector for the 'difSession' attribute.
 String getParameterPassed()
          Inspector for the 'parameterPassed' attribute.
 String getStageID()
          Inspector for the 'stageID' attribute.
 Date getTimestamp()
          Inspector for the 'timestamp' attribute.
 boolean hasParameters()
           
 boolean hasSessionSnapshot()
          Inspector that validates if the present breadcrumb has a session snapshot
 void setDifSession(IDIFSession difSession)
          Modifier for the 'difSession' attribute.
 void setParameterPassed(String parameterPassed)
          Modifier for the 'parameterPassed' attribute.
 void setStageID(String stageID)
          Modifier for the 'stageID' attribute.
 void setTimestamp(Date timestamp)
          Modifier for the 'timestamp' attribute.
 String toString()
          Returns the Request object in a human-readable form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Breadcrumb

public Breadcrumb(String stageID)
Parameters:
stageID -
Method Detail

getDifSession

public IDIFSession getDifSession()
Inspector for the 'difSession' attribute.

Returns:
the difSession value

getParameterPassed

public String getParameterPassed()
Inspector for the 'parameterPassed' attribute.

Returns:
the parameterPassed value

getStageID

public String getStageID()
Inspector for the 'stageID' attribute.

Returns:
the stageID value

getTimestamp

public Date getTimestamp()
Inspector for the 'timestamp' attribute.

Returns:
the timestamp value

hasParameters

public boolean hasParameters()
Returns:
T if parameters are present

hasSessionSnapshot

public boolean hasSessionSnapshot()
Inspector that validates if the present breadcrumb has a session snapshot

Returns:
T id session is saved

setDifSession

public void setDifSession(IDIFSession difSession)
Modifier for the 'difSession' attribute.

Parameters:
difSession - the new difSession value to set

setParameterPassed

public void setParameterPassed(String parameterPassed)
Modifier for the 'parameterPassed' attribute.

Parameters:
parameterPassed - the new parameterPassed value to set

setStageID

public void setStageID(String stageID)
Modifier for the 'stageID' attribute.

Parameters:
stageID - the new stageID value to set

setTimestamp

public void setTimestamp(Date timestamp)
Modifier for the 'timestamp' attribute.

Parameters:
timestamp - the new timestamp value to set

toString

public String toString()
Returns the Request object in a human-readable form.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.