com.highdeal.chrono.hci
Interface IPeriodObjectModel

All Known Implementing Classes:
AbstractPeriodObjectModel, PeriodObjectModel, RangeTableRowPeriodObjectModel

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.

The period is defined by a start timestamp and an end timestamp that you can set up.


Method Summary
 com.highdeal.util.range.TimeFrame asTimeFrame()
          Returns this object as TimeFrame object.
 java.util.Date getEnd()
          Returns the end date of the period.
 java.util.Date getStart()
          Returns the start date of the period.
 void setEnd(java.util.Date end)
          Sets the end date of the period.
 void setStart(java.util.Date start)
          Sets the start date of the period.
 

Method Detail

getStart

java.util.Date getStart()
Returns the start date of the period.

Returns:
The start date of the period, or null if the element has always been valid

setStart

void setStart(java.util.Date start)
Sets the start date of the period.

Parameters:
start - The possibly null start date of the period for the element

getEnd

java.util.Date getEnd()
Returns the end date of the period.

Returns:
The end date of the period, or null if the element will always be valid

setEnd

void setEnd(java.util.Date end)
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 as TimeFrame object.

Returns:
this object as TimeFrame object.

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)