org.figure8.join.businessobjects.environment
Class EISMapping

java.lang.Object
  extended by org.figure8.join.core.EntityObject
      extended by org.figure8.join.businessobjects.environment.EISMapping
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class EISMapping
extends EntityObject

This is an entity representing a mapping between an Enterprise Information System resource (a EIS of any EISType) and a gateway infrastructure resource.
EISMappings are by definition volatile : they have a startDate and an endDate when mapping ends. Active mappings are those having endDate not set.

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

Constructor Summary
EISMapping()
          Creates a new instance of ResourceMapping
EISMapping(EIS eis, Gateway gateway)
          Creates a new ResourceMapping with mandatory parameters.
 
Method Summary
 void close()
          Close this mapping (ie. make it inactive)
 EIS getEIS()
           
 java.util.Date getEndDate()
           
 Gateway getGateway()
           
 java.util.Date getStartDate()
           
 boolean isActive()
           
 void setEIS(EIS eis)
           
 void setEndDate(java.util.Date endDate)
           
 void setGateway(Gateway gateway)
           
 void setStartDate(java.util.Date startDate)
           
 
Methods inherited from class org.figure8.join.core.EntityObject
clone, equals, getId, hashCode, isTransient
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EISMapping

public EISMapping()
Creates a new instance of ResourceMapping


EISMapping

public EISMapping(EIS eis,
                  Gateway gateway)
Creates a new ResourceMapping with mandatory parameters.

Parameters:
eis - The resource this mapping is for
gateway - The physical environment this mapping is for
Method Detail

getStartDate

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

setStartDate

public void setStartDate(java.util.Date startDate)
Parameters:
startDate - The date this mapping has started being active

getEndDate

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

setEndDate

public void setEndDate(java.util.Date endDate)
Parameters:
endDate - The date this mapping has stopped being active

getEIS

public EIS getEIS()
Returns:
The resource this mapping is for

setEIS

public void setEIS(EIS eis)
Parameters:
eis - The EIS this mapping is for

getGateway

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

setGateway

public void setGateway(Gateway gateway)
Parameters:
gateway - The gateway this mapping is for

isActive

public boolean isActive()
Returns:
Flag telling if this mapping is currently active

close

public void close()
Close this mapping (ie. make it inactive)



Copyright © 2005-2008 Join. All Rights Reserved.