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 EntityGeoPointAttributeTransfer 022 extends BaseTransfer { 023 024 private EntityAttributeTransfer entityAttribute; 025 private EntityInstanceTransfer entityInstance; 026 private Integer unformattedLatitude; 027 private String latitude; 028 private Integer unformattedLongitude; 029 private String longitude; 030 private String elevation; 031 private String altitude; 032 033 /** Creates a new instance of EntityGeoPointAttributeTransfer */ 034 public EntityGeoPointAttributeTransfer(EntityAttributeTransfer entityAttribute, EntityInstanceTransfer entityInstance, Integer unformattedLatitude, 035 String latitude, Integer unformattedLongitude, String longitude, String elevation, String altitude) { 036 this.entityAttribute = entityAttribute; 037 this.entityInstance = entityInstance; 038 this.unformattedLatitude = unformattedLatitude; 039 this.latitude = latitude; 040 this.unformattedLongitude = unformattedLongitude; 041 this.longitude = longitude; 042 this.elevation = elevation; 043 this.altitude = altitude; 044 } 045 046 /** 047 * Returns the entityAttribute. 048 * @return the entityAttribute 049 */ 050 public EntityAttributeTransfer getEntityAttribute() { 051 return entityAttribute; 052 } 053 054 /** 055 * Sets the entityAttribute. 056 * @param entityAttribute the entityAttribute to set 057 */ 058 public void setEntityAttribute(EntityAttributeTransfer entityAttribute) { 059 this.entityAttribute = entityAttribute; 060 } 061 062 /** 063 * Returns the entityInstance. 064 * @return the entityInstance 065 */ 066 @Override 067 public EntityInstanceTransfer getEntityInstance() { 068 return entityInstance; 069 } 070 071 /** 072 * Sets the entityInstance. 073 * @param entityInstance the entityInstance to set 074 */ 075 @Override 076 public void setEntityInstance(EntityInstanceTransfer entityInstance) { 077 this.entityInstance = entityInstance; 078 } 079 080 /** 081 * Returns the unformattedLatitude. 082 * @return the unformattedLatitude 083 */ 084 public Integer getUnformattedLatitude() { 085 return unformattedLatitude; 086 } 087 088 /** 089 * Sets the unformattedLatitude. 090 * @param unformattedLatitude the unformattedLatitude to set 091 */ 092 public void setUnformattedLatitude(Integer unformattedLatitude) { 093 this.unformattedLatitude = unformattedLatitude; 094 } 095 096 /** 097 * Returns the latitude. 098 * @return the latitude 099 */ 100 public String getLatitude() { 101 return latitude; 102 } 103 104 /** 105 * Sets the latitude. 106 * @param latitude the latitude to set 107 */ 108 public void setLatitude(String latitude) { 109 this.latitude = latitude; 110 } 111 112 /** 113 * Returns the unformattedLongitude. 114 * @return the unformattedLongitude 115 */ 116 public Integer getUnformattedLongitude() { 117 return unformattedLongitude; 118 } 119 120 /** 121 * Sets the unformattedLongitude. 122 * @param unformattedLongitude the unformattedLongitude to set 123 */ 124 public void setUnformattedLongitude(Integer unformattedLongitude) { 125 this.unformattedLongitude = unformattedLongitude; 126 } 127 128 /** 129 * Returns the longitude. 130 * @return the longitude 131 */ 132 public String getLongitude() { 133 return longitude; 134 } 135 136 /** 137 * Sets the longitude. 138 * @param longitude the longitude to set 139 */ 140 public void setLongitude(String longitude) { 141 this.longitude = longitude; 142 } 143 144 /** 145 * Returns the elevation. 146 * @return the elevation 147 */ 148 public String getElevation() { 149 return elevation; 150 } 151 152 /** 153 * Sets the elevation. 154 * @param elevation the elevation to set 155 */ 156 public void setElevation(String elevation) { 157 this.elevation = elevation; 158 } 159 160 /** 161 * Returns the altitude. 162 * @return the altitude 163 */ 164 public String getAltitude() { 165 return altitude; 166 } 167 168 /** 169 * Sets the altitude. 170 * @param altitude the altitude to set 171 */ 172 public void setAltitude(String altitude) { 173 this.altitude = altitude; 174 } 175 176}