diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/.gitignore b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/.gitignore new file mode 100644 index 000000000..f0d1cb5fb --- /dev/null +++ b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/.gitignore @@ -0,0 +1,2 @@ +# Auto generated sources +/generated diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/META-INF/sun-jaxb.episode b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/META-INF/sun-jaxb.episode deleted file mode 100755 index 7373f7c63..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/META-INF/sun-jaxb.episode +++ /dev/null @@ -1,86 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/AbstractTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/AbstractTemplate.java deleted file mode 100755 index 5b6487102..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/AbstractTemplate.java +++ /dev/null @@ -1,48 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for AbstractTemplate complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="AbstractTemplate">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AbstractTemplate") -@XmlSeeAlso({ - ItemTemplate.class, - ActorTemplate.class, - SkillTemplate.class, - TeleportationTemplate.class -}) -public abstract class AbstractTemplate - implements Template -{ - - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ActorTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ActorTemplate.java deleted file mode 100755 index c9c5fc78c..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ActorTemplate.java +++ /dev/null @@ -1,44 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for ActorTemplate complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="ActorTemplate">
- *   <complexContent>
- *     <extension base="{}AbstractTemplate">
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ActorTemplate") -@XmlSeeAlso({ - CharacterTemplate.class, - NPCTemplate.class -}) -public abstract class ActorTemplate - extends AbstractTemplate -{ - - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunction.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunction.java deleted file mode 100644 index 1a67502be..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunction.java +++ /dev/null @@ -1,148 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for CalculatorFunction complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="CalculatorFunction">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="set" type="{}CalculatorFunctionOperation" minOccurs="0"/>
- *         <element name="add" type="{}CalculatorFunctionOperation" minOccurs="0"/>
- *         <element name="subtract" type="{}CalculatorFunctionOperation" minOccurs="0"/>
- *         <element name="random" type="{}CalculatorFunctionOperation" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CalculatorFunction", propOrder = { - "set", - "add", - "subtract", - "random" -}) -public class CalculatorFunction { - - protected CalculatorFunctionOperation set; - protected CalculatorFunctionOperation add; - protected CalculatorFunctionOperation subtract; - protected CalculatorFunctionOperation random; - - /** - * Gets the value of the set property. - * - * @return - * possible object is - * {@link CalculatorFunctionOperation } - * - */ - public CalculatorFunctionOperation getSet() { - return set; - } - - /** - * Sets the value of the set property. - * - * @param value - * allowed object is - * {@link CalculatorFunctionOperation } - * - */ - public void setSet(CalculatorFunctionOperation value) { - this.set = value; - } - - /** - * Gets the value of the add property. - * - * @return - * possible object is - * {@link CalculatorFunctionOperation } - * - */ - public CalculatorFunctionOperation getAdd() { - return add; - } - - /** - * Sets the value of the add property. - * - * @param value - * allowed object is - * {@link CalculatorFunctionOperation } - * - */ - public void setAdd(CalculatorFunctionOperation value) { - this.add = value; - } - - /** - * Gets the value of the subtract property. - * - * @return - * possible object is - * {@link CalculatorFunctionOperation } - * - */ - public CalculatorFunctionOperation getSubtract() { - return subtract; - } - - /** - * Sets the value of the subtract property. - * - * @param value - * allowed object is - * {@link CalculatorFunctionOperation } - * - */ - public void setSubtract(CalculatorFunctionOperation value) { - this.subtract = value; - } - - /** - * Gets the value of the random property. - * - * @return - * possible object is - * {@link CalculatorFunctionOperation } - * - */ - public CalculatorFunctionOperation getRandom() { - return random; - } - - /** - * Sets the value of the random property. - * - * @param value - * allowed object is - * {@link CalculatorFunctionOperation } - * - */ - public void setRandom(CalculatorFunctionOperation value) { - this.random = value; - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunctionOperation.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunctionOperation.java deleted file mode 100755 index bc360c649..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CalculatorFunctionOperation.java +++ /dev/null @@ -1,85 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import java.math.BigInteger; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for CalculatorFunctionOperation complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="CalculatorFunctionOperation">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
- *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CalculatorFunctionOperation") -public class CalculatorFunctionOperation { - - @XmlAttribute(name = "order", required = true) - protected BigInteger order; - @XmlAttribute(name = "value", required = true) - protected double value; - - /** - * Gets the value of the order property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setOrder(BigInteger value) { - this.order = value; - } - - /** - * Gets the value of the value property. - * - */ - public double getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - */ - public void setValue(double value) { - this.value = value; - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CharacterTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CharacterTemplate.java deleted file mode 100755 index 0afa041c7..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/CharacterTemplate.java +++ /dev/null @@ -1,1894 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import com.l2jserver.model.id.template.CharacterTemplateID; -import com.l2jserver.util.jaxb.CharacterTemplateIDAdapter; - - -/** - *

Java class for character element declaration. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <element name="character">
- *   <complexType>
- *     <complexContent>
- *       <extension base="{}ActorTemplate">
- *         <sequence>
- *           <element name="stats">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence>
- *                     <element name="hp">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="mp">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="cp">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="attack">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                               <element name="physical">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                       </sequence>
- *                                       <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                       <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                               <element name="magical">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                       </sequence>
- *                                       <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                       <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                             </sequence>
- *                             <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="accuracy" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="defense">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                               <element name="physical">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                       </sequence>
- *                                       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                               <element name="magical">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                       </sequence>
- *                                       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                             </sequence>
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="move">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="base">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="maxload" type="{http://www.w3.org/2001/XMLSchema}int"/>
- *                   </sequence>
- *                   <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                   <attribute name="crafter" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *           <element name="collision">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence>
- *                     <element name="male">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="female">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                   </sequence>
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *         </sequence>
- *         <attribute name="class" use="required" type="{http://schemas.l2jserver2.com/character}CharacterTemplateID" />
- *       </extension>
- *     </complexContent>
- *   </complexType>
- * </element>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "stats", - "collision" -}) -@XmlRootElement(name = "character", namespace = "http://schemas.l2jserver2.com/character") -public class CharacterTemplate - extends ActorTemplate -{ - - @XmlElement(required = true) - protected CharacterTemplate.Stats stats; - @XmlElement(required = true) - protected CharacterTemplate.Collision collision; - @XmlAttribute(name = "class", required = true) - @XmlJavaTypeAdapter(CharacterTemplateIDAdapter.class) - protected CharacterTemplateID id; - - /** - * Gets the value of the stats property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats } - * - */ - public CharacterTemplate.Stats getStats() { - return stats; - } - - /** - * Sets the value of the stats property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats } - * - */ - public void setStats(CharacterTemplate.Stats value) { - this.stats = value; - } - - /** - * Gets the value of the collision property. - * - * @return - * possible object is - * {@link CharacterTemplate.Collision } - * - */ - public CharacterTemplate.Collision getCollision() { - return collision; - } - - /** - * Sets the value of the collision property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Collision } - * - */ - public void setCollision(CharacterTemplate.Collision value) { - this.collision = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public CharacterTemplateID getID() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setID(CharacterTemplateID value) { - this.id = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="male">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="female">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "male", - "female" - }) - public static class Collision { - - @XmlElement(required = true) - protected CharacterTemplate.Collision.Male male; - @XmlElement(required = true) - protected CharacterTemplate.Collision.Female female; - - /** - * Gets the value of the male property. - * - * @return - * possible object is - * {@link CharacterTemplate.Collision.Male } - * - */ - public CharacterTemplate.Collision.Male getMale() { - return male; - } - - /** - * Sets the value of the male property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Collision.Male } - * - */ - public void setMale(CharacterTemplate.Collision.Male value) { - this.male = value; - } - - /** - * Gets the value of the female property. - * - * @return - * possible object is - * {@link CharacterTemplate.Collision.Female } - * - */ - public CharacterTemplate.Collision.Female getFemale() { - return female; - } - - /** - * Sets the value of the female property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Collision.Female } - * - */ - public void setFemale(CharacterTemplate.Collision.Female value) { - this.female = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Female { - - @XmlAttribute(name = "radius", required = true) - protected double radius; - @XmlAttribute(name = "heigth", required = true) - protected double heigth; - - /** - * Gets the value of the radius property. - * - */ - public double getRadius() { - return radius; - } - - /** - * Sets the value of the radius property. - * - */ - public void setRadius(double value) { - this.radius = value; - } - - /** - * Gets the value of the heigth property. - * - */ - public double getHeigth() { - return heigth; - } - - /** - * Sets the value of the heigth property. - * - */ - public void setHeigth(double value) { - this.heigth = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Male { - - @XmlAttribute(name = "radius", required = true) - protected double radius; - @XmlAttribute(name = "heigth", required = true) - protected double heigth; - - /** - * Gets the value of the radius property. - * - */ - public double getRadius() { - return radius; - } - - /** - * Sets the value of the radius property. - * - */ - public void setRadius(double value) { - this.radius = value; - } - - /** - * Gets the value of the heigth property. - * - */ - public double getHeigth() { - return heigth; - } - - /** - * Sets the value of the heigth property. - * - */ - public void setHeigth(double value) { - this.heigth = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="hp">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="mp">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="cp">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="attack">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                   <element name="physical">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                           </sequence>
-     *                           <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                           <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                   <element name="magical">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                           </sequence>
-     *                           <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                           <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                 </sequence>
-     *                 <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="accuracy" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="defense">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                   <element name="physical">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                           </sequence>
-     *                           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                   <element name="magical">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                           </sequence>
-     *                           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                 </sequence>
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="move">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="base">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="maxload" type="{http://www.w3.org/2001/XMLSchema}int"/>
-     *       </sequence>
-     *       <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *       <attribute name="crafter" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "hp", - "mp", - "cp", - "attack", - "defense", - "move", - "base", - "maxload" - }) - public static class Stats { - - @XmlElement(required = true) - protected CharacterTemplate.Stats.Hp hp; - @XmlElement(required = true) - protected CharacterTemplate.Stats.Mp mp; - @XmlElement(required = true) - protected CharacterTemplate.Stats.Cp cp; - @XmlElement(required = true) - protected CharacterTemplate.Stats.Attack attack; - @XmlElement(required = true) - protected CharacterTemplate.Stats.Defense defense; - @XmlElement(required = true) - protected CharacterTemplate.Stats.Move move; - @XmlElement(required = true) - protected CharacterTemplate.Stats.Base base; - protected int maxload; - @XmlAttribute(name = "level", required = true) - protected int level; - @XmlAttribute(name = "crafter", required = true) - protected boolean crafter; - - /** - * Gets the value of the hp property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Hp } - * - */ - public CharacterTemplate.Stats.Hp getHp() { - return hp; - } - - /** - * Sets the value of the hp property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Hp } - * - */ - public void setHp(CharacterTemplate.Stats.Hp value) { - this.hp = value; - } - - /** - * Gets the value of the mp property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Mp } - * - */ - public CharacterTemplate.Stats.Mp getMp() { - return mp; - } - - /** - * Sets the value of the mp property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Mp } - * - */ - public void setMp(CharacterTemplate.Stats.Mp value) { - this.mp = value; - } - - /** - * Gets the value of the cp property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Cp } - * - */ - public CharacterTemplate.Stats.Cp getCp() { - return cp; - } - - /** - * Sets the value of the cp property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Cp } - * - */ - public void setCp(CharacterTemplate.Stats.Cp value) { - this.cp = value; - } - - /** - * Gets the value of the attack property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Attack } - * - */ - public CharacterTemplate.Stats.Attack getAttack() { - return attack; - } - - /** - * Sets the value of the attack property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Attack } - * - */ - public void setAttack(CharacterTemplate.Stats.Attack value) { - this.attack = value; - } - - /** - * Gets the value of the defense property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Defense } - * - */ - public CharacterTemplate.Stats.Defense getDefense() { - return defense; - } - - /** - * Sets the value of the defense property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Defense } - * - */ - public void setDefense(CharacterTemplate.Stats.Defense value) { - this.defense = value; - } - - /** - * Gets the value of the move property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Move } - * - */ - public CharacterTemplate.Stats.Move getMove() { - return move; - } - - /** - * Sets the value of the move property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Move } - * - */ - public void setMove(CharacterTemplate.Stats.Move value) { - this.move = value; - } - - /** - * Gets the value of the base property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Base } - * - */ - public CharacterTemplate.Stats.Base getBase() { - return base; - } - - /** - * Sets the value of the base property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Base } - * - */ - public void setBase(CharacterTemplate.Stats.Base value) { - this.base = value; - } - - /** - * Gets the value of the maxload property. - * - */ - public int getMaxload() { - return maxload; - } - - /** - * Sets the value of the maxload property. - * - */ - public void setMaxload(int value) { - this.maxload = value; - } - - /** - * Gets the value of the level property. - * - */ - public int getLevel() { - return level; - } - - /** - * Sets the value of the level property. - * - */ - public void setLevel(int value) { - this.level = value; - } - - /** - * Gets the value of the crafter property. - * - */ - public boolean isCrafter() { - return crafter; - } - - /** - * Sets the value of the crafter property. - * - */ - public void setCrafter(boolean value) { - this.crafter = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *         <element name="physical">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                 </sequence>
-         *                 <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                 <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *         <element name="magical">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                 </sequence>
-         *                 <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                 <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *       </sequence>
-         *       <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="accuracy" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "physical", - "magical" - }) - public static class Attack { - - @XmlElement(required = true) - protected CharacterTemplate.Stats.Attack.Physical physical; - @XmlElement(required = true) - protected CharacterTemplate.Stats.Attack.Magical magical; - @XmlAttribute(name = "evasion", required = true) - protected int evasion; - @XmlAttribute(name = "critical", required = true) - protected int critical; - @XmlAttribute(name = "accuracy", required = true) - protected int accuracy; - - /** - * Gets the value of the physical property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Attack.Physical } - * - */ - public CharacterTemplate.Stats.Attack.Physical getPhysical() { - return physical; - } - - /** - * Sets the value of the physical property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Attack.Physical } - * - */ - public void setPhysical(CharacterTemplate.Stats.Attack.Physical value) { - this.physical = value; - } - - /** - * Gets the value of the magical property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Attack.Magical } - * - */ - public CharacterTemplate.Stats.Attack.Magical getMagical() { - return magical; - } - - /** - * Sets the value of the magical property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Attack.Magical } - * - */ - public void setMagical(CharacterTemplate.Stats.Attack.Magical value) { - this.magical = value; - } - - /** - * Gets the value of the evasion property. - * - */ - public int getEvasion() { - return evasion; - } - - /** - * Sets the value of the evasion property. - * - */ - public void setEvasion(int value) { - this.evasion = value; - } - - /** - * Gets the value of the critical property. - * - */ - public int getCritical() { - return critical; - } - - /** - * Sets the value of the critical property. - * - */ - public void setCritical(int value) { - this.critical = value; - } - - /** - * Gets the value of the accuracy property. - * - */ - public int getAccuracy() { - return accuracy; - } - - /** - * Sets the value of the accuracy property. - * - */ - public void setAccuracy(int value) { - this.accuracy = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *       </sequence>
-             *       <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *       <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Magical { - - @XmlAttribute(name = "damage", required = true) - protected double damage; - @XmlAttribute(name = "speed", required = true) - protected double speed; - - /** - * Gets the value of the damage property. - * - */ - public double getDamage() { - return damage; - } - - /** - * Sets the value of the damage property. - * - */ - public void setDamage(double value) { - this.damage = value; - } - - /** - * Gets the value of the speed property. - * - */ - public double getSpeed() { - return speed; - } - - /** - * Sets the value of the speed property. - * - */ - public void setSpeed(double value) { - this.speed = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *       </sequence>
-             *       <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *       <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Physical { - - @XmlAttribute(name = "damage", required = true) - protected double damage; - @XmlAttribute(name = "speed", required = true) - protected double speed; - - /** - * Gets the value of the damage property. - * - */ - public double getDamage() { - return damage; - } - - /** - * Sets the value of the damage property. - * - */ - public void setDamage(double value) { - this.damage = value; - } - - /** - * Gets the value of the speed property. - * - */ - public double getSpeed() { - return speed; - } - - /** - * Sets the value of the speed property. - * - */ - public void setSpeed(double value) { - this.speed = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Base { - - @XmlAttribute(name = "int", required = true) - protected int _int; - @XmlAttribute(name = "str", required = true) - protected int str; - @XmlAttribute(name = "con", required = true) - protected int con; - @XmlAttribute(name = "men", required = true) - protected int men; - @XmlAttribute(name = "dex", required = true) - protected int dex; - @XmlAttribute(name = "wit", required = true) - protected int wit; - - /** - * Gets the value of the int property. - * - */ - public int getInt() { - return _int; - } - - /** - * Sets the value of the int property. - * - */ - public void setInt(int value) { - this._int = value; - } - - /** - * Gets the value of the str property. - * - */ - public int getStr() { - return str; - } - - /** - * Sets the value of the str property. - * - */ - public void setStr(int value) { - this.str = value; - } - - /** - * Gets the value of the con property. - * - */ - public int getCon() { - return con; - } - - /** - * Sets the value of the con property. - * - */ - public void setCon(int value) { - this.con = value; - } - - /** - * Gets the value of the men property. - * - */ - public int getMen() { - return men; - } - - /** - * Sets the value of the men property. - * - */ - public void setMen(int value) { - this.men = value; - } - - /** - * Gets the value of the dex property. - * - */ - public int getDex() { - return dex; - } - - /** - * Sets the value of the dex property. - * - */ - public void setDex(int value) { - this.dex = value; - } - - /** - * Gets the value of the wit property. - * - */ - public int getWit() { - return wit; - } - - /** - * Sets the value of the wit property. - * - */ - public void setWit(int value) { - this.wit = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Cp { - - @XmlAttribute(name = "base", required = true) - protected double base; - @XmlAttribute(name = "modifier", required = true) - protected double modifier; - @XmlAttribute(name = "add", required = true) - protected double add; - - /** - * Gets the value of the base property. - * - */ - public double getBase() { - return base; - } - - /** - * Sets the value of the base property. - * - */ - public void setBase(double value) { - this.base = value; - } - - /** - * Gets the value of the modifier property. - * - */ - public double getModifier() { - return modifier; - } - - /** - * Sets the value of the modifier property. - * - */ - public void setModifier(double value) { - this.modifier = value; - } - - /** - * Gets the value of the add property. - * - */ - public double getAdd() { - return add; - } - - /** - * Sets the value of the add property. - * - */ - public void setAdd(double value) { - this.add = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *         <element name="physical">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                 </sequence>
-         *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *         <element name="magical">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                 </sequence>
-         *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *       </sequence>
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "physical", - "magical" - }) - public static class Defense { - - @XmlElement(required = true) - protected CharacterTemplate.Stats.Defense.Physical physical; - @XmlElement(required = true) - protected CharacterTemplate.Stats.Defense.Magical magical; - - /** - * Gets the value of the physical property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Defense.Physical } - * - */ - public CharacterTemplate.Stats.Defense.Physical getPhysical() { - return physical; - } - - /** - * Sets the value of the physical property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Defense.Physical } - * - */ - public void setPhysical(CharacterTemplate.Stats.Defense.Physical value) { - this.physical = value; - } - - /** - * Gets the value of the magical property. - * - * @return - * possible object is - * {@link CharacterTemplate.Stats.Defense.Magical } - * - */ - public CharacterTemplate.Stats.Defense.Magical getMagical() { - return magical; - } - - /** - * Sets the value of the magical property. - * - * @param value - * allowed object is - * {@link CharacterTemplate.Stats.Defense.Magical } - * - */ - public void setMagical(CharacterTemplate.Stats.Defense.Magical value) { - this.magical = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *       </sequence>
-             *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Magical { - - @XmlAttribute(name = "value", required = true) - protected double value; - - /** - * Gets the value of the value property. - * - */ - public double getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - */ - public void setValue(double value) { - this.value = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *       </sequence>
-             *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Physical { - - @XmlAttribute(name = "value", required = true) - protected double value; - - /** - * Gets the value of the value property. - * - */ - public double getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - */ - public void setValue(double value) { - this.value = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Hp { - - @XmlAttribute(name = "base", required = true) - protected double base; - @XmlAttribute(name = "modifier", required = true) - protected double modifier; - @XmlAttribute(name = "add", required = true) - protected double add; - - /** - * Gets the value of the base property. - * - */ - public double getBase() { - return base; - } - - /** - * Sets the value of the base property. - * - */ - public void setBase(double value) { - this.base = value; - } - - /** - * Gets the value of the modifier property. - * - */ - public double getModifier() { - return modifier; - } - - /** - * Sets the value of the modifier property. - * - */ - public void setModifier(double value) { - this.modifier = value; - } - - /** - * Gets the value of the add property. - * - */ - public double getAdd() { - return add; - } - - /** - * Sets the value of the add property. - * - */ - public void setAdd(double value) { - this.add = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Move { - - @XmlAttribute(name = "run", required = true) - protected double run; - @XmlAttribute(name = "walk", required = true) - protected double walk; - - /** - * Gets the value of the run property. - * - */ - public double getRun() { - return run; - } - - /** - * Sets the value of the run property. - * - */ - public void setRun(double value) { - this.run = value; - } - - /** - * Gets the value of the walk property. - * - */ - public double getWalk() { - return walk; - } - - /** - * Sets the value of the walk property. - * - */ - public void setWalk(double value) { - this.walk = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="modifier" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="add" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Mp { - - @XmlAttribute(name = "base", required = true) - protected double base; - @XmlAttribute(name = "modifier", required = true) - protected double modifier; - @XmlAttribute(name = "add", required = true) - protected double add; - - /** - * Gets the value of the base property. - * - */ - public double getBase() { - return base; - } - - /** - * Sets the value of the base property. - * - */ - public void setBase(double value) { - this.base = value; - } - - /** - * Gets the value of the modifier property. - * - */ - public double getModifier() { - return modifier; - } - - /** - * Sets the value of the modifier property. - * - */ - public void setModifier(double value) { - this.modifier = value; - } - - /** - * Gets the value of the add property. - * - */ - public double getAdd() { - return add; - } - - /** - * Sets the value of the add property. - * - */ - public void setAdd(double value) { - this.add = value; - } - - } - - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ItemTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ItemTemplate.java deleted file mode 100755 index 767edd05d..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ItemTemplate.java +++ /dev/null @@ -1,1187 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import com.l2jserver.model.id.template.ItemTemplateID; -import com.l2jserver.model.template.item.ArmorType; -import com.l2jserver.model.template.item.ItemMaterial; -import com.l2jserver.model.template.item.ItemType; -import com.l2jserver.model.template.item.WeaponType; -import com.l2jserver.util.jaxb.ArmorTypeAdapter; -import com.l2jserver.util.jaxb.ItemMaterialAdapter; -import com.l2jserver.util.jaxb.ItemTemplateIDAdapter; -import com.l2jserver.util.jaxb.ItemTypeAdapter; -import com.l2jserver.util.jaxb.WeaponTypeAdapter; - - -/** - *

Java class for item element declaration. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <element name="item">
- *   <complexType>
- *     <complexContent>
- *       <extension base="{}AbstractTemplate">
- *         <sequence>
- *           <element name="attributes">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence>
- *                     <element name="cost">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                   </sequence>
- *                   <attribute name="weigth" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                   <attribute name="material" type="{http://schemas.l2jserver2.com/item}ItemMaterial" />
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *           <element name="controller">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <attribute name="defaultAction" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *           <element name="effect">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <attribute name="type">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="IMMEDIATE"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </attribute>
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *           <choice minOccurs="0">
- *             <element name="etcItem">
- *               <complexType>
- *                 <complexContent>
- *                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                     <attribute name="type" type="{http://schemas.l2jserver2.com/item}ItemType" />
- *                   </restriction>
- *                 </complexContent>
- *               </complexType>
- *             </element>
- *             <element name="weapon">
- *               <complexType>
- *                 <complexContent>
- *                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                     <sequence>
- *                       <element name="physicalDamage" type="{}CalculatorFunction"/>
- *                       <element name="magicalDamage" type="{}CalculatorFunction"/>
- *                       <element name="criticalChance" type="{}CalculatorFunction"/>
- *                       <element name="physicalAttackSpeed" type="{}CalculatorFunction"/>
- *                     </sequence>
- *                     <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- *                     <attribute name="type" type="{http://schemas.l2jserver2.com/item}WeaponType" />
- *                   </restriction>
- *                 </complexContent>
- *               </complexType>
- *             </element>
- *             <element name="armor">
- *               <complexType>
- *                 <complexContent>
- *                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                     <sequence>
- *                       <element name="cost">
- *                         <complexType>
- *                           <complexContent>
- *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                               <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- *                             </restriction>
- *                           </complexContent>
- *                         </complexType>
- *                       </element>
- *                       <element name="equipment">
- *                         <complexType>
- *                           <complexContent>
- *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                               <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- *                             </restriction>
- *                           </complexContent>
- *                         </complexType>
- *                       </element>
- *                     </sequence>
- *                     <attribute name="weigth" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
- *                     <attribute name="type" type="{http://schemas.l2jserver2.com/item}ArmorType" />
- *                   </restriction>
- *                 </complexContent>
- *               </complexType>
- *             </element>
- *           </choice>
- *         </sequence>
- *         <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- *         <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *         <attribute name="icon" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       </extension>
- *     </complexContent>
- *   </complexType>
- * </element>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "attributes", - "controller", - "effect", - "etcItem", - "weapon", - "armor" -}) -@XmlRootElement(name = "item", namespace = "http://schemas.l2jserver2.com/item") -public class ItemTemplate - extends AbstractTemplate -{ - - @XmlElement(required = true) - protected ItemTemplate.Attributes attributes; - @XmlElement(required = true) - protected ItemTemplate.Controller controller; - @XmlElement(required = true) - protected ItemTemplate.Effect effect; - protected ItemTemplate.EtcItem etcItem; - protected ItemTemplate.Weapon weapon; - protected ItemTemplate.Armor armor; - @XmlAttribute(name = "id", required = true) - @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class) - protected ItemTemplateID id; - @XmlAttribute(name = "name", required = true) - protected String name; - @XmlAttribute(name = "icon") - protected String icon; - - /** - * Gets the value of the attributes property. - * - * @return - * possible object is - * {@link ItemTemplate.Attributes } - * - */ - public ItemTemplate.Attributes getAttributes() { - return attributes; - } - - /** - * Sets the value of the attributes property. - * - * @param value - * allowed object is - * {@link ItemTemplate.Attributes } - * - */ - public void setAttributes(ItemTemplate.Attributes value) { - this.attributes = value; - } - - /** - * Gets the value of the controller property. - * - * @return - * possible object is - * {@link ItemTemplate.Controller } - * - */ - public ItemTemplate.Controller getController() { - return controller; - } - - /** - * Sets the value of the controller property. - * - * @param value - * allowed object is - * {@link ItemTemplate.Controller } - * - */ - public void setController(ItemTemplate.Controller value) { - this.controller = value; - } - - /** - * Gets the value of the effect property. - * - * @return - * possible object is - * {@link ItemTemplate.Effect } - * - */ - public ItemTemplate.Effect getEffect() { - return effect; - } - - /** - * Sets the value of the effect property. - * - * @param value - * allowed object is - * {@link ItemTemplate.Effect } - * - */ - public void setEffect(ItemTemplate.Effect value) { - this.effect = value; - } - - /** - * Gets the value of the etcItem property. - * - * @return - * possible object is - * {@link ItemTemplate.EtcItem } - * - */ - public ItemTemplate.EtcItem getEtcItem() { - return etcItem; - } - - /** - * Sets the value of the etcItem property. - * - * @param value - * allowed object is - * {@link ItemTemplate.EtcItem } - * - */ - public void setEtcItem(ItemTemplate.EtcItem value) { - this.etcItem = value; - } - - /** - * Gets the value of the weapon property. - * - * @return - * possible object is - * {@link ItemTemplate.Weapon } - * - */ - public ItemTemplate.Weapon getWeapon() { - return weapon; - } - - /** - * Sets the value of the weapon property. - * - * @param value - * allowed object is - * {@link ItemTemplate.Weapon } - * - */ - public void setWeapon(ItemTemplate.Weapon value) { - this.weapon = value; - } - - /** - * Gets the value of the armor property. - * - * @return - * possible object is - * {@link ItemTemplate.Armor } - * - */ - public ItemTemplate.Armor getArmor() { - return armor; - } - - /** - * Sets the value of the armor property. - * - * @param value - * allowed object is - * {@link ItemTemplate.Armor } - * - */ - public void setArmor(ItemTemplate.Armor value) { - this.armor = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public ItemTemplateID getID() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setID(ItemTemplateID value) { - this.id = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets the value of the icon property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getIcon() { - return icon; - } - - /** - * Sets the value of the icon property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setIcon(String value) { - this.icon = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="cost">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="equipment">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *       <attribute name="weigth" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
-     *       <attribute name="type" type="{http://schemas.l2jserver2.com/item}ArmorType" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "cost", - "equipment" - }) - public static class Armor { - - @XmlElement(required = true) - protected ItemTemplate.Armor.Cost cost; - @XmlElement(required = true) - protected ItemTemplate.Armor.Equipment equipment; - @XmlAttribute(name = "weigth") - @XmlSchemaType(name = "anySimpleType") - protected String weigth; - @XmlAttribute(name = "type") - @XmlJavaTypeAdapter(ArmorTypeAdapter.class) - protected ArmorType type; - - /** - * Gets the value of the cost property. - * - * @return - * possible object is - * {@link ItemTemplate.Armor.Cost } - * - */ - public ItemTemplate.Armor.Cost getCost() { - return cost; - } - - /** - * Sets the value of the cost property. - * - * @param value - * allowed object is - * {@link ItemTemplate.Armor.Cost } - * - */ - public void setCost(ItemTemplate.Armor.Cost value) { - this.cost = value; - } - - /** - * Gets the value of the equipment property. - * - * @return - * possible object is - * {@link ItemTemplate.Armor.Equipment } - * - */ - public ItemTemplate.Armor.Equipment getEquipment() { - return equipment; - } - - /** - * Sets the value of the equipment property. - * - * @param value - * allowed object is - * {@link ItemTemplate.Armor.Equipment } - * - */ - public void setEquipment(ItemTemplate.Armor.Equipment value) { - this.equipment = value; - } - - /** - * Gets the value of the weigth property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getWeigth() { - return weigth; - } - - /** - * Sets the value of the weigth property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setWeigth(String value) { - this.weigth = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public ArmorType getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(ArmorType value) { - this.type = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Cost { - - @XmlAttribute(name = "adena") - @XmlSchemaType(name = "anySimpleType") - protected String adena; - - /** - * Gets the value of the adena property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAdena() { - return adena; - } - - /** - * Sets the value of the adena property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAdena(String value) { - this.adena = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Equipment { - - @XmlAttribute(name = "part") - @XmlSchemaType(name = "anySimpleType") - protected String part; - - /** - * Gets the value of the part property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPart() { - return part; - } - - /** - * Sets the value of the part property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPart(String value) { - this.part = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="cost">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *       <attribute name="weigth" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *       <attribute name="material" type="{http://schemas.l2jserver2.com/item}ItemMaterial" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "cost" - }) - public static class Attributes { - - @XmlElement(required = true) - protected ItemTemplate.Attributes.Cost cost; - @XmlAttribute(name = "weigth") - protected Integer weigth; - @XmlAttribute(name = "material") - @XmlJavaTypeAdapter(ItemMaterialAdapter.class) - protected ItemMaterial material; - - /** - * Gets the value of the cost property. - * - * @return - * possible object is - * {@link ItemTemplate.Attributes.Cost } - * - */ - public ItemTemplate.Attributes.Cost getCost() { - return cost; - } - - /** - * Sets the value of the cost property. - * - * @param value - * allowed object is - * {@link ItemTemplate.Attributes.Cost } - * - */ - public void setCost(ItemTemplate.Attributes.Cost value) { - this.cost = value; - } - - /** - * Gets the value of the weigth property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getWeigth() { - return weigth; - } - - /** - * Sets the value of the weigth property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setWeigth(Integer value) { - this.weigth = value; - } - - /** - * Gets the value of the material property. - * - * @return - * possible object is - * {@link String } - * - */ - public ItemMaterial getMaterial() { - return material; - } - - /** - * Sets the value of the material property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMaterial(ItemMaterial value) { - this.material = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <attribute name="adena" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Cost { - - @XmlAttribute(name = "adena") - protected Integer adena; - - /** - * Gets the value of the adena property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getAdena() { - return adena; - } - - /** - * Sets the value of the adena property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setAdena(Integer value) { - this.adena = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <attribute name="defaultAction" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Controller { - - @XmlAttribute(name = "defaultAction") - @XmlSchemaType(name = "anySimpleType") - protected String defaultAction; - - /** - * Gets the value of the defaultAction property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDefaultAction() { - return defaultAction; - } - - /** - * Sets the value of the defaultAction property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDefaultAction(String value) { - this.defaultAction = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <attribute name="type">
-     *         <simpleType>
-     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *             <enumeration value="IMMEDIATE"/>
-     *           </restriction>
-     *         </simpleType>
-     *       </attribute>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Effect { - - @XmlAttribute(name = "type") - protected String type; - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <attribute name="type" type="{http://schemas.l2jserver2.com/item}ItemType" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class EtcItem { - - @XmlAttribute(name = "type") - @XmlJavaTypeAdapter(ItemTypeAdapter.class) - protected ItemType type; - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public ItemType getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(ItemType value) { - this.type = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="physicalDamage" type="{}CalculatorFunction"/>
-     *         <element name="magicalDamage" type="{}CalculatorFunction"/>
-     *         <element name="criticalChance" type="{}CalculatorFunction"/>
-     *         <element name="physicalAttackSpeed" type="{}CalculatorFunction"/>
-     *       </sequence>
-     *       <attribute name="part" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
-     *       <attribute name="type" type="{http://schemas.l2jserver2.com/item}WeaponType" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "physicalDamage", - "magicalDamage", - "criticalChance", - "physicalAttackSpeed" - }) - public static class Weapon { - - @XmlElement(required = true) - protected CalculatorFunction physicalDamage; - @XmlElement(required = true) - protected CalculatorFunction magicalDamage; - @XmlElement(required = true) - protected CalculatorFunction criticalChance; - @XmlElement(required = true) - protected CalculatorFunction physicalAttackSpeed; - @XmlAttribute(name = "part") - @XmlSchemaType(name = "anySimpleType") - protected String part; - @XmlAttribute(name = "type") - @XmlJavaTypeAdapter(WeaponTypeAdapter.class) - protected WeaponType type; - - /** - * Gets the value of the physicalDamage property. - * - * @return - * possible object is - * {@link CalculatorFunction } - * - */ - public CalculatorFunction getPhysicalDamage() { - return physicalDamage; - } - - /** - * Sets the value of the physicalDamage property. - * - * @param value - * allowed object is - * {@link CalculatorFunction } - * - */ - public void setPhysicalDamage(CalculatorFunction value) { - this.physicalDamage = value; - } - - /** - * Gets the value of the magicalDamage property. - * - * @return - * possible object is - * {@link CalculatorFunction } - * - */ - public CalculatorFunction getMagicalDamage() { - return magicalDamage; - } - - /** - * Sets the value of the magicalDamage property. - * - * @param value - * allowed object is - * {@link CalculatorFunction } - * - */ - public void setMagicalDamage(CalculatorFunction value) { - this.magicalDamage = value; - } - - /** - * Gets the value of the criticalChance property. - * - * @return - * possible object is - * {@link CalculatorFunction } - * - */ - public CalculatorFunction getCriticalChance() { - return criticalChance; - } - - /** - * Sets the value of the criticalChance property. - * - * @param value - * allowed object is - * {@link CalculatorFunction } - * - */ - public void setCriticalChance(CalculatorFunction value) { - this.criticalChance = value; - } - - /** - * Gets the value of the physicalAttackSpeed property. - * - * @return - * possible object is - * {@link CalculatorFunction } - * - */ - public CalculatorFunction getPhysicalAttackSpeed() { - return physicalAttackSpeed; - } - - /** - * Sets the value of the physicalAttackSpeed property. - * - * @param value - * allowed object is - * {@link CalculatorFunction } - * - */ - public void setPhysicalAttackSpeed(CalculatorFunction value) { - this.physicalAttackSpeed = value; - } - - /** - * Gets the value of the part property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPart() { - return part; - } - - /** - * Sets the value of the part property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPart(String value) { - this.part = value; - } - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public WeaponType getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(WeaponType value) { - this.type = value; - } - - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/NPCTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/NPCTemplate.java deleted file mode 100755 index db64ef387..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/NPCTemplate.java +++ /dev/null @@ -1,3320 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import java.util.ArrayList; -import java.util.List; -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.XmlEnum; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.XmlValue; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import com.l2jserver.model.id.template.ItemTemplateID; -import com.l2jserver.model.id.template.NPCTemplateID; -import com.l2jserver.model.id.template.SkillTemplateID; -import com.l2jserver.model.template.actor.ActorSex; -import com.l2jserver.model.template.npc.NPCRace; -import com.l2jserver.util.jaxb.ActorSexAdapter; -import com.l2jserver.util.jaxb.ClassAdapter; -import com.l2jserver.util.jaxb.ItemTemplateIDAdapter; -import com.l2jserver.util.jaxb.NPCRaceAdapter; -import com.l2jserver.util.jaxb.NPCTemplateIDAdapter; -import com.l2jserver.util.jaxb.SkillTemplateIDAdapter; - - -/** - *

Java class for npc element declaration. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <element name="npc">
- *   <complexType>
- *     <complexContent>
- *       <extension base="{}ActorTemplate">
- *         <sequence>
- *           <element name="info">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence>
- *                     <element name="name" minOccurs="0">
- *                       <complexType>
- *                         <simpleContent>
- *                           <extension base="<http://www.w3.org/2001/XMLSchema>string">
- *                             <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *                             <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *                           </extension>
- *                         </simpleContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="title" minOccurs="0">
- *                       <complexType>
- *                         <simpleContent>
- *                           <extension base="<http://www.w3.org/2001/XMLSchema>string">
- *                             <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *                           </extension>
- *                         </simpleContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="level" type="{http://www.w3.org/2001/XMLSchema}int"/>
- *                     <element name="race" type="{http://schemas.l2jserver2.com/npc}NPCRace" minOccurs="0"/>
- *                     <element name="sex" type="{}ActorSexType" minOccurs="0"/>
- *                     <element name="stats">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                               <element name="hp">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                       </sequence>
- *                                       <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                       <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                               <element name="mp">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                       </sequence>
- *                                       <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                       <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                               <element name="attack" minOccurs="0">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                         <element name="physical">
- *                                           <complexType>
- *                                             <complexContent>
- *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                                 <sequence>
- *                                                 </sequence>
- *                                                 <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                                 <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                               </restriction>
- *                                             </complexContent>
- *                                           </complexType>
- *                                         </element>
- *                                         <element name="magical">
- *                                           <complexType>
- *                                             <complexContent>
- *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                                 <sequence>
- *                                                 </sequence>
- *                                                 <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                                 <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                               </restriction>
- *                                             </complexContent>
- *                                           </complexType>
- *                                         </element>
- *                                       </sequence>
- *                                       <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                       <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                       <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                               <element name="defense" minOccurs="0">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                         <element name="physical">
- *                                           <complexType>
- *                                             <complexContent>
- *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                                 <sequence>
- *                                                 </sequence>
- *                                                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                               </restriction>
- *                                             </complexContent>
- *                                           </complexType>
- *                                         </element>
- *                                         <element name="magical">
- *                                           <complexType>
- *                                             <complexContent>
- *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                                 <sequence>
- *                                                 </sequence>
- *                                                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                               </restriction>
- *                                             </complexContent>
- *                                           </complexType>
- *                                         </element>
- *                                       </sequence>
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                               <element name="move" minOccurs="0">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                       </sequence>
- *                                       <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                       <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                               <element name="base">
- *                                 <complexType>
- *                                   <complexContent>
- *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                       <sequence>
- *                                       </sequence>
- *                                       <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                       <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                       <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                       <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                       <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                       <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                                     </restriction>
- *                                   </complexContent>
- *                                 </complexType>
- *                               </element>
- *                             </sequence>
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="experience" type="{http://www.w3.org/2001/XMLSchema}long"/>
- *                     <element name="sp" type="{http://www.w3.org/2001/XMLSchema}int"/>
- *                     <element name="item" minOccurs="0">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="rightHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- *                             <attribute name="leftHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                     <element name="collision" minOccurs="0">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                             <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                   </sequence>
- *                   <attribute name="attackable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *                   <attribute name="targetable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *                   <attribute name="aggressive" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *           <element name="ai" minOccurs="0">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence>
- *                   </sequence>
- *                   <attribute name="script" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *           <element name="talk" minOccurs="0">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence>
- *                     <element name="chat" maxOccurs="unbounded">
- *                       <complexType>
- *                         <simpleContent>
- *                           <extension base="<http://www.w3.org/2001/XMLSchema>string">
- *                             <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *                           </extension>
- *                         </simpleContent>
- *                       </complexType>
- *                     </element>
- *                   </sequence>
- *                   <attribute name="default" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *           <element name="droplist" minOccurs="0">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence>
- *                     <element name="item" maxOccurs="unbounded">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
- *                             <attribute name="min" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                             <attribute name="category" use="required">
- *                               <simpleType>
- *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                                   <enumeration value="DROP"/>
- *                                   <enumeration value="SPOIL"/>
- *                                   <enumeration value="UNK_1"/>
- *                                   <enumeration value="UNK_2"/>
- *                                   <enumeration value="UNK_3"/>
- *                                   <enumeration value="UNK_4"/>
- *                                   <enumeration value="UNK_5"/>
- *                                   <enumeration value="UNK_6"/>
- *                                   <enumeration value="UNK_7"/>
- *                                   <enumeration value="UNK_8"/>
- *                                   <enumeration value="UNK_9"/>
- *                                   <enumeration value="UNK_10"/>
- *                                   <enumeration value="UNK_11"/>
- *                                   <enumeration value="UNK_12"/>
- *                                   <enumeration value="UNK_13"/>
- *                                   <enumeration value="UNK_14"/>
- *                                   <enumeration value="UNK_15"/>
- *                                   <enumeration value="UNK_16"/>
- *                                   <enumeration value="UNK_17"/>
- *                                   <enumeration value="UNK_18"/>
- *                                   <enumeration value="UNK_19"/>
- *                                   <enumeration value="UNK_20"/>
- *                                   <enumeration value="UNK_21"/>
- *                                   <enumeration value="UNK_22"/>
- *                                   <enumeration value="UNK_23"/>
- *                                   <enumeration value="UNK_24"/>
- *                                   <enumeration value="UNK_25"/>
- *                                   <enumeration value="UNK_26"/>
- *                                   <enumeration value="UNK_27"/>
- *                                   <enumeration value="UNK_28"/>
- *                                   <enumeration value="UNK_29"/>
- *                                   <enumeration value="UNK_30"/>
- *                                   <enumeration value="UNK_31"/>
- *                                   <enumeration value="UNK_32"/>
- *                                   <enumeration value="UNK_33"/>
- *                                   <enumeration value="UNK_34"/>
- *                                   <enumeration value="UNK_35"/>
- *                                   <enumeration value="UNK_36"/>
- *                                   <enumeration value="UNK_100"/>
- *                                   <enumeration value="UNK_101"/>
- *                                   <enumeration value="UNK_102"/>
- *                                   <enumeration value="UNK_200"/>
- *                                 </restriction>
- *                               </simpleType>
- *                             </attribute>
- *                             <attribute name="chance" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                   </sequence>
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *           <element name="skills" minOccurs="0">
- *             <complexType>
- *               <complexContent>
- *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                   <sequence>
- *                     <element name="skill" maxOccurs="unbounded">
- *                       <complexType>
- *                         <complexContent>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                             <sequence>
- *                             </sequence>
- *                             <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/skill}SkillTemplateID" />
- *                             <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                           </restriction>
- *                         </complexContent>
- *                       </complexType>
- *                     </element>
- *                   </sequence>
- *                 </restriction>
- *               </complexContent>
- *             </complexType>
- *           </element>
- *         </sequence>
- *         <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/npc}NPCTemplateID" />
- *         <attribute name="controller" use="required">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *             </restriction>
- *           </simpleType>
- *         </attribute>
- *       </extension>
- *     </complexContent>
- *   </complexType>
- * </element>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "info", - "ai", - "talk", - "droplist", - "skills" -}) -@XmlRootElement(name = "npc", namespace = "http://schemas.l2jserver2.com/npc") -public class NPCTemplate - extends ActorTemplate -{ - - @XmlElement(required = true) - protected NPCTemplate.Info info; - protected NPCTemplate.Ai ai; - protected NPCTemplate.Talk talk; - protected NPCTemplate.Droplist droplist; - protected NPCTemplate.Skills skills; - @XmlAttribute(name = "id", required = true) - @XmlJavaTypeAdapter(NPCTemplateIDAdapter.class) - protected NPCTemplateID id; - @XmlAttribute(name = "controller", required = true) - @XmlJavaTypeAdapter(ClassAdapter.class) - protected Class controller; - - /** - * Gets the value of the info property. - * - * @return - * possible object is - * {@link NPCTemplate.Info } - * - */ - public NPCTemplate.Info getInfo() { - return info; - } - - /** - * Sets the value of the info property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info } - * - */ - public void setInfo(NPCTemplate.Info value) { - this.info = value; - } - - /** - * Gets the value of the ai property. - * - * @return - * possible object is - * {@link NPCTemplate.Ai } - * - */ - public NPCTemplate.Ai getAi() { - return ai; - } - - /** - * Sets the value of the ai property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Ai } - * - */ - public void setAi(NPCTemplate.Ai value) { - this.ai = value; - } - - /** - * Gets the value of the talk property. - * - * @return - * possible object is - * {@link NPCTemplate.Talk } - * - */ - public NPCTemplate.Talk getTalk() { - return talk; - } - - /** - * Sets the value of the talk property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Talk } - * - */ - public void setTalk(NPCTemplate.Talk value) { - this.talk = value; - } - - /** - * Gets the value of the droplist property. - * - * @return - * possible object is - * {@link NPCTemplate.Droplist } - * - */ - public NPCTemplate.Droplist getDroplist() { - return droplist; - } - - /** - * Sets the value of the droplist property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Droplist } - * - */ - public void setDroplist(NPCTemplate.Droplist value) { - this.droplist = value; - } - - /** - * Gets the value of the skills property. - * - * @return - * possible object is - * {@link NPCTemplate.Skills } - * - */ - public NPCTemplate.Skills getSkills() { - return skills; - } - - /** - * Sets the value of the skills property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Skills } - * - */ - public void setSkills(NPCTemplate.Skills value) { - this.skills = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public NPCTemplateID getID() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setID(NPCTemplateID value) { - this.id = value; - } - - /** - * Gets the value of the controller property. - * - * @return - * possible object is - * {@link String } - * - */ - public Class getController() { - return controller; - } - - /** - * Sets the value of the controller property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setController(Class value) { - this.controller = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *       </sequence>
-     *       <attribute name="script" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Ai { - - @XmlAttribute(name = "script", required = true) - protected String script; - - /** - * Gets the value of the script property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getScript() { - return script; - } - - /** - * Sets the value of the script property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setScript(String value) { - this.script = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="item" maxOccurs="unbounded">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
-     *                 <attribute name="min" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                 <attribute name="category" use="required">
-     *                   <simpleType>
-     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *                       <enumeration value="DROP"/>
-     *                       <enumeration value="SPOIL"/>
-     *                       <enumeration value="UNK_1"/>
-     *                       <enumeration value="UNK_2"/>
-     *                       <enumeration value="UNK_3"/>
-     *                       <enumeration value="UNK_4"/>
-     *                       <enumeration value="UNK_5"/>
-     *                       <enumeration value="UNK_6"/>
-     *                       <enumeration value="UNK_7"/>
-     *                       <enumeration value="UNK_8"/>
-     *                       <enumeration value="UNK_9"/>
-     *                       <enumeration value="UNK_10"/>
-     *                       <enumeration value="UNK_11"/>
-     *                       <enumeration value="UNK_12"/>
-     *                       <enumeration value="UNK_13"/>
-     *                       <enumeration value="UNK_14"/>
-     *                       <enumeration value="UNK_15"/>
-     *                       <enumeration value="UNK_16"/>
-     *                       <enumeration value="UNK_17"/>
-     *                       <enumeration value="UNK_18"/>
-     *                       <enumeration value="UNK_19"/>
-     *                       <enumeration value="UNK_20"/>
-     *                       <enumeration value="UNK_21"/>
-     *                       <enumeration value="UNK_22"/>
-     *                       <enumeration value="UNK_23"/>
-     *                       <enumeration value="UNK_24"/>
-     *                       <enumeration value="UNK_25"/>
-     *                       <enumeration value="UNK_26"/>
-     *                       <enumeration value="UNK_27"/>
-     *                       <enumeration value="UNK_28"/>
-     *                       <enumeration value="UNK_29"/>
-     *                       <enumeration value="UNK_30"/>
-     *                       <enumeration value="UNK_31"/>
-     *                       <enumeration value="UNK_32"/>
-     *                       <enumeration value="UNK_33"/>
-     *                       <enumeration value="UNK_34"/>
-     *                       <enumeration value="UNK_35"/>
-     *                       <enumeration value="UNK_36"/>
-     *                       <enumeration value="UNK_100"/>
-     *                       <enumeration value="UNK_101"/>
-     *                       <enumeration value="UNK_102"/>
-     *                       <enumeration value="UNK_200"/>
-     *                     </restriction>
-     *                   </simpleType>
-     *                 </attribute>
-     *                 <attribute name="chance" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "item" - }) - public static class Droplist { - - @XmlElement(required = true) - protected List item; - - /** - * Gets the value of the item property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getItem().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link NPCTemplate.Droplist.Item } - * - * - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
-         *       <attribute name="min" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *       <attribute name="category" use="required">
-         *         <simpleType>
-         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-         *             <enumeration value="DROP"/>
-         *             <enumeration value="SPOIL"/>
-         *             <enumeration value="UNK_1"/>
-         *             <enumeration value="UNK_2"/>
-         *             <enumeration value="UNK_3"/>
-         *             <enumeration value="UNK_4"/>
-         *             <enumeration value="UNK_5"/>
-         *             <enumeration value="UNK_6"/>
-         *             <enumeration value="UNK_7"/>
-         *             <enumeration value="UNK_8"/>
-         *             <enumeration value="UNK_9"/>
-         *             <enumeration value="UNK_10"/>
-         *             <enumeration value="UNK_11"/>
-         *             <enumeration value="UNK_12"/>
-         *             <enumeration value="UNK_13"/>
-         *             <enumeration value="UNK_14"/>
-         *             <enumeration value="UNK_15"/>
-         *             <enumeration value="UNK_16"/>
-         *             <enumeration value="UNK_17"/>
-         *             <enumeration value="UNK_18"/>
-         *             <enumeration value="UNK_19"/>
-         *             <enumeration value="UNK_20"/>
-         *             <enumeration value="UNK_21"/>
-         *             <enumeration value="UNK_22"/>
-         *             <enumeration value="UNK_23"/>
-         *             <enumeration value="UNK_24"/>
-         *             <enumeration value="UNK_25"/>
-         *             <enumeration value="UNK_26"/>
-         *             <enumeration value="UNK_27"/>
-         *             <enumeration value="UNK_28"/>
-         *             <enumeration value="UNK_29"/>
-         *             <enumeration value="UNK_30"/>
-         *             <enumeration value="UNK_31"/>
-         *             <enumeration value="UNK_32"/>
-         *             <enumeration value="UNK_33"/>
-         *             <enumeration value="UNK_34"/>
-         *             <enumeration value="UNK_35"/>
-         *             <enumeration value="UNK_36"/>
-         *             <enumeration value="UNK_100"/>
-         *             <enumeration value="UNK_101"/>
-         *             <enumeration value="UNK_102"/>
-         *             <enumeration value="UNK_200"/>
-         *           </restriction>
-         *         </simpleType>
-         *       </attribute>
-         *       <attribute name="chance" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(name = "id", required = true) - @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class) - protected ItemTemplateID id; - @XmlAttribute(name = "min", required = true) - protected int min; - @XmlAttribute(name = "max", required = true) - protected int max; - @XmlAttribute(name = "category", required = true) - protected NPCTemplate.Droplist.Item.DropCategory category; - @XmlAttribute(name = "chance", required = true) - protected int chance; - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public ItemTemplateID getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(ItemTemplateID value) { - this.id = value; - } - - /** - * Gets the value of the min property. - * - */ - public int getMin() { - return min; - } - - /** - * Sets the value of the min property. - * - */ - public void setMin(int value) { - this.min = value; - } - - /** - * Gets the value of the max property. - * - */ - public int getMax() { - return max; - } - - /** - * Sets the value of the max property. - * - */ - public void setMax(int value) { - this.max = value; - } - - /** - * Gets the value of the category property. - * - * @return - * possible object is - * {@link NPCTemplate.Droplist.Item.DropCategory } - * - */ - public NPCTemplate.Droplist.Item.DropCategory getCategory() { - return category; - } - - /** - * Sets the value of the category property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Droplist.Item.DropCategory } - * - */ - public void setCategory(NPCTemplate.Droplist.Item.DropCategory value) { - this.category = value; - } - - /** - * Gets the value of the chance property. - * - */ - public int getChance() { - return chance; - } - - /** - * Sets the value of the chance property. - * - */ - public void setChance(int value) { - this.chance = value; - } - - - /** - *

Java class for null. - * - *

The following schema fragment specifies the expected content contained within this class. - *

- *

-             * <simpleType>
-             *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-             *     <enumeration value="DROP"/>
-             *     <enumeration value="SPOIL"/>
-             *     <enumeration value="UNK_1"/>
-             *     <enumeration value="UNK_2"/>
-             *     <enumeration value="UNK_3"/>
-             *     <enumeration value="UNK_4"/>
-             *     <enumeration value="UNK_5"/>
-             *     <enumeration value="UNK_6"/>
-             *     <enumeration value="UNK_7"/>
-             *     <enumeration value="UNK_8"/>
-             *     <enumeration value="UNK_9"/>
-             *     <enumeration value="UNK_10"/>
-             *     <enumeration value="UNK_11"/>
-             *     <enumeration value="UNK_12"/>
-             *     <enumeration value="UNK_13"/>
-             *     <enumeration value="UNK_14"/>
-             *     <enumeration value="UNK_15"/>
-             *     <enumeration value="UNK_16"/>
-             *     <enumeration value="UNK_17"/>
-             *     <enumeration value="UNK_18"/>
-             *     <enumeration value="UNK_19"/>
-             *     <enumeration value="UNK_20"/>
-             *     <enumeration value="UNK_21"/>
-             *     <enumeration value="UNK_22"/>
-             *     <enumeration value="UNK_23"/>
-             *     <enumeration value="UNK_24"/>
-             *     <enumeration value="UNK_25"/>
-             *     <enumeration value="UNK_26"/>
-             *     <enumeration value="UNK_27"/>
-             *     <enumeration value="UNK_28"/>
-             *     <enumeration value="UNK_29"/>
-             *     <enumeration value="UNK_30"/>
-             *     <enumeration value="UNK_31"/>
-             *     <enumeration value="UNK_32"/>
-             *     <enumeration value="UNK_33"/>
-             *     <enumeration value="UNK_34"/>
-             *     <enumeration value="UNK_35"/>
-             *     <enumeration value="UNK_36"/>
-             *     <enumeration value="UNK_100"/>
-             *     <enumeration value="UNK_101"/>
-             *     <enumeration value="UNK_102"/>
-             *     <enumeration value="UNK_200"/>
-             *   </restriction>
-             * </simpleType>
-             * 
- * - */ - @XmlType(name = "") - @XmlEnum - public enum DropCategory { - - DROP, - SPOIL, - UNK_1, - UNK_2, - UNK_3, - UNK_4, - UNK_5, - UNK_6, - UNK_7, - UNK_8, - UNK_9, - UNK_10, - UNK_11, - UNK_12, - UNK_13, - UNK_14, - UNK_15, - UNK_16, - UNK_17, - UNK_18, - UNK_19, - UNK_20, - UNK_21, - UNK_22, - UNK_23, - UNK_24, - UNK_25, - UNK_26, - UNK_27, - UNK_28, - UNK_29, - UNK_30, - UNK_31, - UNK_32, - UNK_33, - UNK_34, - UNK_35, - UNK_36, - UNK_100, - UNK_101, - UNK_102, - UNK_200; - - public String value() { - return name(); - } - - public static NPCTemplate.Droplist.Item.DropCategory fromValue(String v) { - return valueOf(v); - } - - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="name" minOccurs="0">
-     *           <complexType>
-     *             <simpleContent>
-     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
-     *                 <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *                 <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *               </extension>
-     *             </simpleContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="title" minOccurs="0">
-     *           <complexType>
-     *             <simpleContent>
-     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
-     *                 <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *               </extension>
-     *             </simpleContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="level" type="{http://www.w3.org/2001/XMLSchema}int"/>
-     *         <element name="race" type="{http://schemas.l2jserver2.com/npc}NPCRace" minOccurs="0"/>
-     *         <element name="sex" type="{}ActorSexType" minOccurs="0"/>
-     *         <element name="stats">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                   <element name="hp">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                           </sequence>
-     *                           <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                           <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                   <element name="mp">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                           </sequence>
-     *                           <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                           <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                   <element name="attack" minOccurs="0">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                             <element name="physical">
-     *                               <complexType>
-     *                                 <complexContent>
-     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                                     <sequence>
-     *                                     </sequence>
-     *                                     <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                                     <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                                   </restriction>
-     *                                 </complexContent>
-     *                               </complexType>
-     *                             </element>
-     *                             <element name="magical">
-     *                               <complexType>
-     *                                 <complexContent>
-     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                                     <sequence>
-     *                                     </sequence>
-     *                                     <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                                     <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                                   </restriction>
-     *                                 </complexContent>
-     *                               </complexType>
-     *                             </element>
-     *                           </sequence>
-     *                           <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                           <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                           <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                   <element name="defense" minOccurs="0">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                             <element name="physical">
-     *                               <complexType>
-     *                                 <complexContent>
-     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                                     <sequence>
-     *                                     </sequence>
-     *                                     <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                                   </restriction>
-     *                                 </complexContent>
-     *                               </complexType>
-     *                             </element>
-     *                             <element name="magical">
-     *                               <complexType>
-     *                                 <complexContent>
-     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                                     <sequence>
-     *                                     </sequence>
-     *                                     <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                                   </restriction>
-     *                                 </complexContent>
-     *                               </complexType>
-     *                             </element>
-     *                           </sequence>
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                   <element name="move" minOccurs="0">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                           </sequence>
-     *                           <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                           <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                   <element name="base">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                           </sequence>
-     *                           <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                           <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                           <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                           <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                           <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                           <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                 </sequence>
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="experience" type="{http://www.w3.org/2001/XMLSchema}long"/>
-     *         <element name="sp" type="{http://www.w3.org/2001/XMLSchema}int"/>
-     *         <element name="item" minOccurs="0">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="rightHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
-     *                 <attribute name="leftHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="collision" minOccurs="0">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *                 <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *       <attribute name="attackable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *       <attribute name="targetable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *       <attribute name="aggressive" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "name", - "title", - "level", - "race", - "sex", - "stats", - "experience", - "sp", - "item", - "collision" - }) - public static class Info { - - protected NPCTemplate.Info.Name name; - protected NPCTemplate.Info.Title title; - protected int level; - @XmlElement(type = String.class) - @XmlJavaTypeAdapter(NPCRaceAdapter.class) - protected NPCRace race; - @XmlElement(type = String.class) - @XmlJavaTypeAdapter(ActorSexAdapter.class) - protected ActorSex sex; - @XmlElement(required = true) - protected NPCTemplate.Info.Stats stats; - protected long experience; - protected int sp; - protected NPCTemplate.Info.Item item; - protected NPCTemplate.Info.Collision collision; - @XmlAttribute(name = "attackable", required = true) - protected boolean attackable; - @XmlAttribute(name = "targetable", required = true) - protected boolean targetable; - @XmlAttribute(name = "aggressive", required = true) - protected boolean aggressive; - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Name } - * - */ - public NPCTemplate.Info.Name getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Name } - * - */ - public void setName(NPCTemplate.Info.Name value) { - this.name = value; - } - - /** - * Gets the value of the title property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Title } - * - */ - public NPCTemplate.Info.Title getTitle() { - return title; - } - - /** - * Sets the value of the title property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Title } - * - */ - public void setTitle(NPCTemplate.Info.Title value) { - this.title = value; - } - - /** - * Gets the value of the level property. - * - */ - public int getLevel() { - return level; - } - - /** - * Sets the value of the level property. - * - */ - public void setLevel(int value) { - this.level = value; - } - - /** - * Gets the value of the race property. - * - * @return - * possible object is - * {@link String } - * - */ - public NPCRace getRace() { - return race; - } - - /** - * Sets the value of the race property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRace(NPCRace value) { - this.race = value; - } - - /** - * Gets the value of the sex property. - * - * @return - * possible object is - * {@link String } - * - */ - public ActorSex getSex() { - return sex; - } - - /** - * Sets the value of the sex property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSex(ActorSex value) { - this.sex = value; - } - - /** - * Gets the value of the stats property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats } - * - */ - public NPCTemplate.Info.Stats getStats() { - return stats; - } - - /** - * Sets the value of the stats property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats } - * - */ - public void setStats(NPCTemplate.Info.Stats value) { - this.stats = value; - } - - /** - * Gets the value of the experience property. - * - */ - public long getExperience() { - return experience; - } - - /** - * Sets the value of the experience property. - * - */ - public void setExperience(long value) { - this.experience = value; - } - - /** - * Gets the value of the sp property. - * - */ - public int getSp() { - return sp; - } - - /** - * Sets the value of the sp property. - * - */ - public void setSp(int value) { - this.sp = value; - } - - /** - * Gets the value of the item property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Item } - * - */ - public NPCTemplate.Info.Item getItem() { - return item; - } - - /** - * Sets the value of the item property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Item } - * - */ - public void setItem(NPCTemplate.Info.Item value) { - this.item = value; - } - - /** - * Gets the value of the collision property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Collision } - * - */ - public NPCTemplate.Info.Collision getCollision() { - return collision; - } - - /** - * Sets the value of the collision property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Collision } - * - */ - public void setCollision(NPCTemplate.Info.Collision value) { - this.collision = value; - } - - /** - * Gets the value of the attackable property. - * - */ - public boolean isAttackable() { - return attackable; - } - - /** - * Sets the value of the attackable property. - * - */ - public void setAttackable(boolean value) { - this.attackable = value; - } - - /** - * Gets the value of the targetable property. - * - */ - public boolean isTargetable() { - return targetable; - } - - /** - * Sets the value of the targetable property. - * - */ - public void setTargetable(boolean value) { - this.targetable = value; - } - - /** - * Gets the value of the aggressive property. - * - */ - public boolean isAggressive() { - return aggressive; - } - - /** - * Sets the value of the aggressive property. - * - */ - public void setAggressive(boolean value) { - this.aggressive = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="radius" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *       <attribute name="heigth" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Collision { - - @XmlAttribute(name = "radius", required = true) - protected double radius; - @XmlAttribute(name = "heigth", required = true) - protected double heigth; - - /** - * Gets the value of the radius property. - * - */ - public double getRadius() { - return radius; - } - - /** - * Sets the value of the radius property. - * - */ - public void setRadius(double value) { - this.radius = value; - } - - /** - * Gets the value of the heigth property. - * - */ - public double getHeigth() { - return heigth; - } - - /** - * Sets the value of the heigth property. - * - */ - public void setHeigth(double value) { - this.heigth = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="rightHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
-         *       <attribute name="leftHand" type="{http://schemas.l2jserver2.com/item}ItemTemplateID" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Item { - - @XmlAttribute(name = "rightHand") - @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class) - protected ItemTemplateID rightHand; - @XmlAttribute(name = "leftHand") - @XmlJavaTypeAdapter(ItemTemplateIDAdapter.class) - protected ItemTemplateID leftHand; - - /** - * Gets the value of the rightHand property. - * - * @return - * possible object is - * {@link String } - * - */ - public ItemTemplateID getRightHand() { - return rightHand; - } - - /** - * Sets the value of the rightHand property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRightHand(ItemTemplateID value) { - this.rightHand = value; - } - - /** - * Gets the value of the leftHand property. - * - * @return - * possible object is - * {@link String } - * - */ - public ItemTemplateID getLeftHand() { - return leftHand; - } - - /** - * Sets the value of the leftHand property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLeftHand(ItemTemplateID value) { - this.leftHand = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <simpleContent>
-         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
-         *       <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-         *       <attribute name="display" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-         *     </extension>
-         *   </simpleContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Name { - - @XmlValue - protected String value; - @XmlAttribute(name = "send") - protected Boolean send; - @XmlAttribute(name = "display") - protected Boolean display; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the send property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isSend() { - return send; - } - - /** - * Sets the value of the send property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setSend(Boolean value) { - this.send = value; - } - - /** - * Gets the value of the display property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isDisplay() { - return display; - } - - /** - * Sets the value of the display property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setDisplay(Boolean value) { - this.display = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *         <element name="hp">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                 </sequence>
-         *                 <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                 <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *         <element name="mp">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                 </sequence>
-         *                 <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                 <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *         <element name="attack" minOccurs="0">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                   <element name="physical">
-         *                     <complexType>
-         *                       <complexContent>
-         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                           <sequence>
-         *                           </sequence>
-         *                           <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                           <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                         </restriction>
-         *                       </complexContent>
-         *                     </complexType>
-         *                   </element>
-         *                   <element name="magical">
-         *                     <complexType>
-         *                       <complexContent>
-         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                           <sequence>
-         *                           </sequence>
-         *                           <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                           <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                         </restriction>
-         *                       </complexContent>
-         *                     </complexType>
-         *                   </element>
-         *                 </sequence>
-         *                 <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *                 <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *                 <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *         <element name="defense" minOccurs="0">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                   <element name="physical">
-         *                     <complexType>
-         *                       <complexContent>
-         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                           <sequence>
-         *                           </sequence>
-         *                           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                         </restriction>
-         *                       </complexContent>
-         *                     </complexType>
-         *                   </element>
-         *                   <element name="magical">
-         *                     <complexType>
-         *                       <complexContent>
-         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                           <sequence>
-         *                           </sequence>
-         *                           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                         </restriction>
-         *                       </complexContent>
-         *                     </complexType>
-         *                   </element>
-         *                 </sequence>
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *         <element name="move" minOccurs="0">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                 </sequence>
-         *                 <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *                 <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *         <element name="base">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                 </sequence>
-         *                 <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *                 <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *                 <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *                 <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *                 <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *                 <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *       </sequence>
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "hp", - "mp", - "attack", - "defense", - "move", - "base" - }) - public static class Stats { - - @XmlElement(required = true) - protected NPCTemplate.Info.Stats.Hp hp; - @XmlElement(required = true) - protected NPCTemplate.Info.Stats.Mp mp; - protected NPCTemplate.Info.Stats.Attack attack; - protected NPCTemplate.Info.Stats.Defense defense; - protected NPCTemplate.Info.Stats.Move move; - @XmlElement(required = true) - protected NPCTemplate.Info.Stats.Base base; - - /** - * Gets the value of the hp property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Hp } - * - */ - public NPCTemplate.Info.Stats.Hp getHp() { - return hp; - } - - /** - * Sets the value of the hp property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Hp } - * - */ - public void setHp(NPCTemplate.Info.Stats.Hp value) { - this.hp = value; - } - - /** - * Gets the value of the mp property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Mp } - * - */ - public NPCTemplate.Info.Stats.Mp getMp() { - return mp; - } - - /** - * Sets the value of the mp property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Mp } - * - */ - public void setMp(NPCTemplate.Info.Stats.Mp value) { - this.mp = value; - } - - /** - * Gets the value of the attack property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Attack } - * - */ - public NPCTemplate.Info.Stats.Attack getAttack() { - return attack; - } - - /** - * Sets the value of the attack property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Attack } - * - */ - public void setAttack(NPCTemplate.Info.Stats.Attack value) { - this.attack = value; - } - - /** - * Gets the value of the defense property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Defense } - * - */ - public NPCTemplate.Info.Stats.Defense getDefense() { - return defense; - } - - /** - * Sets the value of the defense property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Defense } - * - */ - public void setDefense(NPCTemplate.Info.Stats.Defense value) { - this.defense = value; - } - - /** - * Gets the value of the move property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Move } - * - */ - public NPCTemplate.Info.Stats.Move getMove() { - return move; - } - - /** - * Sets the value of the move property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Move } - * - */ - public void setMove(NPCTemplate.Info.Stats.Move value) { - this.move = value; - } - - /** - * Gets the value of the base property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Base } - * - */ - public NPCTemplate.Info.Stats.Base getBase() { - return base; - } - - /** - * Sets the value of the base property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Base } - * - */ - public void setBase(NPCTemplate.Info.Stats.Base value) { - this.base = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *         <element name="physical">
-             *           <complexType>
-             *             <complexContent>
-             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *                 <sequence>
-             *                 </sequence>
-             *                 <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *                 <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *               </restriction>
-             *             </complexContent>
-             *           </complexType>
-             *         </element>
-             *         <element name="magical">
-             *           <complexType>
-             *             <complexContent>
-             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *                 <sequence>
-             *                 </sequence>
-             *                 <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *                 <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *               </restriction>
-             *             </complexContent>
-             *           </complexType>
-             *         </element>
-             *       </sequence>
-             *       <attribute name="range" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *       <attribute name="evasion" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *       <attribute name="critical" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "physical", - "magical" - }) - public static class Attack { - - @XmlElement(required = true) - protected NPCTemplate.Info.Stats.Attack.Physical physical; - @XmlElement(required = true) - protected NPCTemplate.Info.Stats.Attack.Magical magical; - @XmlAttribute(name = "range", required = true) - protected int range; - @XmlAttribute(name = "evasion", required = true) - protected int evasion; - @XmlAttribute(name = "critical", required = true) - protected int critical; - - /** - * Gets the value of the physical property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Attack.Physical } - * - */ - public NPCTemplate.Info.Stats.Attack.Physical getPhysical() { - return physical; - } - - /** - * Sets the value of the physical property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Attack.Physical } - * - */ - public void setPhysical(NPCTemplate.Info.Stats.Attack.Physical value) { - this.physical = value; - } - - /** - * Gets the value of the magical property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Attack.Magical } - * - */ - public NPCTemplate.Info.Stats.Attack.Magical getMagical() { - return magical; - } - - /** - * Sets the value of the magical property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Attack.Magical } - * - */ - public void setMagical(NPCTemplate.Info.Stats.Attack.Magical value) { - this.magical = value; - } - - /** - * Gets the value of the range property. - * - */ - public int getRange() { - return range; - } - - /** - * Sets the value of the range property. - * - */ - public void setRange(int value) { - this.range = value; - } - - /** - * Gets the value of the evasion property. - * - */ - public int getEvasion() { - return evasion; - } - - /** - * Sets the value of the evasion property. - * - */ - public void setEvasion(int value) { - this.evasion = value; - } - - /** - * Gets the value of the critical property. - * - */ - public int getCritical() { - return critical; - } - - /** - * Sets the value of the critical property. - * - */ - public void setCritical(int value) { - this.critical = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-                 * <complexType>
-                 *   <complexContent>
-                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-                 *       <sequence>
-                 *       </sequence>
-                 *       <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-                 *       <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-                 *     </restriction>
-                 *   </complexContent>
-                 * </complexType>
-                 * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Magical { - - @XmlAttribute(name = "damage", required = true) - protected double damage; - @XmlAttribute(name = "speed", required = true) - protected double speed; - - /** - * Gets the value of the damage property. - * - */ - public double getDamage() { - return damage; - } - - /** - * Sets the value of the damage property. - * - */ - public void setDamage(double value) { - this.damage = value; - } - - /** - * Gets the value of the speed property. - * - */ - public double getSpeed() { - return speed; - } - - /** - * Sets the value of the speed property. - * - */ - public void setSpeed(double value) { - this.speed = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-                 * <complexType>
-                 *   <complexContent>
-                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-                 *       <sequence>
-                 *       </sequence>
-                 *       <attribute name="damage" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-                 *       <attribute name="speed" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-                 *     </restriction>
-                 *   </complexContent>
-                 * </complexType>
-                 * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Physical { - - @XmlAttribute(name = "damage", required = true) - protected double damage; - @XmlAttribute(name = "speed", required = true) - protected double speed; - - /** - * Gets the value of the damage property. - * - */ - public double getDamage() { - return damage; - } - - /** - * Sets the value of the damage property. - * - */ - public void setDamage(double value) { - this.damage = value; - } - - /** - * Gets the value of the speed property. - * - */ - public double getSpeed() { - return speed; - } - - /** - * Sets the value of the speed property. - * - */ - public void setSpeed(double value) { - this.speed = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *       </sequence>
-             *       <attribute name="int" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *       <attribute name="str" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *       <attribute name="con" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *       <attribute name="men" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *       <attribute name="dex" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *       <attribute name="wit" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Base { - - @XmlAttribute(name = "int", required = true) - protected int _int; - @XmlAttribute(name = "str", required = true) - protected int str; - @XmlAttribute(name = "con", required = true) - protected int con; - @XmlAttribute(name = "men", required = true) - protected int men; - @XmlAttribute(name = "dex", required = true) - protected int dex; - @XmlAttribute(name = "wit", required = true) - protected int wit; - - /** - * Gets the value of the int property. - * - */ - public int getInt() { - return _int; - } - - /** - * Sets the value of the int property. - * - */ - public void setInt(int value) { - this._int = value; - } - - /** - * Gets the value of the str property. - * - */ - public int getStr() { - return str; - } - - /** - * Sets the value of the str property. - * - */ - public void setStr(int value) { - this.str = value; - } - - /** - * Gets the value of the con property. - * - */ - public int getCon() { - return con; - } - - /** - * Sets the value of the con property. - * - */ - public void setCon(int value) { - this.con = value; - } - - /** - * Gets the value of the men property. - * - */ - public int getMen() { - return men; - } - - /** - * Sets the value of the men property. - * - */ - public void setMen(int value) { - this.men = value; - } - - /** - * Gets the value of the dex property. - * - */ - public int getDex() { - return dex; - } - - /** - * Sets the value of the dex property. - * - */ - public void setDex(int value) { - this.dex = value; - } - - /** - * Gets the value of the wit property. - * - */ - public int getWit() { - return wit; - } - - /** - * Sets the value of the wit property. - * - */ - public void setWit(int value) { - this.wit = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *         <element name="physical">
-             *           <complexType>
-             *             <complexContent>
-             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *                 <sequence>
-             *                 </sequence>
-             *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *               </restriction>
-             *             </complexContent>
-             *           </complexType>
-             *         </element>
-             *         <element name="magical">
-             *           <complexType>
-             *             <complexContent>
-             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *                 <sequence>
-             *                 </sequence>
-             *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *               </restriction>
-             *             </complexContent>
-             *           </complexType>
-             *         </element>
-             *       </sequence>
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "physical", - "magical" - }) - public static class Defense { - - @XmlElement(required = true) - protected NPCTemplate.Info.Stats.Defense.Physical physical; - @XmlElement(required = true) - protected NPCTemplate.Info.Stats.Defense.Magical magical; - - /** - * Gets the value of the physical property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Defense.Physical } - * - */ - public NPCTemplate.Info.Stats.Defense.Physical getPhysical() { - return physical; - } - - /** - * Sets the value of the physical property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Defense.Physical } - * - */ - public void setPhysical(NPCTemplate.Info.Stats.Defense.Physical value) { - this.physical = value; - } - - /** - * Gets the value of the magical property. - * - * @return - * possible object is - * {@link NPCTemplate.Info.Stats.Defense.Magical } - * - */ - public NPCTemplate.Info.Stats.Defense.Magical getMagical() { - return magical; - } - - /** - * Sets the value of the magical property. - * - * @param value - * allowed object is - * {@link NPCTemplate.Info.Stats.Defense.Magical } - * - */ - public void setMagical(NPCTemplate.Info.Stats.Defense.Magical value) { - this.magical = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-                 * <complexType>
-                 *   <complexContent>
-                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-                 *       <sequence>
-                 *       </sequence>
-                 *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-                 *     </restriction>
-                 *   </complexContent>
-                 * </complexType>
-                 * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Magical { - - @XmlAttribute(name = "value", required = true) - protected double value; - - /** - * Gets the value of the value property. - * - */ - public double getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - */ - public void setValue(double value) { - this.value = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-                 * <complexType>
-                 *   <complexContent>
-                 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-                 *       <sequence>
-                 *       </sequence>
-                 *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-                 *     </restriction>
-                 *   </complexContent>
-                 * </complexType>
-                 * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Physical { - - @XmlAttribute(name = "value", required = true) - protected double value; - - /** - * Gets the value of the value property. - * - */ - public double getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - */ - public void setValue(double value) { - this.value = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *       </sequence>
-             *       <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *       <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Hp { - - @XmlAttribute(name = "max", required = true) - protected double max; - @XmlAttribute(name = "regen", required = true) - protected double regen; - - /** - * Gets the value of the max property. - * - */ - public double getMax() { - return max; - } - - /** - * Sets the value of the max property. - * - */ - public void setMax(double value) { - this.max = value; - } - - /** - * Gets the value of the regen property. - * - */ - public double getRegen() { - return regen; - } - - /** - * Sets the value of the regen property. - * - */ - public void setRegen(double value) { - this.regen = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *       </sequence>
-             *       <attribute name="run" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *       <attribute name="walk" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Move { - - @XmlAttribute(name = "run", required = true) - protected double run; - @XmlAttribute(name = "walk", required = true) - protected double walk; - - /** - * Gets the value of the run property. - * - */ - public double getRun() { - return run; - } - - /** - * Sets the value of the run property. - * - */ - public void setRun(double value) { - this.run = value; - } - - /** - * Gets the value of the walk property. - * - */ - public double getWalk() { - return walk; - } - - /** - * Sets the value of the walk property. - * - */ - public void setWalk(double value) { - this.walk = value; - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *       </sequence>
-             *       <attribute name="max" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *       <attribute name="regen" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Mp { - - @XmlAttribute(name = "max", required = true) - protected double max; - @XmlAttribute(name = "regen", required = true) - protected double regen; - - /** - * Gets the value of the max property. - * - */ - public double getMax() { - return max; - } - - /** - * Sets the value of the max property. - * - */ - public void setMax(double value) { - this.max = value; - } - - /** - * Gets the value of the regen property. - * - */ - public double getRegen() { - return regen; - } - - /** - * Sets the value of the regen property. - * - */ - public void setRegen(double value) { - this.regen = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <simpleContent>
-         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
-         *       <attribute name="send" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-         *     </extension>
-         *   </simpleContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Title { - - @XmlValue - protected String value; - @XmlAttribute(name = "send") - protected Boolean send; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the send property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isSend() { - return send; - } - - /** - * Sets the value of the send property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setSend(Boolean value) { - this.send = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="skill" maxOccurs="unbounded">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                 </sequence>
-     *                 <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/skill}SkillTemplateID" />
-     *                 <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "skill" - }) - public static class Skills { - - @XmlElement(required = true) - protected List skill; - - /** - * Gets the value of the skill property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the skill property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSkill().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link NPCTemplate.Skills.Skill } - * - * - */ - public List getSkill() { - if (skill == null) { - skill = new ArrayList(); - } - return this.skill; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *       </sequence>
-         *       <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/skill}SkillTemplateID" />
-         *       <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Skill { - - @XmlAttribute(name = "id", required = true) - @XmlJavaTypeAdapter(SkillTemplateIDAdapter.class) - protected SkillTemplateID id; - @XmlAttribute(name = "level", required = true) - protected int level; - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public SkillTemplateID getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(SkillTemplateID value) { - this.id = value; - } - - /** - * Gets the value of the level property. - * - */ - public int getLevel() { - return level; - } - - /** - * Sets the value of the level property. - * - */ - public void setLevel(int value) { - this.level = value; - } - - } - - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="chat" maxOccurs="unbounded">
-     *           <complexType>
-     *             <simpleContent>
-     *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
-     *                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *               </extension>
-     *             </simpleContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *       <attribute name="default" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "chat" - }) - public static class Talk { - - @XmlElement(required = true) - protected List chat; - @XmlAttribute(name = "default", required = true) - protected String _default; - - /** - * Gets the value of the chat property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the chat property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getChat().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link NPCTemplate.Talk.Chat } - * - * - */ - public List getChat() { - if (chat == null) { - chat = new ArrayList(); - } - return this.chat; - } - - /** - * Gets the value of the default property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDefault() { - return _default; - } - - /** - * Sets the value of the default property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDefault(String value) { - this._default = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <simpleContent>
-         *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
-         *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-         *     </extension>
-         *   </simpleContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Chat { - - @XmlValue - protected String value; - @XmlAttribute(name = "id", required = true) - protected String id; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - } - - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ObjectFactory.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ObjectFactory.java deleted file mode 100755 index ede55e37d..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ObjectFactory.java +++ /dev/null @@ -1,535 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import javax.xml.bind.annotation.XmlRegistry; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the com.l2jserver.model.template package. - *

An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.l2jserver.model.template - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link NPCTemplate } - * - */ - public NPCTemplate createNPCTemplate() { - return new NPCTemplate(); - } - - /** - * Create an instance of {@link NPCTemplate.Droplist } - * - */ - public NPCTemplate.Droplist createNPCTemplateDroplist() { - return new NPCTemplate.Droplist(); - } - - /** - * Create an instance of {@link NPCTemplate.Droplist.Item } - * - */ - public NPCTemplate.Droplist.Item createNPCTemplateDroplistItem() { - return new NPCTemplate.Droplist.Item(); - } - - /** - * Create an instance of {@link Zones } - * - */ - public Zones createZones() { - return new Zones(); - } - - /** - * Create an instance of {@link ZoneType } - * - */ - public ZoneType createZoneType() { - return new ZoneType(); - } - - /** - * Create an instance of {@link Zones.Castle } - * - */ - public Zones.Castle createZonesCastle() { - return new Zones.Castle(); - } - - /** - * Create an instance of {@link TeleportationTemplate } - * - */ - public TeleportationTemplate createTeleportationTemplate() { - return new TeleportationTemplate(); - } - - /** - * Create an instance of {@link NPCTemplate.Skills } - * - */ - public NPCTemplate.Skills createNPCTemplateSkills() { - return new NPCTemplate.Skills(); - } - - /** - * Create an instance of {@link NPCTemplate.Talk } - * - */ - public NPCTemplate.Talk createNPCTemplateTalk() { - return new NPCTemplate.Talk(); - } - - /** - * Create an instance of {@link NPCTemplate.Info } - * - */ - public NPCTemplate.Info createNPCTemplateInfo() { - return new NPCTemplate.Info(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats } - * - */ - public NPCTemplate.Info.Stats createNPCTemplateInfoStats() { - return new NPCTemplate.Info.Stats(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Defense } - * - */ - public NPCTemplate.Info.Stats.Defense createNPCTemplateInfoStatsDefense() { - return new NPCTemplate.Info.Stats.Defense(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Attack } - * - */ - public NPCTemplate.Info.Stats.Attack createNPCTemplateInfoStatsAttack() { - return new NPCTemplate.Info.Stats.Attack(); - } - - /** - * Create an instance of {@link ItemTemplate } - * - */ - public ItemTemplate createItemTemplate() { - return new ItemTemplate(); - } - - /** - * Create an instance of {@link ItemTemplate.Armor } - * - */ - public ItemTemplate.Armor createItemTemplateArmor() { - return new ItemTemplate.Armor(); - } - - /** - * Create an instance of {@link ItemTemplate.Attributes } - * - */ - public ItemTemplate.Attributes createItemTemplateAttributes() { - return new ItemTemplate.Attributes(); - } - - /** - * Create an instance of {@link CharacterTemplate } - * - */ - public CharacterTemplate createCharacterTemplate() { - return new CharacterTemplate(); - } - - /** - * Create an instance of {@link CharacterTemplate.Collision } - * - */ - public CharacterTemplate.Collision createCharacterTemplateCollision() { - return new CharacterTemplate.Collision(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats } - * - */ - public CharacterTemplate.Stats createCharacterTemplateStats() { - return new CharacterTemplate.Stats(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Defense } - * - */ - public CharacterTemplate.Stats.Defense createCharacterTemplateStatsDefense() { - return new CharacterTemplate.Stats.Defense(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Attack } - * - */ - public CharacterTemplate.Stats.Attack createCharacterTemplateStatsAttack() { - return new CharacterTemplate.Stats.Attack(); - } - - /** - * Create an instance of {@link CalculatorFunction } - * - */ - public CalculatorFunction createCalculatorFunction() { - return new CalculatorFunction(); - } - - /** - * Create an instance of {@link TemplateCoordinate } - * - */ - public TemplateCoordinate createTemplateCoordinate() { - return new TemplateCoordinate(); - } - - /** - * Create an instance of {@link CalculatorFunctionOperation } - * - */ - public CalculatorFunctionOperation createCalculatorFunctionOperation() { - return new CalculatorFunctionOperation(); - } - - /** - * Create an instance of {@link SkillTemplate } - * - */ - public SkillTemplate createSkillTemplate() { - return new SkillTemplate(); - } - - /** - * Create an instance of {@link Teleports } - * - */ - public Teleports createTeleports() { - return new Teleports(); - } - - /** - * Create an instance of {@link ZoneType.Point } - * - */ - public ZoneType.Point createZoneTypePoint() { - return new ZoneType.Point(); - } - - /** - * Create an instance of {@link Zones.Castle.Siege } - * - */ - public Zones.Castle.Siege createZonesCastleSiege() { - return new Zones.Castle.Siege(); - } - - /** - * Create an instance of {@link TeleportationTemplate.Restrictions } - * - */ - public TeleportationTemplate.Restrictions createTeleportationTemplateRestrictions() { - return new TeleportationTemplate.Restrictions(); - } - - /** - * Create an instance of {@link NPCTemplate.Ai } - * - */ - public NPCTemplate.Ai createNPCTemplateAi() { - return new NPCTemplate.Ai(); - } - - /** - * Create an instance of {@link NPCTemplate.Skills.Skill } - * - */ - public NPCTemplate.Skills.Skill createNPCTemplateSkillsSkill() { - return new NPCTemplate.Skills.Skill(); - } - - /** - * Create an instance of {@link NPCTemplate.Talk.Chat } - * - */ - public NPCTemplate.Talk.Chat createNPCTemplateTalkChat() { - return new NPCTemplate.Talk.Chat(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Name } - * - */ - public NPCTemplate.Info.Name createNPCTemplateInfoName() { - return new NPCTemplate.Info.Name(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Title } - * - */ - public NPCTemplate.Info.Title createNPCTemplateInfoTitle() { - return new NPCTemplate.Info.Title(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Item } - * - */ - public NPCTemplate.Info.Item createNPCTemplateInfoItem() { - return new NPCTemplate.Info.Item(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Collision } - * - */ - public NPCTemplate.Info.Collision createNPCTemplateInfoCollision() { - return new NPCTemplate.Info.Collision(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Hp } - * - */ - public NPCTemplate.Info.Stats.Hp createNPCTemplateInfoStatsHp() { - return new NPCTemplate.Info.Stats.Hp(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Mp } - * - */ - public NPCTemplate.Info.Stats.Mp createNPCTemplateInfoStatsMp() { - return new NPCTemplate.Info.Stats.Mp(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Move } - * - */ - public NPCTemplate.Info.Stats.Move createNPCTemplateInfoStatsMove() { - return new NPCTemplate.Info.Stats.Move(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Base } - * - */ - public NPCTemplate.Info.Stats.Base createNPCTemplateInfoStatsBase() { - return new NPCTemplate.Info.Stats.Base(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Defense.Physical } - * - */ - public NPCTemplate.Info.Stats.Defense.Physical createNPCTemplateInfoStatsDefensePhysical() { - return new NPCTemplate.Info.Stats.Defense.Physical(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Defense.Magical } - * - */ - public NPCTemplate.Info.Stats.Defense.Magical createNPCTemplateInfoStatsDefenseMagical() { - return new NPCTemplate.Info.Stats.Defense.Magical(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Attack.Physical } - * - */ - public NPCTemplate.Info.Stats.Attack.Physical createNPCTemplateInfoStatsAttackPhysical() { - return new NPCTemplate.Info.Stats.Attack.Physical(); - } - - /** - * Create an instance of {@link NPCTemplate.Info.Stats.Attack.Magical } - * - */ - public NPCTemplate.Info.Stats.Attack.Magical createNPCTemplateInfoStatsAttackMagical() { - return new NPCTemplate.Info.Stats.Attack.Magical(); - } - - /** - * Create an instance of {@link ItemTemplate.Controller } - * - */ - public ItemTemplate.Controller createItemTemplateController() { - return new ItemTemplate.Controller(); - } - - /** - * Create an instance of {@link ItemTemplate.Effect } - * - */ - public ItemTemplate.Effect createItemTemplateEffect() { - return new ItemTemplate.Effect(); - } - - /** - * Create an instance of {@link ItemTemplate.EtcItem } - * - */ - public ItemTemplate.EtcItem createItemTemplateEtcItem() { - return new ItemTemplate.EtcItem(); - } - - /** - * Create an instance of {@link ItemTemplate.Weapon } - * - */ - public ItemTemplate.Weapon createItemTemplateWeapon() { - return new ItemTemplate.Weapon(); - } - - /** - * Create an instance of {@link ItemTemplate.Armor.Cost } - * - */ - public ItemTemplate.Armor.Cost createItemTemplateArmorCost() { - return new ItemTemplate.Armor.Cost(); - } - - /** - * Create an instance of {@link ItemTemplate.Armor.Equipment } - * - */ - public ItemTemplate.Armor.Equipment createItemTemplateArmorEquipment() { - return new ItemTemplate.Armor.Equipment(); - } - - /** - * Create an instance of {@link ItemTemplate.Attributes.Cost } - * - */ - public ItemTemplate.Attributes.Cost createItemTemplateAttributesCost() { - return new ItemTemplate.Attributes.Cost(); - } - - /** - * Create an instance of {@link CharacterTemplate.Collision.Male } - * - */ - public CharacterTemplate.Collision.Male createCharacterTemplateCollisionMale() { - return new CharacterTemplate.Collision.Male(); - } - - /** - * Create an instance of {@link CharacterTemplate.Collision.Female } - * - */ - public CharacterTemplate.Collision.Female createCharacterTemplateCollisionFemale() { - return new CharacterTemplate.Collision.Female(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Hp } - * - */ - public CharacterTemplate.Stats.Hp createCharacterTemplateStatsHp() { - return new CharacterTemplate.Stats.Hp(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Mp } - * - */ - public CharacterTemplate.Stats.Mp createCharacterTemplateStatsMp() { - return new CharacterTemplate.Stats.Mp(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Cp } - * - */ - public CharacterTemplate.Stats.Cp createCharacterTemplateStatsCp() { - return new CharacterTemplate.Stats.Cp(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Move } - * - */ - public CharacterTemplate.Stats.Move createCharacterTemplateStatsMove() { - return new CharacterTemplate.Stats.Move(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Base } - * - */ - public CharacterTemplate.Stats.Base createCharacterTemplateStatsBase() { - return new CharacterTemplate.Stats.Base(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Defense.Physical } - * - */ - public CharacterTemplate.Stats.Defense.Physical createCharacterTemplateStatsDefensePhysical() { - return new CharacterTemplate.Stats.Defense.Physical(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Defense.Magical } - * - */ - public CharacterTemplate.Stats.Defense.Magical createCharacterTemplateStatsDefenseMagical() { - return new CharacterTemplate.Stats.Defense.Magical(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Attack.Physical } - * - */ - public CharacterTemplate.Stats.Attack.Physical createCharacterTemplateStatsAttackPhysical() { - return new CharacterTemplate.Stats.Attack.Physical(); - } - - /** - * Create an instance of {@link CharacterTemplate.Stats.Attack.Magical } - * - */ - public CharacterTemplate.Stats.Attack.Magical createCharacterTemplateStatsAttackMagical() { - return new CharacterTemplate.Stats.Attack.Magical(); - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/SkillTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/SkillTemplate.java deleted file mode 100755 index 1248bae2d..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/SkillTemplate.java +++ /dev/null @@ -1,162 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import com.l2jserver.model.id.template.SkillTemplateID; -import com.l2jserver.util.jaxb.SkillTemplateIDAdapter; - - -/** - *

Java class for skill element declaration. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <element name="skill">
- *   <complexType>
- *     <complexContent>
- *       <extension base="{}AbstractTemplate">
- *         <sequence>
- *           <element name="maximumLevel" type="{http://www.w3.org/2001/XMLSchema}int"/>
- *         </sequence>
- *         <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/skill}SkillTemplateID" />
- *         <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *         <attribute name="delay" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *         <attribute name="cooldown" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *       </extension>
- *     </complexContent>
- *   </complexType>
- * </element>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "maximumLevel" -}) -@XmlRootElement(name = "skill", namespace = "http://schemas.l2jserver2.com/skill") -public class SkillTemplate - extends AbstractTemplate -{ - - protected int maximumLevel; - @XmlAttribute(name = "id", required = true) - @XmlJavaTypeAdapter(SkillTemplateIDAdapter.class) - protected SkillTemplateID id; - @XmlAttribute(name = "name", required = true) - protected String name; - @XmlAttribute(name = "delay", required = true) - protected int delay; - @XmlAttribute(name = "cooldown", required = true) - protected int cooldown; - - /** - * Gets the value of the maximumLevel property. - * - */ - public int getMaximumLevel() { - return maximumLevel; - } - - /** - * Sets the value of the maximumLevel property. - * - */ - public void setMaximumLevel(int value) { - this.maximumLevel = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public SkillTemplateID getID() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setID(SkillTemplateID value) { - this.id = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets the value of the delay property. - * - */ - public int getDelay() { - return delay; - } - - /** - * Sets the value of the delay property. - * - */ - public void setDelay(int value) { - this.delay = value; - } - - /** - * Gets the value of the cooldown property. - * - */ - public int getCooldown() { - return cooldown; - } - - /** - * Sets the value of the cooldown property. - * - */ - public void setCooldown(int value) { - this.cooldown = value; - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TeleportationTemplate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TeleportationTemplate.java deleted file mode 100644 index e931d9410..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TeleportationTemplate.java +++ /dev/null @@ -1,286 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import java.util.ArrayList; -import java.util.List; -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 javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import com.l2jserver.model.id.template.TeleportationTemplateID; -import com.l2jserver.util.jaxb.TeleportationTemplateIDAdapter; - - -/** - *

Java class for TeleportationTemplate complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="TeleportationTemplate">
- *   <complexContent>
- *     <extension base="{}AbstractTemplate">
- *       <sequence>
- *         <element name="point" type="{}Coordinate" minOccurs="0"/>
- *         <element name="restrictions" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="restriction" maxOccurs="unbounded">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="NOBLE"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *       <attribute name="id" use="required" type="{http://schemas.l2jserver2.com/teleport}TeleportationTemplateID" />
- *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="item" type="{http://www.w3.org/2001/XMLSchema}int" />
- *       <attribute name="price" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TeleportationTemplate", namespace = "http://schemas.l2jserver2.com/teleport", propOrder = { - "point", - "restrictions" -}) -public class TeleportationTemplate - extends AbstractTemplate -{ - - protected TemplateCoordinate point; - protected TeleportationTemplate.Restrictions restrictions; - @XmlAttribute(name = "id", required = true) - @XmlJavaTypeAdapter(TeleportationTemplateIDAdapter.class) - protected TeleportationTemplateID id; - @XmlAttribute(name = "name") - protected String name; - @XmlAttribute(name = "item") - protected Integer item; - @XmlAttribute(name = "price", required = true) - protected int price; - - /** - * Gets the value of the point property. - * - * @return - * possible object is - * {@link TemplateCoordinate } - * - */ - public TemplateCoordinate getPoint() { - return point; - } - - /** - * Sets the value of the point property. - * - * @param value - * allowed object is - * {@link TemplateCoordinate } - * - */ - public void setPoint(TemplateCoordinate value) { - this.point = value; - } - - /** - * Gets the value of the restrictions property. - * - * @return - * possible object is - * {@link TeleportationTemplate.Restrictions } - * - */ - public TeleportationTemplate.Restrictions getRestrictions() { - return restrictions; - } - - /** - * Sets the value of the restrictions property. - * - * @param value - * allowed object is - * {@link TeleportationTemplate.Restrictions } - * - */ - public void setRestrictions(TeleportationTemplate.Restrictions value) { - this.restrictions = value; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public TeleportationTemplateID getID() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setID(TeleportationTemplateID value) { - this.id = value; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets the value of the item property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getItem() { - return item; - } - - /** - * Sets the value of the item property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setItem(Integer value) { - this.item = value; - } - - /** - * Gets the value of the price property. - * - */ - public int getPrice() { - return price; - } - - /** - * Sets the value of the price property. - * - */ - public void setPrice(int value) { - this.price = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="restriction" maxOccurs="unbounded">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="NOBLE"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "restriction" - }) - public static class Restrictions { - - @XmlElement(required = true) - protected List restriction; - - /** - * Gets the value of the restriction property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the restriction property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getRestriction().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getRestriction() { - if (restriction == null) { - restriction = new ArrayList(); - } - return this.restriction; - } - - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Teleports.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Teleports.java deleted file mode 100755 index 289378f2f..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Teleports.java +++ /dev/null @@ -1,78 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import java.util.ArrayList; -import java.util.List; -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="teleport" type="{http://schemas.l2jserver2.com/teleport}TeleportationTemplate" maxOccurs="unbounded"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "teleport" -}) -@XmlRootElement(name = "teleports", namespace = "http://schemas.l2jserver2.com/teleport") -public class Teleports { - - @XmlElement(required = true) - protected List teleport; - - /** - * Gets the value of the teleport property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the teleport property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTeleport().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TeleportationTemplate } - * - * - */ - public List getTeleport() { - if (teleport == null) { - teleport = new ArrayList(); - } - return this.teleport; - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TemplateCoordinate.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TemplateCoordinate.java deleted file mode 100644 index feb574460..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/TemplateCoordinate.java +++ /dev/null @@ -1,97 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for Coordinate complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="Coordinate">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *       </sequence>
- *       <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *       <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *       <attribute name="z" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Coordinate") -public class TemplateCoordinate { - - @XmlAttribute(name = "x", required = true) - protected int x; - @XmlAttribute(name = "y", required = true) - protected int y; - @XmlAttribute(name = "z", required = true) - protected int z; - - /** - * Gets the value of the x property. - * - */ - public int getX() { - return x; - } - - /** - * Sets the value of the x property. - * - */ - public void setX(int value) { - this.x = value; - } - - /** - * Gets the value of the y property. - * - */ - public int getY() { - return y; - } - - /** - * Sets the value of the y property. - * - */ - public void setY(int value) { - this.y = value; - } - - /** - * Gets the value of the z property. - * - */ - public int getZ() { - return z; - } - - /** - * Sets the value of the z property. - * - */ - public void setZ(int value) { - this.z = value; - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ZoneType.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ZoneType.java deleted file mode 100755 index 9ae49768d..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/ZoneType.java +++ /dev/null @@ -1,179 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import java.util.ArrayList; -import java.util.List; -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; - - -/** - *

Java class for ZoneType complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="ZoneType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="point" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                 </sequence>
- *                 <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *                 <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ZoneType", namespace = "zones", propOrder = { - "point" -}) -public class ZoneType { - - @XmlElement(required = true) - protected List point; - @XmlAttribute(name = "id", required = true) - protected String id; - - /** - * Gets the value of the point property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the point property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getPoint().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ZoneType.Point } - * - * - */ - public List getPoint() { - if (point == null) { - point = new ArrayList(); - } - return this.point; - } - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *       </sequence>
-     *       <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *       <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Point { - - @XmlAttribute(name = "x", required = true) - protected int x; - @XmlAttribute(name = "y", required = true) - protected int y; - - /** - * Gets the value of the x property. - * - */ - public int getX() { - return x; - } - - /** - * Sets the value of the x property. - * - */ - public void setX(int value) { - this.x = value; - } - - /** - * Gets the value of the y property. - * - */ - public int getY() { - return y; - } - - /** - * Sets the value of the y property. - * - */ - public void setY(int value) { - this.y = value; - } - - } - -} diff --git a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Zones.java b/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Zones.java deleted file mode 100755 index 2152e3737..000000000 --- a/l2jserver2-gameserver/l2jserver2-gameserver-core/src/main/generated/com/l2jserver/model/template/Zones.java +++ /dev/null @@ -1,211 +0,0 @@ -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2012.05.03 at 07:58:30 PM BRT -// - - -package com.l2jserver.model.template; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="castle">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="siege">
- *                     <complexType>
- *                       <complexContent>
- *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                           <sequence>
- *                             <element name="zone" type="{zones}ZoneType"/>
- *                           </sequence>
- *                         </restriction>
- *                       </complexContent>
- *                     </complexType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "castle" -}) -@XmlRootElement(name = "zones", namespace = "zones") -public class Zones { - - @XmlElement(required = true) - protected Zones.Castle castle; - - /** - * Gets the value of the castle property. - * - * @return - * possible object is - * {@link Zones.Castle } - * - */ - public Zones.Castle getCastle() { - return castle; - } - - /** - * Sets the value of the castle property. - * - * @param value - * allowed object is - * {@link Zones.Castle } - * - */ - public void setCastle(Zones.Castle value) { - this.castle = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="siege">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                   <element name="zone" type="{zones}ZoneType"/>
-     *                 </sequence>
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "siege" - }) - public static class Castle { - - @XmlElement(required = true) - protected Zones.Castle.Siege siege; - - /** - * Gets the value of the siege property. - * - * @return - * possible object is - * {@link Zones.Castle.Siege } - * - */ - public Zones.Castle.Siege getSiege() { - return siege; - } - - /** - * Sets the value of the siege property. - * - * @param value - * allowed object is - * {@link Zones.Castle.Siege } - * - */ - public void setSiege(Zones.Castle.Siege value) { - this.siege = value; - } - - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *         <element name="zone" type="{zones}ZoneType"/>
-         *       </sequence>
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "zone" - }) - public static class Siege { - - @XmlElement(required = true) - protected ZoneType zone; - - /** - * Gets the value of the zone property. - * - * @return - * possible object is - * {@link ZoneType } - * - */ - public ZoneType getZone() { - return zone; - } - - /** - * Sets the value of the zone property. - * - * @param value - * allowed object is - * {@link ZoneType } - * - */ - public void setZone(ZoneType value) { - this.zone = value; - } - - } - - } - -}