public interface IPeriodObjectModel
Java interface defines a period of an object;
This represents an object (element) valid upon a certain period of time.
The validity can be infinite.
Consider the Java classes that extend this interface.
| Modifier and Type | Method and Description |
|---|---|
com.highdeal.util.range.TimeFrame |
asTimeFrame()
Returns this object as
TimeFrame object. |
Date |
getEnd()
Returns the end date of the period.
|
Date |
getStart()
Returns the start date of the period.
|
void |
setEnd(Date end)
Sets the end date of the period.
|
void |
setStart(Date start)
Sets the start date of the period.
|
Date getStart()
null if
the element has always been validvoid setStart(Date start)
start - The possibly null start date of the period for
the elementDate getEnd()
null if
the element will always be validvoid setEnd(Date end)
end - The end date of the periodcom.highdeal.util.range.TimeFrame asTimeFrame()
TimeFrame object.TimeFrame object.