001// --------------------------------------------------------------------------------
002// Copyright 2002-2026 Echo Three, LLC
003//
004// Licensed under the Apache License, Version 2.0 (the "License");
005// you may not use this file except in compliance with the License.
006// You may obtain a copy of the License at
007//
008//     http://www.apache.org/licenses/LICENSE-2.0
009//
010// Unless required by applicable law or agreed to in writing, software
011// distributed under the License is distributed on an "AS IS" BASIS,
012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013// See the License for the specific language governing permissions and
014// limitations under the License.
015// --------------------------------------------------------------------------------
016
017package com.echothree.model.control.period.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class PeriodTransfer
022        extends BaseTransfer {
023    
024    private PeriodKindTransfer periodKind;
025    private String periodName;
026    private PeriodTransfer parentPeriod;
027    private PeriodTypeTransfer periodType;
028    private Long unformattedStartTime;
029    private String startTime;
030    private Long unformattedEndTime;
031    private String endTime;
032    private String description;
033    
034    /** Creates a new instance of PeriodTransfer */
035    public PeriodTransfer(PeriodKindTransfer periodKind, String periodName, PeriodTransfer parentPeriod, PeriodTypeTransfer periodType,
036            Long unformattedStartTime, String startTime, Long unformattedEndTime, String endTime, String description) {
037        this.periodKind = periodKind;
038        this.periodName = periodName;
039        this.periodType = periodType;
040        this.parentPeriod = parentPeriod;
041        this.unformattedStartTime = unformattedStartTime;
042        this.startTime = startTime;
043        this.unformattedEndTime = unformattedEndTime;
044        this.endTime = endTime;
045        this.description = description;
046    }
047
048    /**
049     * Returns the periodKind.
050     * @return the periodKind
051     */
052    public PeriodKindTransfer getPeriodKind() {
053        return periodKind;
054    }
055
056    /**
057     * Sets the periodKind.
058     * @param periodKind the periodKind to set
059     */
060    public void setPeriodKind(PeriodKindTransfer periodKind) {
061        this.periodKind = periodKind;
062    }
063
064    /**
065     * Returns the periodName.
066     * @return the periodName
067     */
068    public String getPeriodName() {
069        return periodName;
070    }
071
072    /**
073     * Sets the periodName.
074     * @param periodName the periodName to set
075     */
076    public void setPeriodName(String periodName) {
077        this.periodName = periodName;
078    }
079
080    /**
081     * Returns the parentPeriod.
082     * @return the parentPeriod
083     */
084    public PeriodTransfer getParentPeriod() {
085        return parentPeriod;
086    }
087
088    /**
089     * Sets the parentPeriod.
090     * @param parentPeriod the parentPeriod to set
091     */
092    public void setParentPeriod(PeriodTransfer parentPeriod) {
093        this.parentPeriod = parentPeriod;
094    }
095
096    /**
097     * Returns the periodType.
098     * @return the periodType
099     */
100    public PeriodTypeTransfer getPeriodType() {
101        return periodType;
102    }
103
104    /**
105     * Sets the periodType.
106     * @param periodType the periodType to set
107     */
108    public void setPeriodType(PeriodTypeTransfer periodType) {
109        this.periodType = periodType;
110    }
111
112    /**
113     * Returns the unformattedStartTime.
114     * @return the unformattedStartTime
115     */
116    public Long getUnformattedStartTime() {
117        return unformattedStartTime;
118    }
119
120    /**
121     * Sets the unformattedStartTime.
122     * @param unformattedStartTime the unformattedStartTime to set
123     */
124    public void setUnformattedStartTime(Long unformattedStartTime) {
125        this.unformattedStartTime = unformattedStartTime;
126    }
127
128    /**
129     * Returns the startTime.
130     * @return the startTime
131     */
132    public String getStartTime() {
133        return startTime;
134    }
135
136    /**
137     * Sets the startTime.
138     * @param startTime the startTime to set
139     */
140    public void setStartTime(String startTime) {
141        this.startTime = startTime;
142    }
143
144    /**
145     * Returns the unformattedEndTime.
146     * @return the unformattedEndTime
147     */
148    public Long getUnformattedEndTime() {
149        return unformattedEndTime;
150    }
151
152    /**
153     * Sets the unformattedEndTime.
154     * @param unformattedEndTime the unformattedEndTime to set
155     */
156    public void setUnformattedEndTime(Long unformattedEndTime) {
157        this.unformattedEndTime = unformattedEndTime;
158    }
159
160    /**
161     * Returns the endTime.
162     * @return the endTime
163     */
164    public String getEndTime() {
165        return endTime;
166    }
167
168    /**
169     * Sets the endTime.
170     * @param endTime the endTime to set
171     */
172    public void setEndTime(String endTime) {
173        this.endTime = endTime;
174    }
175
176    /**
177     * Returns the description.
178     * @return the description
179     */
180    public String getDescription() {
181        return description;
182    }
183
184    /**
185     * Sets the description.
186     * @param description the description to set
187     */
188    public void setDescription(String description) {
189        this.description = description;
190    }
191
192}