/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CDDL") (collectively, the "License"). You * may not use this file except in compliance with the License. You can * obtain a copy of the License at * http://glassfish.java.net/public/CDDL+GPL_1_1.html * or packager/legal/LICENSE.txt. See the License for the specific * language governing permissions and limitations under the License. * * When distributing the software, include this License Header Notice in each * file and include the License file at packager/legal/LICENSE.txt. * * GPL Classpath Exception: * Oracle designates this particular file as subject to the "Classpath" * exception as provided by Oracle in the GPL Version 2 section of the License * file that accompanied this code. * * Modifications: * If applicable, add the following below the License Header, with the fields * enclosed by brackets [] replaced by your own identifying information: * "Portions Copyright [year] [name of copyright owner]" * * Contributor(s): * If you wish your version of this file to be governed by only the CDDL or * only the GPL Version 2, indicate your decision by adding "[Contributor] * elects to include this software in this distribution under the [CDDL or GPL * Version 2] license." If you don't indicate a single choice of license, a * recipient has the option to distribute your version of this file under * either the CDDL, the GPL Version 2 or to extend the choice of license to * its licensees as provided above. However, if you add GPL Version 2 code * and therefore, elected the GPL Version 2 license, then the option applies * only if the new code is made subject to such option by the copyright * holder. */ package com.sun.xml.ws.cts.jws_webparam1; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for employee complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="employee"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="address" type="{http://server.webparam1.webparam.jws.tests.ts.sun.com/}address" minOccurs="0"/> * <element name="dept" type="{http://server.webparam1.webparam.jws.tests.ts.sun.com/}department" minOccurs="0"/> * <element name="name" type="{http://server.webparam1.webparam.jws.tests.ts.sun.com/}name" minOccurs="0"/> * <element name="salary" type="{http://server.webparam1.webparam.jws.tests.ts.sun.com/}salary" minOccurs="0"/> * <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="type" type="{http://www.w3.org/2001/XMLSchema}int"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "employee", propOrder = { "address", "dept", "name", "salary", "title", "type" }) public class Employee { protected Address address; protected Department dept; protected Name name; protected Salary salary; protected String title; protected int type; /** * Gets the value of the address property. * * @return * possible object is * {@link Address } * */ public Address getAddress() { return address; } /** * Sets the value of the address property. * * @param value * allowed object is * {@link Address } * */ public void setAddress(Address value) { this.address = value; } /** * Gets the value of the dept property. * * @return * possible object is * {@link Department } * */ public Department getDept() { return dept; } /** * Sets the value of the dept property. * * @param value * allowed object is * {@link Department } * */ public void setDept(Department value) { this.dept = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link Name } * */ public Name getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link Name } * */ public void setName(Name value) { this.name = value; } /** * Gets the value of the salary property. * * @return * possible object is * {@link Salary } * */ public Salary getSalary() { return salary; } /** * Sets the value of the salary property. * * @param value * allowed object is * {@link Salary } * */ public void setSalary(Salary value) { this.salary = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * Gets the value of the type property. * */ public int getType() { return type; } /** * Sets the value of the type property. * */ public void setType(int value) { this.type = value; } }