|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.view.VersionedResourceTrackingView
public class VersionedResourceTrackingView
This a JavaBean encasulating a VersionedResource domain model object
and its information on resource updates done during a tracking period.
Instance of VersionedResourceTrackingView
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 VersionedResource changes |
protected VersionedResource |
resource
The encapsulated versioned resource domain object |
protected java.util.Date |
startDate
The start date of the tracking period for VersionedResource changes |
Constructor Summary | |
---|---|
VersionedResourceTrackingView(VersionedResource resource,
java.util.Date startDate,
java.util.Date endDate)
Creates a new instance of VersionedResourceTrackingView |
Method Summary | |
---|---|
void |
addVersionUpdate(VersionedResourceUpdate update)
Add a VersionedResourceUpdate that was done during the tracking period |
java.util.Date |
getEndDate()
|
VersionedResource |
getResource()
|
java.util.Date |
getStartDate()
|
java.util.List |
getVersionUpdates()
|
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 VersionedResource resource
Constructor Detail |
---|
public VersionedResourceTrackingView(VersionedResource resource, java.util.Date startDate, java.util.Date endDate)
resource
- The encapsulated versioned resource 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 VersionedResource getResource()
public void addVersionUpdate(VersionedResourceUpdate update)
update
- The versioned resource update to addpublic java.util.List getVersionUpdates()
org.figure8.join.businessobjects.environment.VersionedResourceUpdate
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |