public abstract class RepeatInterval extends java.lang.Object implements AsciiSerializable, java.lang.Cloneable
Title: General CWMS Framework
Description:
Copyright: Copyright (c) 2002
Company: RMA Inc.
| Modifier and Type | Field and Description |
|---|---|
static int |
DAILY_REPEAT |
static int |
MONTHLY_REPEAT |
static int |
NO_REPEAT |
static int |
WEEKLY_REPEAT |
static int |
YEARLY_REPEAT |
| Constructor and Description |
|---|
RepeatInterval() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
HecTime |
getEndDate() |
java.lang.Object |
getFieldObject(java.lang.reflect.Field fld)
This method allows access to java.lang.reflect.Field objects within the implementing
class.
|
HecTime[] |
getNextRepeatTime(HecTime startTime,
HecTime stepStartTime,
HecTime endTime,
HecTime stepEndTime) |
int |
getRepeatNumber() |
abstract int |
getRepeatType() |
void |
setEndDate(HecTime endDate) |
boolean |
setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
This allows access to fields withing the implementing object to set there data.
|
void |
setRepeatNumber(int num) |
public static final int NO_REPEAT
public static final int DAILY_REPEAT
public static final int WEEKLY_REPEAT
public static final int MONTHLY_REPEAT
public static final int YEARLY_REPEAT
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic abstract int getRepeatType()
public int getRepeatNumber()
public void setRepeatNumber(int num)
public HecTime getEndDate()
public void setEndDate(HecTime endDate)
public HecTime[] getNextRepeatTime(HecTime startTime, HecTime stepStartTime, HecTime endTime, HecTime stepEndTime)
public java.lang.Object getFieldObject(java.lang.reflect.Field fld)
FieldAccessorgetFieldObject in interface FieldAccessorfld - The field to get.public boolean setFieldObject(java.lang.reflect.Field fld,
java.lang.Object fobj)
FieldAccessorsetFieldObject in interface FieldAccessorfld - The java field object representing the member field to be setfobj - The data to set in that field