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 ExplicitDate

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

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

public class ExplicitDate
extends oracle.odi.domain.support.PersistableValue

ExplicitDate is a value object representing date and time in the scheduling package.

Since:
11.1.1.6.0
See Also:
Recurrence, OdiSchedule, RecurrenceAttributes.Year, RecurrenceAttributes.MonthOfYear, RecurrenceAttributes.DayOfMonth, RecurrenceAttributes.TimeOfDay, Serialized Form

Constructor Summary
ExplicitDate(java.util.Calendar pCalendar)
          Constructs the instance of ExplicitDate from java.util.Calendar object.
ExplicitDate(RecurrenceAttributes.Year pYear, RecurrenceAttributes.MonthOfYear pMonth, RecurrenceAttributes.DayOfMonth pDay, RecurrenceAttributes.TimeOfDay pTime)
          Constructs the instance of ExplicitDate with specified year, month, day and time.

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 RecurrenceAttributes.DayOfMonth getDay()
          Returns the day of month.
 RecurrenceAttributes.MonthOfYear getMonth()
          Returns the month.
 RecurrenceAttributes.TimeOfDay getTime()
          Returns time of day.
 RecurrenceAttributes.Year getYear()
          Returns the year.
 int hashCode()
           
 java.util.Calendar toCalendar()
          Obtains the java.util.Calendar instance based on this ExplicitDate's properties.
 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

ExplicitDate

public ExplicitDate(RecurrenceAttributes.Year pYear,
                    RecurrenceAttributes.MonthOfYear pMonth,
                    RecurrenceAttributes.DayOfMonth pDay,
                    RecurrenceAttributes.TimeOfDay pTime)
Constructs the instance of ExplicitDate with specified year, month, day and time.
Parameters:
pYear - year
pMonth - month
pDay - day of month
pTime - time of day
Throws:
DomainRuntimeException - if specified year, month, day or time is null
See Also:
RecurrenceAttributes.TimeOfDay

ExplicitDate

public ExplicitDate(java.util.Calendar pCalendar)
Constructs the instance of ExplicitDate from java.util.Calendar object.
Parameters:
pCalendar - calendar
Throws:
DomainRuntimeException - if null specified

Method Detail

toCalendar

public java.util.Calendar toCalendar()
Obtains the java.util.Calendar instance based on this ExplicitDate's properties.
Returns:
java.util.Calendar representation

getYear

public RecurrenceAttributes.Year getYear()
Returns the year.
Returns:
year
See Also:
RecurrenceAttributes.Year

getMonth

public RecurrenceAttributes.MonthOfYear getMonth()
Returns the month.
Returns:
month
See Also:
RecurrenceAttributes.MonthOfYear

getDay

public RecurrenceAttributes.DayOfMonth getDay()
Returns the day of month.
Returns:
day
See Also:
RecurrenceAttributes.DayOfMonth

getTime

public RecurrenceAttributes.TimeOfDay getTime()
Returns time of day.
Returns:
time
See Also:
RecurrenceAttributes.TimeOfDay

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.