/* * Dog - Core * * Copyright (c) 2009-2014 Dario Bonino and Luigi De Russis * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.02.15 at 03:00:00 PM CEST // package it.polito.elite.dog.core.library.jaxb; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for configparam complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="configparam"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "configparam") public class Configparam implements Cloneable { @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "value") protected String value; @XmlAttribute(name = "type") protected String type; /** * Creates a new {@code Configparam} instance. * */ public Configparam() { // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000 super(); } /** * Creates a new {@code Configparam} instance by deeply copying a given * {@code Configparam} instance. * * * @param o * The instance to copy. * @throws NullPointerException * if {@code o} is {@code null}. */ public Configparam(final Configparam o) { // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000 super(); if (o == null) { throw new NullPointerException("Cannot create a copy of 'Configparam' from 'null'."); } // CBuiltinLeafInfo: java.lang.String this.name = ((o.name == null) ? null : o.getName()); // CBuiltinLeafInfo: java.lang.String this.value = ((o.value == null) ? null : o.getValue()); // CBuiltinLeafInfo: java.lang.String this.type = ((o.type == null) ? null : o.getType()); } /** * 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 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 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; } /** * Creates and returns a deep copy of this object. * * * @return A deep copy of this object. */ @Override public Configparam clone() { try { { // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000 final Configparam clone = ((Configparam) super.clone()); // CBuiltinLeafInfo: java.lang.String clone.name = ((this.name == null) ? null : this.getName()); // CBuiltinLeafInfo: java.lang.String clone.value = ((this.value == null) ? null : this.getValue()); // CBuiltinLeafInfo: java.lang.String clone.type = ((this.type == null) ? null : this.getType()); return clone; } } catch (CloneNotSupportedException e) { // Please report this at // https://apps.sourceforge.net/mantisbt/ccxjc/ throw new AssertionError(e); } } }