org.figure8.join.view
Class VersionedResourceMapping

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

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

This is a simple JavaBean for representing changes details of a ResourceMapping for a VersionedResource.
This is also can be used for representing changes details of a EISMapping for a EIS.
VersionedResource may have version updates during this mapping period and changes can thus be represented using transient instance of this bean.

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

Constructor Summary
VersionedResourceMapping(Gateway gateway, VersionedResourceTrackingView resourceView, java.util.Date startDate, java.util.Date endDate)
          Creates a new instance of VersionedResourceMapping.
VersionedResourceMapping(PhysicalEnvironment environment, VersionedResourceTrackingView resourceView, java.util.Date startDate, java.util.Date endDate)
          Creates a new instance of VersionedResourceMapping.
 
Method Summary
 java.util.Date getEndDate()
           
 PhysicalEnvironment getEnvironment()
           
 Gateway getGateway()
           
 VersionedResourceTrackingView getResourceView()
           
 java.util.Date getStartDate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionedResourceMapping

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

Parameters:
gateway - The gateway this mapping is for
resourceView - The tracking view for resource during this mapping period
startDate - The start date of the mapping period
endDate - The end date of the mapping period

VersionedResourceMapping

public VersionedResourceMapping(PhysicalEnvironment environment,
                                VersionedResourceTrackingView resourceView,
                                java.util.Date startDate,
                                java.util.Date endDate)
Creates a new instance of VersionedResourceMapping.

Parameters:
environment - The physical environment this mapping is for
resourceView - The tracking view for resource during this mapping period
startDate - The start date of the mapping period
endDate - The end date of the mapping period
Method Detail

getStartDate

public java.util.Date getStartDate()
Returns:
The date this mapping has started being active

getEndDate

public java.util.Date getEndDate()
Returns:
The date this mapping has stopped being active

getGateway

public Gateway getGateway()
Returns:
The encapsulated gateway this mapping is for

getEnvironment

public PhysicalEnvironment getEnvironment()
Returns:
The encapsulated environment this mapping is for

getResourceView

public VersionedResourceTrackingView getResourceView()
Returns:
The tracking view for resource during this mapping period


Copyright © 2005-2008 Join. All Rights Reserved.