<commit_before>/******************************************************************************
Copyright Härnösands kommun(C) 2014  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Affero General Public License
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/agpl-3.0.html
 ******************************************************************************/

package org.oemap.services.beans;

import java.io.IOException;

import org.codehaus.jackson.JsonProcessingException;

import se.unlogic.standardutils.dao.annotations.DAOManaged;
import se.unlogic.standardutils.dao.annotations.Key;
import se.unlogic.standardutils.dao.annotations.Table;
import se.unlogic.standardutils.xml.XMLElement;

/**
 * 
 * @author <NAME> - Sweco Position AB Bean for layer in oemapadmin
 */

@Table(name = "oemapadmin_layers")
public class Layer extends ConfigBase {

	@XMLElement
	@DAOManaged(autoGenerated = true)
	@Key
	private Integer layerId;

	@XMLElement
	@DAOManaged
	private String name;

	@XMLElement
	@DAOManaged(dontUpdateIfNull = false)
	private String wms;

	@XMLElement
	@DAOManaged(dontUpdateIfNull = false)
	private String wfs;

	@XMLElement
	@DAOManaged
	private Integer serverId;

	@XMLElement
	@DAOManaged
	private Boolean isSearchable;

	@XMLElement
	@DAOManaged
	private String urlToMetadata;

	public String getUrlToMetadata() {
		return urlToMetadata;
	}

	public void setUrlToMetadata(String urlToMetadata) {
		this.urlToMetadata = urlToMetadata;
	}

	public Boolean getIsSearchable() {
		return isSearchable;
	}

	public void setIsSearchable(Boolean isSearchable) {
		this.isSearchable = isSearchable;
	}

	public Integer getLayerId() {
		return layerId;<commit_msg>added isGroupLayer for layer<commit_after>/******************************************************************************
Copyright Härnösands kommun(C) 2014  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Affero General Public License
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/agpl-3.0.html
 ******************************************************************************/

package org.oemap.services.beans;

import java.io.IOException;

import org.codehaus.jackson.JsonProcessingException;

import se.unlogic.standardutils.dao.annotations.DAOManaged;
import se.unlogic.standardutils.dao.annotations.Key;
import se.unlogic.standardutils.dao.annotations.Table;
import se.unlogic.standardutils.xml.XMLElement;

/**
 * 
 * @author <NAME> - Sweco Position AB Bean for layer in oemapadmin
 */

@Table(name = "oemapadmin_layers")
public class Layer extends ConfigBase {

	@XMLElement
	@DAOManaged(autoGenerated = true)
	@Key
	private Integer layerId;

	@XMLElement
	@DAOManaged
	private String name;

	@XMLElement
	@DAOManaged(dontUpdateIfNull = false)
	private String wms;

	@XMLElement
	@DAOManaged(dontUpdateIfNull = false)
	private String wfs;

	@XMLElement
	@DAOManaged
	private Integer serverId;

	@XMLElement
	@DAOManaged
	private Boolean isSearchable;

	@XMLElement
	@DAOManaged
	private String urlToMetadata;
	
	@XMLElement
	@DAOManaged
	private Boolean isGroupLayer;

	public Boolean getIsGroupLayer() {
		return isGroupLayer;
	}

	public void setIsGroupLayer(Boolean isGroupLayer) {
		this.isGroupLayer = isGroupLayer;
	}

	public String getUrlToMetadata() {
		return urlToMetadata;
	}

	public void setUrlToMetadata(String urlToMetadata) {
		this.urlToMetadata = urlToMetadata;
	}

	public Boolean getIsSearchable() {
		return isSearchable;
	}

	public void setIsSearchable(Boolean isSearchable) {
		this.isSearchable = isSearchable;
	}

	public Integer getLayerId() {
		return layerId;
{'fraction_non_alphanumeric': 0.12466177039041361, 'fraction_numerical': 0.002705836876691148, 'mean_word_length': 4.705622932745314, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4547053', 'n_tokens_mistral': 1512, 'n_tokens_neox': 1447, 'n_words': 494}