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.model.control.party.common.transfer.LanguageTransfer; 020import com.echothree.util.common.transfer.BaseTransfer; 021 022public class EntityClobAttributeTransfer 023 extends BaseTransfer { 024 025 private EntityAttributeTransfer entityAttribute; 026 private EntityInstanceTransfer entityInstance; 027 private LanguageTransfer language; 028 private String clobAttribute; 029 private MimeTypeTransfer mimeType; 030 private String eTag; 031 032 /** Creates a new instance of EntityClobAttributeTransfer */ 033 public EntityClobAttributeTransfer(EntityAttributeTransfer entityAttribute, EntityInstanceTransfer entityInstance, LanguageTransfer language, 034 String clobAttribute, MimeTypeTransfer mimeType, String eTag) { 035 this.entityAttribute = entityAttribute; 036 this.entityInstance = entityInstance; 037 this.language = language; 038 this.clobAttribute = clobAttribute; 039 this.mimeType = mimeType; 040 this.eTag = eTag; 041 } 042 043 /** 044 * Returns the entityAttribute. 045 * @return the entityAttribute 046 */ 047 public EntityAttributeTransfer getEntityAttribute() { 048 return entityAttribute; 049 } 050 051 /** 052 * Sets the entityAttribute. 053 * @param entityAttribute the entityAttribute to set 054 */ 055 public void setEntityAttribute(EntityAttributeTransfer entityAttribute) { 056 this.entityAttribute = entityAttribute; 057 } 058 059 /** 060 * Returns the entityInstance. 061 * @return the entityInstance 062 */ 063 @Override 064 public EntityInstanceTransfer getEntityInstance() { 065 return entityInstance; 066 } 067 068 /** 069 * Sets the entityInstance. 070 * @param entityInstance the entityInstance to set 071 */ 072 @Override 073 public void setEntityInstance(EntityInstanceTransfer entityInstance) { 074 this.entityInstance = entityInstance; 075 } 076 077 /** 078 * Returns the language. 079 * @return the language 080 */ 081 public LanguageTransfer getLanguage() { 082 return language; 083 } 084 085 /** 086 * Sets the language. 087 * @param language the language to set 088 */ 089 public void setLanguage(LanguageTransfer language) { 090 this.language = language; 091 } 092 093 /** 094 * Returns the clobAttribute. 095 * @return the clobAttribute 096 */ 097 public String getClobAttribute() { 098 return clobAttribute; 099 } 100 101 /** 102 * Sets the clobAttribute. 103 * @param clobAttribute the clobAttribute to set 104 */ 105 public void setClobAttribute(String clobAttribute) { 106 this.clobAttribute = clobAttribute; 107 } 108 109 /** 110 * Returns the mimeType. 111 * @return the mimeType 112 */ 113 public MimeTypeTransfer getMimeType() { 114 return mimeType; 115 } 116 117 /** 118 * Sets the mimeType. 119 * @param mimeType the mimeType to set 120 */ 121 public void setMimeType(MimeTypeTransfer mimeType) { 122 this.mimeType = mimeType; 123 } 124 125 /** 126 * Returns the eTag. 127 * @return the eTag 128 */ 129 public String geteTag() { 130 return eTag; 131 } 132 133 /** 134 * Sets the eTag. 135 * @param eTag the eTag to set 136 */ 137 public void seteTag(String eTag) { 138 this.eTag = eTag; 139 } 140 141}