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 EntityStringAttributeTransfer
023        extends BaseTransfer {
024    
025    private EntityAttributeTransfer entityAttribute;
026    private EntityInstanceTransfer entityInstance;
027    private LanguageTransfer language;
028    private String stringAttribute;
029    
030    /** Creates a new instance of EntityStringAttributeTransfer */
031    public EntityStringAttributeTransfer(EntityAttributeTransfer entityAttribute, EntityInstanceTransfer entityInstance,
032            LanguageTransfer language, String stringAttribute) {
033        this.entityAttribute = entityAttribute;
034        this.entityInstance = entityInstance;
035        this.language = language;
036        this.stringAttribute = stringAttribute;
037    }
038    
039    public EntityAttributeTransfer getEntityAttribute() {
040        return entityAttribute;
041    }
042    
043    public void setEntityAttribute(EntityAttributeTransfer entityAttribute) {
044        this.entityAttribute = entityAttribute;
045    }
046    
047    @Override
048    public EntityInstanceTransfer getEntityInstance() {
049        return entityInstance;
050    }
051    
052    @Override
053    public void setEntityInstance(EntityInstanceTransfer entityInstance) {
054        this.entityInstance = entityInstance;
055    }
056    
057    public LanguageTransfer getLanguage() {
058        return language;
059    }
060    
061    public void setLanguage(LanguageTransfer language) {
062        this.language = language;
063    }
064    
065    public String getStringAttribute() {
066        return stringAttribute;
067    }
068    
069    public void setStringAttribute(String stringAttribute) {
070        this.stringAttribute = stringAttribute;
071    }
072    
073}