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 EntityAppearanceTransfer 022 extends BaseTransfer { 023 024 private EntityInstanceTransfer entityInstance; 025 private AppearanceTransfer appearance; 026 027 /** Creates a new instance of EntityAttributeTransfer */ 028 public EntityAppearanceTransfer(EntityInstanceTransfer entityInstance, AppearanceTransfer appearance) { 029 this.entityInstance = entityInstance; 030 this.appearance = appearance; 031 } 032 033 /** 034 * Returns the entityInstace. 035 * @return the entityInstace 036 */ 037 @Override 038 public EntityInstanceTransfer getEntityInstance() { 039 return entityInstance; 040 } 041 042 /** 043 * Sets the entityInstace. 044 * @param entityInstance the entityInstace to set 045 */ 046 @Override 047 public void setEntityInstance(EntityInstanceTransfer entityInstance) { 048 this.entityInstance = entityInstance; 049 } 050 051 /** 052 * Returns the appearance. 053 * @return the appearance 054 */ 055 public AppearanceTransfer getAppearance() { 056 return appearance; 057 } 058 059 /** 060 * Sets the appearance. 061 * @param appearance the appearance to set 062 */ 063 public void setAppearance(AppearanceTransfer appearance) { 064 this.appearance = appearance; 065 } 066 067}