/**
 * Copyright 2016, RadiantBlue Technologies, Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/
package model.data.type;

import model.data.DataType;
import model.data.FileRepresentation;
import model.data.location.FileLocation;

/**
 * Represents a geojson format with accompanying file stored somewhere accessible to Piazza.
 * 
 * @author Sonny.Saniev
 * 
 */
public class GeoJsonDataType implements DataType, FileRepresentation {
	public static final String type = "geojson";
	public FileLocation location;
	public String mimeType;

	public String getMimeType() {
		return mimeType;
	}

	public void setMimeType(String mimeType) {
		this.mimeType = mimeType;
	}

	public GeoJsonDataType() {

	}

	public String getType() {
		return type;
	}

	/**
	 * Gets the location of the geojson.
	 * 
	 * @return geojson postgis location
	 */
	public FileLocation getLocation() {
		return location;
	}

	/**
	 * Sets the location of the geojson
	 * 
	 * @param location
	 *            The location object
	 */
	public void setLocation(FileLocation location) {
		this.location = location;
	}
}

@@ -819,16 +819,19 @@
 omewhere
+%0A *
  accessi
@@ -998,16 +998,50 @@
 ojson%22;%0A
+%09public String databaseTableName;%0A
 %09public 
@@ -1635,11 +1635,167 @@
 tion;%0A%09%7D
+%0A%0A%09/**%0A%09 * %0A%09 * @param databaseTableName%0A%09 */%0A%09public void setDatabaseTableName(String databaseTableName) %7B%0A%09%09this.databaseTableName = databaseTableName;%0A%09%7D
 %0A%7D%0A

Add placeholder to reference db table name