Package com.highdeal.chrono.hci
Interface IPeriodObjectModel
- All Known Implementing Classes:
AbstractPeriodObjectModel,PeriodObjectModel,RangeTablePeriodObjectModel
public interface IPeriodObjectModel
This
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.
-
Method Details
-
getStart
Date getStart()Returns the start date of the period.- Returns:
- The start date of the period, or
nullif theelementhas always been valid
-
setStart
Sets the start date of the period.- Parameters:
start- The possiblynullstart date of the period for theelement
-
getEnd
Date getEnd()Returns the end date of the period.- Returns:
- The end date of the period, or
nullif theelementwill always be valid
-
setEnd
Sets the end date of the period.- Parameters:
end- The end date of the period
-
asTimeFrame
com.highdeal.util.range.TimeFrame asTimeFrame()Returns this object asTimeFrameobject.- Returns:
- this object as
TimeFrameobject.
-