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.core.common.transfer;
018
019import com.echothree.util.common.transfer.BaseTransfer;
020
021public class EventTransfer
022        extends BaseTransfer {
023    
024    private Long unformattedEventTime;
025    private String eventTime;
026    private Integer eventTimeSequence;
027    private EntityInstanceTransfer entityInstance;
028    private EventTypeTransfer eventType;
029    private EntityInstanceTransfer relatedEntityInstance;
030    private EventTypeTransfer relatedEventType;
031    private EntityInstanceTransfer createdBy;
032    
033    /** Creates a new instance of EventTransfer */
034    public EventTransfer(Long unformattedEventTime, String eventTime, Integer eventTimeSequence, EntityInstanceTransfer entityInstance,
035            EventTypeTransfer eventType, EntityInstanceTransfer relatedEntityInstance, EventTypeTransfer relatedEventType, EntityInstanceTransfer createdBy) {
036        this.unformattedEventTime = unformattedEventTime;
037        this.eventTime = eventTime;
038        this.eventTimeSequence = eventTimeSequence;
039        this.entityInstance = entityInstance;
040        this.eventType = eventType;
041        this.relatedEntityInstance = relatedEntityInstance;
042        this.relatedEventType = relatedEventType;
043        this.createdBy = createdBy;
044    }
045
046    /**
047     * Returns the unformattedEventTime.
048     * @return the unformattedEventTime
049     */
050    public Long getUnformattedEventTime() {
051        return unformattedEventTime;
052    }
053
054    /**
055     * Sets the unformattedEventTime.
056     * @param unformattedEventTime the unformattedEventTime to set
057     */
058    public void setUnformattedEventTime(Long unformattedEventTime) {
059        this.unformattedEventTime = unformattedEventTime;
060    }
061
062    /**
063     * Returns the eventTime.
064     * @return the eventTime
065     */
066    public String getEventTime() {
067        return eventTime;
068    }
069
070    /**
071     * Sets the eventTime.
072     * @param eventTime the eventTime to set
073     */
074    public void setEventTime(String eventTime) {
075        this.eventTime = eventTime;
076    }
077
078    /**
079     * Returns the eventTimeSequence.
080     * @return the eventTimeSequence
081     */
082    public Integer getEventTimeSequence() {
083        return eventTimeSequence;
084    }
085
086    /**
087     * Sets the eventTimeSequence.
088     * @param eventTimeSequence the eventTimeSequence to set
089     */
090    public void setEventTimeSequence(Integer eventTimeSequence) {
091        this.eventTimeSequence = eventTimeSequence;
092    }
093
094    /**
095     * Returns the entityInstance.
096     * @return the entityInstance
097     */
098    @Override
099    public EntityInstanceTransfer getEntityInstance() {
100        return entityInstance;
101    }
102
103    /**
104     * Sets the entityInstance.
105     * @param entityInstance the entityInstance to set
106     */
107    @Override
108    public void setEntityInstance(EntityInstanceTransfer entityInstance) {
109        this.entityInstance = entityInstance;
110    }
111
112    /**
113     * Returns the eventType.
114     * @return the eventType
115     */
116    public EventTypeTransfer getEventType() {
117        return eventType;
118    }
119
120    /**
121     * Sets the eventType.
122     * @param eventType the eventType to set
123     */
124    public void setEventType(EventTypeTransfer eventType) {
125        this.eventType = eventType;
126    }
127
128    /**
129     * Returns the relatedEntityInstance.
130     * @return the relatedEntityInstance
131     */
132    public EntityInstanceTransfer getRelatedEntityInstance() {
133        return relatedEntityInstance;
134    }
135
136    /**
137     * Sets the relatedEntityInstance.
138     * @param relatedEntityInstance the relatedEntityInstance to set
139     */
140    public void setRelatedEntityInstance(EntityInstanceTransfer relatedEntityInstance) {
141        this.relatedEntityInstance = relatedEntityInstance;
142    }
143
144    /**
145     * Returns the relatedEventType.
146     * @return the relatedEventType
147     */
148    public EventTypeTransfer getRelatedEventType() {
149        return relatedEventType;
150    }
151
152    /**
153     * Sets the relatedEventType.
154     * @param relatedEventType the relatedEventType to set
155     */
156    public void setRelatedEventType(EventTypeTransfer relatedEventType) {
157        this.relatedEventType = relatedEventType;
158    }
159
160    /**
161     * Returns the createdBy.
162     * @return the createdBy
163     */
164    public EntityInstanceTransfer getCreatedBy() {
165        return createdBy;
166    }
167
168    /**
169     * Sets the createdBy.
170     * @param createdBy the createdBy to set
171     */
172    public void setCreatedBy(EntityInstanceTransfer createdBy) {
173        this.createdBy = createdBy;
174    }
175
176}