public final class Period
extends oracle.odi.domain.support.PersistableValue
It is used by OdiSchedule to represent several attributes.
TimeUnti, 
OdiSchedule, 
Repetition, 
Serialized Form| Constructor and Description | 
|---|
Period(int pValue,
      TimeUnit pTimeUnit)
Constructs the Period object with specified value and time unit. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
TimeUnit | 
getTimeUnit()
Returns the time unit. 
 | 
int | 
getValue()
Returns the value. 
 | 
int | 
hashCode()  | 
java.lang.String | 
toString()  | 
public Period(int pValue,
              TimeUnit pTimeUnit)
pValue - time valuepTimeUnit - time unitDomainRuntimeException - if time unit is null, or time value is
 not positive integer.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