Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


oracle.odi.domain.runtime.scheduling
Class TimeRange

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.PersistableValue
          extended by oracle.odi.domain.runtime.scheduling.TimeRange

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public final class TimeRange
extends oracle.odi.domain.support.PersistableValue

TimeRange is a value object grouping 2 time values: start time and end time.

It is used by OdiSchedule to represent daily activation period.

Since:
11.1.1.6.0
See Also:
RecurrenceAttributes.TimeOfDay, OdiSchedule, Serialized Form

Constructor Summary
TimeRange(RecurrenceAttributes.TimeOfDay pStartTime, RecurrenceAttributes.TimeOfDay pEndTime)
          Constructs the TimeRange with specified start time and end time.

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 RecurrenceAttributes.TimeOfDay getEndTime()
          Obtains the end time of range.
 RecurrenceAttributes.TimeOfDay getStartTime()
          Obtains the start time of range.
 int hashCode()
           
 java.lang.String toString()
           

 

Methods inherited from class oracle.odi.domain.support.BusinessObject
clone

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

TimeRange

public TimeRange(RecurrenceAttributes.TimeOfDay pStartTime,
                 RecurrenceAttributes.TimeOfDay pEndTime)
Constructs the TimeRange with specified start time and end time.
Parameters:
pStartTime - start time
pEndTime - end time
Throws:
DomainRuntimeException - if start time or end time is null

Method Detail

getStartTime

public RecurrenceAttributes.TimeOfDay getStartTime()
Obtains the start time of range.
Returns:
start time

getEndTime

public RecurrenceAttributes.TimeOfDay getEndTime()
Obtains the end time of range.
Returns:
end time

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.