001// -------------------------------------------------------------------------------- 002// Copyright 2002-2025 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 EntityDateDefaultTransfer 022 extends BaseTransfer { 023 024 private EntityAttributeTransfer entityAttribute; 025 private String dateAttribute; 026 private Integer unformattedDateAttribute; 027 028 /** Creates a new instance of EntityDateDefaultTransfer */ 029 public EntityDateDefaultTransfer(EntityAttributeTransfer entityAttribute, String dateAttribute, 030 Integer unformattedDateAttribute) { 031 this.entityAttribute = entityAttribute; 032 this.dateAttribute = dateAttribute; 033 this.unformattedDateAttribute = unformattedDateAttribute; 034 } 035 036 /** 037 * Returns the entityAttribute. 038 * @return the entityAttribute 039 */ 040 public EntityAttributeTransfer getEntityAttribute() { 041 return entityAttribute; 042 } 043 044 /** 045 * Sets the entityAttribute. 046 * @param entityAttribute the entityAttribute to set 047 */ 048 public void setEntityAttribute(EntityAttributeTransfer entityAttribute) { 049 this.entityAttribute = entityAttribute; 050 } 051 052 /** 053 * Returns the dateAttribute. 054 * @return the dateAttribute 055 */ 056 public String getDateAttribute() { 057 return dateAttribute; 058 } 059 060 /** 061 * Sets the dateAttribute. 062 * @param dateAttribute the dateAttribute to set 063 */ 064 public void setDateAttribute(String dateAttribute) { 065 this.dateAttribute = dateAttribute; 066 } 067 068 /** 069 * Returns the unformattedDateAttribute. 070 * @return the unformattedDateAttribute 071 */ 072 public Integer getUnformattedDateAttribute() { 073 return unformattedDateAttribute; 074 } 075 076 /** 077 * Sets the unformattedDateAttribute. 078 * @param unformattedDateAttribute the unformattedDateAttribute to set 079 */ 080 public void setUnformattedDateAttribute(Integer unformattedDateAttribute) { 081 this.unformattedDateAttribute = unformattedDateAttribute; 082 } 083 084}