001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 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.chain.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class ChainInstanceStatusTransfer
022        extends BaseTransfer {
023
024    private ChainInstanceTransfer chainInstance;
025    private ChainActionSetTransfer nextChainActionSet;
026    private Long unformattedNextChainActionSetTime;
027    private String nextChainActionSetTime;
028    private Integer queuedLetterSequence;
029
030    /** Creates a new instance of ChainInstanceStatusTransfer */
031    public ChainInstanceStatusTransfer(ChainInstanceTransfer chainInstance, ChainActionSetTransfer nextChainActionSet, Long unformattedNextChainActionSetTime,
032            String nextChainActionSetTime, Integer queuedLetterSequence) {
033        this.chainInstance = chainInstance;
034        this.nextChainActionSet = nextChainActionSet;
035        this.unformattedNextChainActionSetTime = unformattedNextChainActionSetTime;
036        this.nextChainActionSetTime = nextChainActionSetTime;
037        this.queuedLetterSequence = queuedLetterSequence;
038    }
039
040    /**
041     * Returns the chainInstance.
042     * @return the chainInstance
043     */
044    public ChainInstanceTransfer getChainInstance() {
045        return chainInstance;
046    }
047
048    /**
049     * Sets the chainInstance.
050     * @param chainInstance the chainInstance to set
051     */
052    public void setChainInstance(ChainInstanceTransfer chainInstance) {
053        this.chainInstance = chainInstance;
054    }
055
056    /**
057     * Returns the nextChainActionSet.
058     * @return the nextChainActionSet
059     */
060    public ChainActionSetTransfer getNextChainActionSet() {
061        return nextChainActionSet;
062    }
063
064    /**
065     * Sets the nextChainActionSet.
066     * @param nextChainActionSet the nextChainActionSet to set
067     */
068    public void setNextChainActionSet(ChainActionSetTransfer nextChainActionSet) {
069        this.nextChainActionSet = nextChainActionSet;
070    }
071
072    /**
073     * Returns the unformattedNextChainActionSetTime.
074     * @return the unformattedNextChainActionSetTime
075     */
076    public Long getUnformattedNextChainActionSetTime() {
077        return unformattedNextChainActionSetTime;
078    }
079
080    /**
081     * Sets the unformattedNextChainActionSetTime.
082     * @param unformattedNextChainActionSetTime the unformattedNextChainActionSetTime to set
083     */
084    public void setUnformattedNextChainActionSetTime(Long unformattedNextChainActionSetTime) {
085        this.unformattedNextChainActionSetTime = unformattedNextChainActionSetTime;
086    }
087
088    /**
089     * Returns the nextChainActionSetTime.
090     * @return the nextChainActionSetTime
091     */
092    public String getNextChainActionSetTime() {
093        return nextChainActionSetTime;
094    }
095
096    /**
097     * Sets the nextChainActionSetTime.
098     * @param nextChainActionSetTime the nextChainActionSetTime to set
099     */
100    public void setNextChainActionSetTime(String nextChainActionSetTime) {
101        this.nextChainActionSetTime = nextChainActionSetTime;
102    }
103
104    /**
105     * Returns the queuedLetterSequence.
106     * @return the queuedLetterSequence
107     */
108    public Integer getQueuedLetterSequence() {
109        return queuedLetterSequence;
110    }
111
112    /**
113     * Sets the queuedLetterSequence.
114     * @param queuedLetterSequence the queuedLetterSequence to set
115     */
116    public void setQueuedLetterSequence(Integer queuedLetterSequence) {
117        this.queuedLetterSequence = queuedLetterSequence;
118    }
119
120}