Class PeriodGroupReference
java.lang.Object
COM.TIBCO.hawk.config.rbengine.schedule.PeriodGroupReference
- All Implemented Interfaces:
Scheduleable
A PeriodGroupReference object references to a PeriodGroup in the Schedules.
It can be used as a schedulable object in the inclusion or exclusion list
of a Schedule.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPeriodGroupReference(String name) Creates an PeriodGroupReference with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a copy of this PeriodGroupReference.booleanCompares the specified object with this PeriodGroupReference.getName()Returns the name the PeriodGroup of this PeriodGroupReference is referenced to.booleanCheck to see if this PeriodGroupReference is in schedule based on passed GregorianCalendar.voidSets the name the PeriodGroup of this PeriodGroupReference is referenced to.toString(int iType) Returns a string reprensentation of this PeriodGroupReference.
-
Constructor Details
-
PeriodGroupReference
Creates an PeriodGroupReference with the specified name.
-
-
Method Details
-
setName
Sets the name the PeriodGroup of this PeriodGroupReference is referenced to. -
getName
Returns the name the PeriodGroup of this PeriodGroupReference is referenced to.- Returns:
- the name the PeriodGroup of this PeriodGroupReference is referenced to.
-
equals
Compares the specified object with this PeriodGroupReference. -
clone
Returns a copy of this PeriodGroupReference.- Overrides:
clonein classObject- Returns:
- a copy of this PeriodGroupReference.
- Throws:
CloneNotSupportedException
-
toString
Returns a string reprensentation of this PeriodGroupReference. -
inSchedule
Check to see if this PeriodGroupReference is in schedule based on passed GregorianCalendar. The call is passed to the referenced PeriodGroup.- Specified by:
inSchedulein interfaceScheduleable- Parameters:
gc- GregorianCalendar for checking if this PeriodGroupReference is in schedule.- Returns:
- true if this PeriodGroupReference is in schedule.
-