Package org.jitterbit.integration.data.entity.schedule

Examples of org.jitterbit.integration.data.entity.schedule.ScheduleDailyFrequency


     * Gets the <tt>ScheduleFrequency</tt> object associated with this schedule.
     *
     * @return a <tt>ScheduleFrequency</tt> object.
     */
    public ScheduleDailyFrequency getDailyFrequency() {
        return new ScheduleDailyFrequency(getData());
    }
View Full Code Here


     *            a <tt>ScheduleFrequency</tt> object; cannot be null.
     * @throws NullPointerException
     *             if <tt>frequency</tt> is null.
     */
    public void setDailyFrequency(ScheduleDailyFrequency frequency) {
        ScheduleDailyFrequency old = getDailyFrequency();
        // Always append the data, even if the new frequency is identical
        // to the old one. This is to make sure that the key-value pairs
        // get created in the case where this is the first time this method
        // is called and frequency is the default frequency.
        frequency.appendToData(getData());
        if (!old.equals(frequency)) {
            firePropertyChange(FREQUENCY_PROPERTY, old, frequency);
        }
    }
View Full Code Here

     * @return a <tt>ScheduleDailyFrequency</tt> object, the properties of which are determined by
     *         the current values of this panel's input fields; or <tt>null</tt> if the current
     *         input fields has invalid values.
     */
    public ScheduleDailyFrequency getDailyFrequency(TimeZone tz) {
        ScheduleDailyFrequency freq = new ScheduleDailyFrequency();
        if (getOccursType() == ScheduleDailyFrequency.OCCURS_ONCE_AT) {
            freq.setOccursOnce(onceAtTimeControl.getDate(tz));
        } else {
            int num = occursEveryPanel.getEveryNum();
            OccursEvery hms = occursEveryPanel.getEveryHMS();
            Date startTime = occursEveryPanel.getStartTime(tz);
            Date endTime = occursEveryPanel.getEndTime(tz);
            freq.setOccursEvery(num, hms, startTime, endTime);
        }
        return freq;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.entity.schedule.ScheduleDailyFrequency

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.