|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.odi.domain.support.BusinessObject
oracle.odi.domain.support.PersistableValue
oracle.odi.domain.runtime.scheduling.Period
public final class Period
Period is a value object representing a the notion of period of time. It is defined by a time value and the time unit in which the value is expressed.
It is used by OdiSchedule to represent several attributes.
TimeUnti, OdiSchedule, Repetition, Serialized Form| Constructor Summary | |
|---|---|
Period(int pValue, TimeUnit pTimeUnit)Constructs the Period object with specified value and time unit. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj) |
TimeUnit |
getTimeUnit()Returns the time unit. |
int |
getValue()Returns the value. |
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 |
|---|
public Period(int pValue,
TimeUnit pTimeUnit)
pValue - time valuepTimeUnit - time unitDomainRuntimeException - if time unit is null, or time value is not positive integer.| Method Detail |
|---|
public int getValue()
public TimeUnit getTimeUnit()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||