org.figure8.join.view
Class GatewayTrackingView

java.lang.Object
  extended by org.figure8.join.view.GatewayTrackingView
All Implemented Interfaces:
java.io.Serializable

public class GatewayTrackingView
extends java.lang.Object
implements java.io.Serializable

This a JavaBean encasulating a Gateway domain model object and its information on EIS mappings done during a tracking period. Instance of GatewayTrackingView class are intended to be stored within an Http layer context.

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Field Summary
protected  java.util.Map eisMappings
          A map of mappings done during tracking period, organized on EIS type
protected  java.util.Date endDate
          The end date of the tracking period for Gateway changes
protected  Gateway gateway
          The encapsulated gateway domain object
protected  java.util.Date startDate
          The start date of the tracking period for Gateway changes
 
Constructor Summary
GatewayTrackingView(Gateway gateway, java.util.Date startDate, java.util.Date endDate)
          Creates a new instance of GatewayTrackingView
 
Method Summary
 void addEISMapping(VersionedResourceMapping mapping)
          Add a EISMapping to existing mappings for this tracking view
 java.util.Map getEISMappings()
          Get the EIS mappings done during the tracking period
 java.util.Date getEndDate()
           
 Gateway getGateway()
           
 java.util.Date getStartDate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startDate

protected java.util.Date startDate
The start date of the tracking period for Gateway changes


endDate

protected java.util.Date endDate
The end date of the tracking period for Gateway changes


gateway

protected Gateway gateway
The encapsulated gateway domain object


eisMappings

protected java.util.Map eisMappings
A map of mappings done during tracking period, organized on EIS type

Constructor Detail

GatewayTrackingView

public GatewayTrackingView(Gateway gateway,
                           java.util.Date startDate,
                           java.util.Date endDate)
Creates a new instance of GatewayTrackingView

Parameters:
gateway - The wrapped gateway domain object
startDate - The start date of the tracking period of this view
endDate - The end date of the tracking period of this view
Method Detail

getStartDate

public java.util.Date getStartDate()
Returns:
The start date of the tracking period for Gateway changes

getEndDate

public java.util.Date getEndDate()
Returns:
The end date of the tracking period for Gateway changes

getGateway

public Gateway getGateway()
Returns:
The encapsulated gateway domain object

getEISMappings

public java.util.Map getEISMappings()
Get the EIS mappings done during the tracking period

Returns:
A map where keys are the resource type and values are list of mappings for the type

addEISMapping

public void addEISMapping(VersionedResourceMapping mapping)
Add a EISMapping to existing mappings for this tracking view

Parameters:
mapping - The versioned EIS resource mapping to add


Copyright © 2005-2008 Join. All Rights Reserved.