content: /**
   * This file is part of Aion-Lightning <aion-lightning.org>.
   *
   *  Aion-Lightning is free software: you can redistribute it and/or modify
   *  it under the terms of the GNU General Public License as published by
   *  the Free Software Foundation, either version 3 of the License, or
   *  (at your option) any later version.
   *
   *  Aion-Lightning 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 General Public License for more details. *
   *  You should have received a copy of the GNU General Public License
   *  along with Aion-Lightning.
   *  If not, see <http://www.gnu.org/licenses/>.
   */
  package com.aionemu.gameserver.model.templates.portal;
  
  import javax.xml.bind.annotation.XmlAccessType;
  import javax.xml.bind.annotation.XmlAccessorType;
  import javax.xml.bind.annotation.XmlAttribute;
  import javax.xml.bind.annotation.XmlElement;
  import javax.xml.bind.annotation.XmlType;
  
  import com.aionemu.gameserver.model.Race;
  
  /**
   * @author xTz
   */
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "PortalPath")
  public class PortalPath {
  
  	@XmlElement(name = "portal_req")
  	protected PortalReq portalReq;
  	@XmlAttribute(name = "dialog")
  	protected int dialog;
  	@XmlAttribute(name = "loc_id")
  	protected int locId;
  	@XmlAttribute(name = "player_count")
  	protected int playerCount;
  	@XmlAttribute(name = "instance")
  	protected boolean instance;
  	@XmlAttribute(name = "siege_id")
  	protected int siegeId;
  	@XmlAttribute(name = "race")
  	protected Race race = Race.PC_ALL;
  	@XmlAttribute(name = "err_group")
  	protected int errGroup;
  
  	public PortalReq getPortalReq() {
  		return portalReq;
  	}
  
  	public int getDialog() {
  		return dialog;
  	}
  
  	public void setDialog(int value) {
  		this.dialog = value;
  	}
  
  	public int getLocId() {
  		return locId;
  	}
  
  	public void setLocId(int value) {
  		this.locId = value;
  	}
  
  	public int getPlayerCount() {
  		return playerCount;
  	}
  
  	public void setPlayerCount(int value) {
  		this.playerCount = value;
  	}
  
  	public boolean isInstance() {
  		return instance;
  	}
  
  	public void setInstance(boolean value) {
  		this.instance = value;
  	}
  
  	public int getSigeId() {
  		return siegeId;
  	}
  
  	public Race getRace() {
  		return race;
  	}
  
  	public int getErrGroup() {
  		return errGroup;
  	}
  }
  