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.party.common.transfer; 018 019import com.echothree.util.common.transfer.BaseTransfer; 020 021public class DateTimeFormatTransfer 022 extends BaseTransfer { 023 024 private String dateTimeFormatName; 025 private String javaShortDateFormat; 026 private String javaAbbrevDateFormat; 027 private String javaAbbrevDateFormatWeekday; 028 private String javaLongDateFormat; 029 private String javaLongDateFormatWeekday; 030 private String javaTimeFormat; 031 private String javaTimeFormatSeconds; 032 private String unixShortDateFormat; 033 private String unixAbbrevDateFormat; 034 private String unixAbbrevDateFormatWeekday; 035 private String unixLongDateFormat; 036 private String unixLongDateFormatWeekday; 037 private String unixTimeFormat; 038 private String unixTimeFormatSeconds; 039 private String shortDateSeparator; 040 private String timeSeparator; 041 private Boolean isDefault; 042 private Integer sortOrder; 043 private String description; 044 045 /** Creates a new instance of DateTimeFormatTransfer */ 046 public DateTimeFormatTransfer(String dateTimeFormatName, String javaShortDateFormat, String javaAbbrevDateFormat, 047 String javaAbbrevDateFormatWeekday, String javaLongDateFormat, String javaLongDateFormatWeekday, String javaTimeFormat, 048 String javaTimeFormatSeconds, String unixShortDateFormat, String unixAbbrevDateFormat, 049 String unixAbbrevDateFormatWeekday, String unixLongDateFormat, String unixLongDateFormatWeekday, String unixTimeFormat, 050 String unixTimeFormatSeconds, String shortDateSeparator, String timeSeparator, Boolean isDefault, Integer sortOrder, String description) { 051 this.dateTimeFormatName = dateTimeFormatName; 052 this.javaShortDateFormat = javaShortDateFormat; 053 this.javaAbbrevDateFormat = javaAbbrevDateFormat; 054 this.javaAbbrevDateFormatWeekday = javaAbbrevDateFormatWeekday; 055 this.javaLongDateFormat = javaLongDateFormat; 056 this.javaLongDateFormatWeekday = javaLongDateFormatWeekday; 057 this.javaTimeFormat = javaTimeFormat; 058 this.javaTimeFormatSeconds = javaTimeFormatSeconds; 059 this.unixShortDateFormat = unixShortDateFormat; 060 this.unixAbbrevDateFormat = unixAbbrevDateFormat; 061 this.unixAbbrevDateFormatWeekday = unixAbbrevDateFormatWeekday; 062 this.unixLongDateFormat = unixLongDateFormat; 063 this.unixLongDateFormatWeekday = unixLongDateFormatWeekday; 064 this.unixTimeFormat = unixTimeFormat; 065 this.unixTimeFormatSeconds = unixTimeFormatSeconds; 066 this.shortDateSeparator = shortDateSeparator; 067 this.timeSeparator = timeSeparator; 068 this.isDefault = isDefault; 069 this.sortOrder = sortOrder; 070 this.description = description; 071 } 072 073 public String getDateTimeFormatName() { 074 return dateTimeFormatName; 075 } 076 077 public void setDateTimeFormatName(String dateTimeFormatName) { 078 this.dateTimeFormatName = dateTimeFormatName; 079 } 080 081 public String getJavaShortDateFormat() { 082 return javaShortDateFormat; 083 } 084 085 public void setJavaShortDateFormat(String javaShortDateFormat) { 086 this.javaShortDateFormat = javaShortDateFormat; 087 } 088 089 public String getJavaAbbrevDateFormat() { 090 return javaAbbrevDateFormat; 091 } 092 093 public void setJavaAbbrevDateFormat(String javaAbbrevDateFormat) { 094 this.javaAbbrevDateFormat = javaAbbrevDateFormat; 095 } 096 097 public String getJavaAbbrevDateFormatWeekday() { 098 return javaAbbrevDateFormatWeekday; 099 } 100 101 public void setJavaAbbrevDateFormatWeekday(String javaAbbrevDateFormatWeekday) { 102 this.javaAbbrevDateFormatWeekday = javaAbbrevDateFormatWeekday; 103 } 104 105 public String getJavaLongDateFormat() { 106 return javaLongDateFormat; 107 } 108 109 public void setJavaLongDateFormat(String javaLongDateFormat) { 110 this.javaLongDateFormat = javaLongDateFormat; 111 } 112 113 public String getJavaLongDateFormatWeekday() { 114 return javaLongDateFormatWeekday; 115 } 116 117 public void setJavaLongDateFormatWeekday(String javaLongDateFormatWeekday) { 118 this.javaLongDateFormatWeekday = javaLongDateFormatWeekday; 119 } 120 121 public String getJavaTimeFormat() { 122 return javaTimeFormat; 123 } 124 125 public void setJavaTimeFormat(String javaTimeFormat) { 126 this.javaTimeFormat = javaTimeFormat; 127 } 128 129 public String getJavaTimeFormatSeconds() { 130 return javaTimeFormatSeconds; 131 } 132 133 public void setJavaTimeFormatSeconds(String javaTimeFormatSeconds) { 134 this.javaTimeFormatSeconds = javaTimeFormatSeconds; 135 } 136 137 public String getUnixShortDateFormat() { 138 return unixShortDateFormat; 139 } 140 141 public void setUnixShortDateFormat(String unixShortDateFormat) { 142 this.unixShortDateFormat = unixShortDateFormat; 143 } 144 145 public String getUnixAbbrevDateFormat() { 146 return unixAbbrevDateFormat; 147 } 148 149 public void setUnixAbbrevDateFormat(String unixAbbrevDateFormat) { 150 this.unixAbbrevDateFormat = unixAbbrevDateFormat; 151 } 152 153 public String getUnixAbbrevDateFormatWeekday() { 154 return unixAbbrevDateFormatWeekday; 155 } 156 157 public void setUnixAbbrevDateFormatWeekday(String unixAbbrevDateFormatWeekday) { 158 this.unixAbbrevDateFormatWeekday = unixAbbrevDateFormatWeekday; 159 } 160 161 public String getUnixLongDateFormat() { 162 return unixLongDateFormat; 163 } 164 165 public void setUnixLongDateFormat(String unixLongDateFormat) { 166 this.unixLongDateFormat = unixLongDateFormat; 167 } 168 169 public String getUnixLongDateFormatWeekday() { 170 return unixLongDateFormatWeekday; 171 } 172 173 public void setUnixLongDateFormatWeekday(String unixLongDateFormatWeekday) { 174 this.unixLongDateFormatWeekday = unixLongDateFormatWeekday; 175 } 176 177 public String getUnixTimeFormat() { 178 return unixTimeFormat; 179 } 180 181 public void setUnixTimeFormat(String unixTimeFormat) { 182 this.unixTimeFormat = unixTimeFormat; 183 } 184 185 public String getUnixTimeFormatSeconds() { 186 return unixTimeFormatSeconds; 187 } 188 189 public void setUnixTimeFormatSeconds(String unixTimeFormatSeconds) { 190 this.unixTimeFormatSeconds = unixTimeFormatSeconds; 191 } 192 193 public String getShortDateSeparator() { 194 return shortDateSeparator; 195 } 196 197 public void setShortDateSeparator(String shortDateSeparator) { 198 this.shortDateSeparator = shortDateSeparator; 199 } 200 201 public String getTimeSeparator() { 202 return timeSeparator; 203 } 204 205 public void setTimeSeparator(String timeSeparator) { 206 this.timeSeparator = timeSeparator; 207 } 208 209 public Boolean getIsDefault() { 210 return isDefault; 211 } 212 213 public void setIsDefault(Boolean isDefault) { 214 this.isDefault = isDefault; 215 } 216 217 public Integer getSortOrder() { 218 return sortOrder; 219 } 220 221 public void setSortOrder(Integer sortOrder) { 222 this.sortOrder = sortOrder; 223 } 224 225 public String getDescription() { 226 return description; 227 } 228 229 public void setDescription(String description) { 230 this.description = description; 231 } 232 233}