Package clips.delegate.shedule

Source Code of clips.delegate.shedule.SheduledDay

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package clips.delegate.shedule;

import beans.shedule.week.TimeOffset;
import clips.delegate.directory.simple.prorumble.DirectoryProrumbleItem;
import clips.delegate.shedule.individual.SheduleIndividualData;
import groovy.time.Duration;
import java.util.List;

/**
*
* @author axe
*/
public class SheduledDay {

    private TimeOffset clinicShiftBegin;
    private int clinicShiftDuration;
    private boolean working;
    private boolean byPlan;
    private DirectoryProrumbleItem prorumbleItem;

    private String description;
    List<SheduleIndividualData> data;

    public TimeOffset getClinicShiftEnd() {
        return new TimeOffset(clinicShiftBegin.getRaw() + clinicShiftDuration);
    }

    public TimeOffset getClinicShiftBegin() {
        return clinicShiftBegin;
    }

    public void setClinicShiftBegin(TimeOffset clinicShiftBegin) {
        this.clinicShiftBegin = clinicShiftBegin;
    }

    public int getClinicShiftDuration() {
        return clinicShiftDuration;
    }

    public void setClinicShiftDuration(int clinicShiftDuration) {
        this.clinicShiftDuration = clinicShiftDuration;
    }

    public List<SheduleIndividualData> getData() {
        return data;
    }

    public void setData(List<SheduleIndividualData> data) {
        this.data = data;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public boolean isWorking() {
        return working;
    }

    public void setWorking(boolean isWorking) {
        this.working = isWorking;
    }

    public boolean isByPlan() {
        return byPlan;
    }

    public void setByPlan(boolean byPlan) {
        this.byPlan = byPlan;
    }

    public DirectoryProrumbleItem getProrumbleItem() {
        return prorumbleItem;
    }

    public void setProrumbleItem(DirectoryProrumbleItem prorumbleItem) {
        this.prorumbleItem = prorumbleItem;
    }




}
TOP

Related Classes of clips.delegate.shedule.SheduledDay

TOP
Copyright © 2018 www.massapi.com. 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.