/**
 * Multimud Helper.
 * 
 * Copyright (C) 2009 Benjamin Lerman<br>
 * Copyright (C) 2009 Jacques ???
 * 
 * This program 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.
 * 
 * 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 General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package net.ambre.multimud_helper.bean;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Item object. That represents an item that can be found on the MUD.
 * 
 * TODO One must document each field.
 */
@Entity
public class Item implements Serializable {

    /**
     * serial version uid for {@link java.io.Serializable}.
     */
    private static final long serialVersionUID = 1L;

    /**
     * the primary key of the object.
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Integer id;

    private Integer ac;
    private Integer age;
    private Boolean canburnforever;
    private Boolean canfloat;
    private Integer castcharges;
    private Integer castlevel;
    private String castspells;
    private Integer cha;
    private String comments;
    private Integer con;
    private String condition;
    private Integer damroll;
    private Integer dex;
    private Double dmgavg;
    private String dmgdice;
    private Integer hitroll;
    private Integer intelligence;
    private Boolean ismagic;
    private Boolean isquestreward;
    private String itemtype;
    private Integer lifetime;
    private Integer maxhit;
    private Integer maxmana;
    private Integer maxmove;
    private Integer minlevel;
    private String mob;
    private String nameitem;
    private Boolean notforclerics;
    private Boolean notforevil;
    private Boolean notforgood;
    private Boolean notformages;
    private Boolean notforneutral;
    private Boolean notforthieves;
    private Boolean notforwarriors;
    private Boolean notlocatable;
    private Boolean notrentable;
    private Integer savingSpell;
    private Integer spellfocus;
    private Integer str;
    private String textitem;
    private Integer valueitem;
    private String weapontype;
    private Integer weight;
    private Integer wis;
    private String wornon;
    private String zone;

    /**
     * Construct a new item.
     */
    public Item() {
    }

    /**
     * getter for the ac property.
     * 
     * @return the ac
     */
    public Integer getAc() {
        return this.ac;
    }

    /**
     * getter for the age property.
     * 
     * @return the age
     */
    public Integer getAge() {
        return this.age;
    }

    /**
     * getter for the canburnforever property.
     * 
     * @return the canburnforever
     */
    public Boolean getCanburnforever() {
        return this.canburnforever;
    }

    /**
     * getter for the canfloat property.
     * 
     * @return the canfloat
     */
    public Boolean getCanfloat() {
        return this.canfloat;
    }

    /**
     * getter for the castcharges property.
     * 
     * @return the castcharges
     */
    public Integer getCastcharges() {
        return this.castcharges;
    }

    /**
     * getter for the castlevel property.
     * 
     * @return the castlevel
     */
    public Integer getCastlevel() {
        return this.castlevel;
    }

    /**
     * getter for the castspells property.
     * 
     * @return the castspells
     */
    public String getCastspells() {
        return this.castspells;
    }

    /**
     * getter for the cha property.
     * 
     * @return the cha
     */
    public Integer getCha() {
        return this.cha;
    }

    /**
     * getter for the comments property.
     * 
     * @return the comments
     */
    public String getComments() {
        return this.comments;
    }

    /**
     * getter for the con property.
     * 
     * @return the con
     */
    public Integer getCon() {
        return this.con;
    }

    /**
     * getter for the condition property.
     * 
     * @return the condition
     */
    public String getCondition() {
        return this.condition;
    }

    /**
     * getter for the damroll property.
     * 
     * @return the damroll
     */
    public Integer getDamroll() {
        return this.damroll;
    }

    /**
     * getter for the dex property.
     * 
     * @return the dex
     */
    public Integer getDex() {
        return this.dex;
    }

    /**
     * getter for the dmgavg property.
     * 
     * @return the dmgavg
     */
    public Double getDmgavg() {
        return this.dmgavg;
    }

    /**
     * getter for the dmgdice property.
     * 
     * @return the dmgdice
     */
    public String getDmgdice() {
        return this.dmgdice;
    }

    /**
     * getter for the hitroll property.
     * 
     * @return the hitroll
     */
    public Integer getHitroll() {
        return this.hitroll;
    }

    /**
     * getter for the id property.
     * 
     * @return the id
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * getter for the intelligence property.
     * 
     * @return the intelligence
     */
    public Integer getIntelligence() {
        return this.intelligence;
    }

    /**
     * getter for the ismagic property.
     * 
     * @return the ismagic
     */
    public Boolean getIsmagic() {
        return this.ismagic;
    }

    /**
     * getter for the isquestreward property.
     * 
     * @return the isquestreward
     */
    public Boolean getIsquestreward() {
        return this.isquestreward;
    }

    /**
     * getter for the itemtype property.
     * 
     * @return the itemtype
     */
    public String getItemtype() {
        return this.itemtype;
    }

    /**
     * getter for the lifetime property.
     * 
     * @return the lifetime
     */
    public Integer getLifetime() {
        return this.lifetime;
    }

    /**
     * getter for the maxhit property.
     * 
     * @return the maxhit
     */
    public Integer getMaxhit() {
        return this.maxhit;
    }

    /**
     * getter for the maxmana property.
     * 
     * @return the maxmana
     */
    public Integer getMaxmana() {
        return this.maxmana;
    }

    /**
     * getter for the maxmove property.
     * 
     * @return the maxmove
     */
    public Integer getMaxmove() {
        return this.maxmove;
    }

    /**
     * getter for the minlevel property.
     * 
     * @return the minlevel
     */
    public Integer getMinlevel() {
        return this.minlevel;
    }

    /**
     * getter for the mob property.
     * 
     * @return the mob
     */
    public String getMob() {
        return this.mob;
    }

    /**
     * getter for the nameitem property.
     * 
     * @return the nameitem
     */
    public String getNameitem() {
        return this.nameitem;
    }

    /**
     * getter for the notforclerics property.
     * 
     * @return the notforclerics
     */
    public Boolean getNotforclerics() {
        return this.notforclerics;
    }

    /**
     * getter for the notforevil property.
     * 
     * @return the notforevil
     */
    public Boolean getNotforevil() {
        return this.notforevil;
    }

    /**
     * getter for the notforgood property.
     * 
     * @return the notforgood
     */
    public Boolean getNotforgood() {
        return this.notforgood;
    }

    /**
     * getter for the notformages property.
     * 
     * @return the notformages
     */
    public Boolean getNotformages() {
        return this.notformages;
    }

    /**
     * getter for the notforneutral property.
     * 
     * @return the notforneutral
     */
    public Boolean getNotforneutral() {
        return this.notforneutral;
    }

    /**
     * getter for the notforthieves property.
     * 
     * @return the notforthieves
     */
    public Boolean getNotforthieves() {
        return this.notforthieves;
    }

    /**
     * getter for the notforwarriors property.
     * 
     * @return the notforwarriors
     */
    public Boolean getNotforwarriors() {
        return this.notforwarriors;
    }

    /**
     * getter for the notlocatable property.
     * 
     * @return the notlocatable
     */
    public Boolean getNotlocatable() {
        return this.notlocatable;
    }

    /**
     * getter for the notrentable property.
     * 
     * @return the notrentable
     */
    public Boolean getNotrentable() {
        return this.notrentable;
    }

    /**
     * getter for the savingSpell property.
     * 
     * @return the savingSpell
     */
    public Integer getSavingSpell() {
        return this.savingSpell;
    }

    /**
     * getter for the spellfocus property.
     * 
     * @return the spellfocus
     */
    public Integer getSpellfocus() {
        return this.spellfocus;
    }

    /**
     * getter for the str property.
     * 
     * @return the str
     */
    public Integer getStr() {
        return this.str;
    }

    /**
     * getter for the textitem property.
     * 
     * @return the textitem
     */
    public String getTextitem() {
        return this.textitem;
    }

    /**
     * getter for the valueitem property.
     * 
     * @return the valueitem
     */
    public Integer getValueitem() {
        return this.valueitem;
    }

    /**
     * getter for the weapontype property.
     * 
     * @return the weapontype
     */
    public String getWeapontype() {
        return this.weapontype;
    }

    /**
     * getter for the weight property.
     * 
     * @return the weight
     */
    public Integer getWeight() {
        return this.weight;
    }

    /**
     * getter for the wis property.
     * 
     * @return the wis
     */
    public Integer getWis() {
        return this.wis;
    }

    /**
     * getter for the wornon property.
     * 
     * @return the wornon
     */
    public String getWornon() {
        return this.wornon;
    }

    /**
     * getter for the zone property.
     * 
     * @return the zone
     */
    public String getZone() {
        return this.zone;
    }

    /**
     * setter for the ac property.
     * 
     * @param ac the ac to set
     */
    public void setAc(Integer ac) {
        this.ac = ac;
    }

    /**
     * setter for the age property.
     * 
     * @param age the age to set
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * setter for the canburnforever property.
     * 
     * @param canburnforever the canburnforever to set
     */
    public void setCanburnforever(Boolean canburnforever) {
        this.canburnforever = canburnforever;
    }

    /**
     * setter for the canfloat property.
     * 
     * @param canfloat the canfloat to set
     */
    public void setCanfloat(Boolean canfloat) {
        this.canfloat = canfloat;
    }

    /**
     * setter for the castcharges property.
     * 
     * @param castcharges the castcharges to set
     */
    public void setCastcharges(Integer castcharges) {
        this.castcharges = castcharges;
    }

    /**
     * setter for the castlevel property.
     * 
     * @param castlevel the castlevel to set
     */
    public void setCastlevel(Integer castlevel) {
        this.castlevel = castlevel;
    }

    /**
     * setter for the castspells property.
     * 
     * @param castspells the castspells to set
     */
    public void setCastspells(String castspells) {
        this.castspells = castspells;
    }

    /**
     * setter for the cha property.
     * 
     * @param cha the cha to set
     */
    public void setCha(Integer cha) {
        this.cha = cha;
    }

    /**
     * setter for the comments property.
     * 
     * @param comments the comments to set
     */
    public void setComments(String comments) {
        this.comments = comments;
    }

    /**
     * setter for the con property.
     * 
     * @param con the con to set
     */
    public void setCon(Integer con) {
        this.con = con;
    }

    /**
     * setter for the condition property.
     * 
     * @param condition the condition to set
     */
    public void setCondition(String condition) {
        this.condition = condition;
    }

    /**
     * setter for the damroll property.
     * 
     * @param damroll the damroll to set
     */
    public void setDamroll(Integer damroll) {
        this.damroll = damroll;
    }

    /**
     * setter for the dex property.
     * 
     * @param dex the dex to set
     */
    public void setDex(Integer dex) {
        this.dex = dex;
    }

    /**
     * setter for the dmgavg property.
     * 
     * @param dmgavg the dmgavg to set
     */
    public void setDmgavg(Double dmgavg) {
        this.dmgavg = dmgavg;
    }

    /**
     * setter for the dmgdice property.
     * 
     * @param dmgdice the dmgdice to set
     */
    public void setDmgdice(String dmgdice) {
        this.dmgdice = dmgdice;
    }

    /**
     * setter for the hitroll property.
     * 
     * @param hitroll the hitroll to set
     */
    public void setHitroll(Integer hitroll) {
        this.hitroll = hitroll;
    }

    /**
     * setter for the id property.
     * 
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * setter for the intelligence property.
     * 
     * @param intelligence the intelligence to set
     */
    public void setIntelligence(Integer intelligence) {
        this.intelligence = intelligence;
    }

    /**
     * setter for the ismagic property.
     * 
     * @param ismagic the ismagic to set
     */
    public void setIsmagic(Boolean ismagic) {
        this.ismagic = ismagic;
    }

    /**
     * setter for the isquestreward property.
     * 
     * @param isquestreward the isquestreward to set
     */
    public void setIsquestreward(Boolean isquestreward) {
        this.isquestreward = isquestreward;
    }

    /**
     * setter for the itemtype property.
     * 
     * @param itemtype the itemtype to set
     */
    public void setItemtype(String itemtype) {
        this.itemtype = itemtype;
    }

    /**
     * setter for the lifetime property.
     * 
     * @param lifetime the lifetime to set
     */
    public void setLifetime(Integer lifetime) {
        this.lifetime = lifetime;
    }

    /**
     * setter for the maxhit property.
     * 
     * @param maxhit the maxhit to set
     */
    public void setMaxhit(Integer maxhit) {
        this.maxhit = maxhit;
    }

    /**
     * setter for the maxmana property.
     * 
     * @param maxmana the maxmana to set
     */
    public void setMaxmana(Integer maxmana) {
        this.maxmana = maxmana;
    }

    /**
     * setter for the maxmove property.
     * 
     * @param maxmove the maxmove to set
     */
    public void setMaxmove(Integer maxmove) {
        this.maxmove = maxmove;
    }

    /**
     * setter for the minlevel property.
     * 
     * @param minlevel the minlevel to set
     */
    public void setMinlevel(Integer minlevel) {
        this.minlevel = minlevel;
    }

    /**
     * setter for the mob property.
     * 
     * @param mob the mob to set
     */
    public void setMob(String mob) {
        this.mob = mob;
    }

    /**
     * setter for the nameitem property.
     * 
     * @param nameitem the nameitem to set
     */
    public void setNameitem(String nameitem) {
        this.nameitem = nameitem;
    }

    /**
     * setter for the notforclerics property.
     * 
     * @param notforclerics the notforclerics to set
     */
    public void setNotforclerics(Boolean notforclerics) {
        this.notforclerics = notforclerics;
    }

    /**
     * setter for the notforevil property.
     * 
     * @param notforevil the notforevil to set
     */
    public void setNotforevil(Boolean notforevil) {
        this.notforevil = notforevil;
    }

    /**
     * setter for the notforgood property.
     * 
     * @param notforgood the notforgood to set
     */
    public void setNotforgood(Boolean notforgood) {
        this.notforgood = notforgood;
    }

    /**
     * setter for the notformages property.
     * 
     * @param notformages the notformages to set
     */
    public void setNotformages(Boolean notformages) {
        this.notformages = notformages;
    }

    /**
     * setter for the notforneutral property.
     * 
     * @param notforneutral the notforneutral to set
     */
    public void setNotforneutral(Boolean notforneutral) {
        this.notforneutral = notforneutral;
    }

    /**
     * setter for the notforthieves property.
     * 
     * @param notforthieves the notforthieves to set
     */
    public void setNotforthieves(Boolean notforthieves) {
        this.notforthieves = notforthieves;
    }

    /**
     * setter for the notforwarriors property.
     * 
     * @param notforwarriors the notforwarriors to set
     */
    public void setNotforwarriors(Boolean notforwarriors) {
        this.notforwarriors = notforwarriors;
    }

    /**
     * setter for the notlocatable property.
     * 
     * @param notlocatable the notlocatable to set
     */
    public void setNotlocatable(Boolean notlocatable) {
        this.notlocatable = notlocatable;
    }

    /**
     * setter for the notrentable property.
     * 
     * @param notrentable the notrentable to set
     */
    public void setNotrentable(Boolean notrentable) {
        this.notrentable = notrentable;
    }

    /**
     * setter for the savingSpell property.
     * 
     * @param savingSpell the savingSpell to set
     */
    public void setSavingSpell(Integer savingSpell) {
        this.savingSpell = savingSpell;
    }

    /**
     * setter for the spellfocus property.
     * 
     * @param spellfocus the spellfocus to set
     */
    public void setSpellfocus(Integer spellfocus) {
        this.spellfocus = spellfocus;
    }

    /**
     * setter for the str property.
     * 
     * @param str the str to set
     */
    public void setStr(Integer str) {
        this.str = str;
    }

    /**
     * setter for the textitem property.
     * 
     * @param textitem the textitem to set
     */
    public void setTextitem(String textitem) {
        this.textitem = textitem;
    }

    /**
     * setter for the valueitem property.
     * 
     * @param valueitem the valueitem to set
     */
    public void setValueitem(Integer valueitem) {
        this.valueitem = valueitem;
    }

    /**
     * setter for the weapontype property.
     * 
     * @param weapontype the weapontype to set
     */
    public void setWeapontype(String weapontype) {
        this.weapontype = weapontype;
    }

    /**
     * setter for the weight property.
     * 
     * @param weight the weight to set
     */
    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    /**
     * setter for the wis property.
     * 
     * @param wis the wis to set
     */
    public void setWis(Integer wis) {
        this.wis = wis;
    }

    /**
     * setter for the wornon property.
     * 
     * @param wornon the wornon to set
     */
    public void setWornon(String wornon) {
        this.wornon = wornon;
    }

    /**
     * setter for the zone property.
     * 
     * @param zone the zone to set
     */
    public void setZone(String zone) {
        this.zone = zone;
    }

}
