|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.view.PhysicalEnvironmentTrackingView
public class PhysicalEnvironmentTrackingView
This a JavaBean encasulating a PhysicalEnvironment domain model object
and its information on resource mappings done during a tracking period.
Instance of PhysicalEnvironmentTrackingView
class are intended
to be stored within an Http layer context.
Field Summary | |
---|---|
protected java.util.Date |
endDate
The end date of the tracking period for PhysicalEnvironment changes |
protected PhysicalEnvironment |
environment
The encapsulated environment domain object |
protected java.util.Map |
resourceMappings
A map of mappings done during tracking period, organized on resource type |
protected java.util.Date |
startDate
The start date of the tracking period for PhysicalEnvironment changes |
protected java.util.Map |
versionedResourceMappings
A map of mappings for versioned resources done during transking period |
Constructor Summary | |
---|---|
PhysicalEnvironmentTrackingView(PhysicalEnvironment environment,
java.util.Date startDate,
java.util.Date endDate)
Creates a new instance of PhysicalEnvironmentTrackingView |
Method Summary | |
---|---|
void |
addResourceMapping(ResourceMapping mapping)
Add a ResourceMapping to existing mappings for this tracking view |
void |
addVersionedResourceMapping(VersionedResourceMapping mapping)
Add a VersionedResourceMapping to existing mappings for this tracking view |
java.util.Date |
getEndDate()
|
PhysicalEnvironment |
getEnvironment()
|
java.util.Map |
getResourceMappings()
Get the resource mappings done during the tracking period |
java.util.Date |
getStartDate()
|
java.util.Map |
getVersionedResourceMappings()
Get the versioned resource mappings done during the tracking period |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Date startDate
protected java.util.Date endDate
protected PhysicalEnvironment environment
protected java.util.Map resourceMappings
protected java.util.Map versionedResourceMappings
Constructor Detail |
---|
public PhysicalEnvironmentTrackingView(PhysicalEnvironment environment, java.util.Date startDate, java.util.Date endDate)
environment
- The encapsulated environment domain objectstartDate
- The start date of the tracking periodendDate
- The end date of the tracking periodMethod Detail |
---|
public java.util.Date getStartDate()
public java.util.Date getEndDate()
public PhysicalEnvironment getEnvironment()
public java.util.Map getResourceMappings()
public void addResourceMapping(ResourceMapping mapping)
mapping
- The resource mapping to addpublic java.util.Map getVersionedResourceMappings()
public void addVersionedResourceMapping(VersionedResourceMapping mapping)
mapping
- The versioned mapping to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |