org.figure8.join.businessobjects.environment
Class EISMapping
java.lang.Object
org.figure8.join.core.EntityObject
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. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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 forgateway
- The physical environment this mapping is for
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.