zoukankan      html  css  js  c++  java
  • javaWeb服务详解【客户端调用】(含源代码,测试通过,注释) ——Emp实体类

    package org.entity;
    
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlSchemaType;
    import javax.xml.bind.annotation.XmlType;
    import javax.xml.datatype.XMLGregorianCalendar;
    
    
    /**
     * <p>emp complex type的 Java 类。
     * 
     * <p>以下模式片段指定包含在此类中的预期内容。
     * 
     * <pre>
     * <complexType name="emp">
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="comm" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
     *         <element name="dept" type="{http://www.xiongxiong.cn.ws/dept}dept" minOccurs="0"/>
     *         <element name="empno" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
     *         <element name="ename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         <element name="hiredate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
     *         <element name="job" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         <element name="mgr" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
     *         <element name="sal" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "emp", propOrder = {
        "comm",
        "dept",
        "empno",
        "ename",
        "hiredate",
        "job",
        "mgr",
        "sal"
    })
    public class Emp {
    
        protected Double comm;
        protected Dept dept;
        protected Integer empno;
        protected String ename;
        @XmlSchemaType(name = "dateTime")
        protected XMLGregorianCalendar hiredate;
        protected String job;
        protected Short mgr;
        protected Double sal;
    
        /**
         * 获取comm属性的值。
         * 
         * @return
         *     possible object is
         *     {@link Double }
         *     
         */
        public Double getComm() {
            return comm;
        }
    
        /**
         * 设置comm属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link Double }
         *     
         */
        public void setComm(Double value) {
            this.comm = value;
        }
    
        /**
         * 获取dept属性的值。
         * 
         * @return
         *     possible object is
         *     {@link Dept }
         *     
         */
        public Dept getDept() {
            return dept;
        }
    
        /**
         * 设置dept属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link Dept }
         *     
         */
        public void setDept(Dept value) {
            this.dept = value;
        }
    
        /**
         * 获取empno属性的值。
         * 
         * @return
         *     possible object is
         *     {@link Integer }
         *     
         */
        public Integer getEmpno() {
            return empno;
        }
    
        /**
         * 设置empno属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link Integer }
         *     
         */
        public void setEmpno(Integer value) {
            this.empno = value;
        }
    
        /**
         * 获取ename属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getEname() {
            return ename;
        }
    
        /**
         * 设置ename属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setEname(String value) {
            this.ename = value;
        }
    
        /**
         * 获取hiredate属性的值。
         * 
         * @return
         *     possible object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public XMLGregorianCalendar getHiredate() {
            return hiredate;
        }
    
        /**
         * 设置hiredate属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link XMLGregorianCalendar }
         *     
         */
        public void setHiredate(XMLGregorianCalendar value) {
            this.hiredate = value;
        }
    
        /**
         * 获取job属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getJob() {
            return job;
        }
    
        /**
         * 设置job属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setJob(String value) {
            this.job = value;
        }
    
        /**
         * 获取mgr属性的值。
         * 
         * @return
         *     possible object is
         *     {@link Short }
         *     
         */
        public Short getMgr() {
            return mgr;
        }
    
        /**
         * 设置mgr属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link Short }
         *     
         */
        public void setMgr(Short value) {
            this.mgr = value;
        }
    
        /**
         * 获取sal属性的值。
         * 
         * @return
         *     possible object is
         *     {@link Double }
         *     
         */
        public Double getSal() {
            return sal;
        }
    
        /**
         * 设置sal属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link Double }
         *     
         */
        public void setSal(Double value) {
            this.sal = value;
        }
    
    }
    

  • 相关阅读:
    c语言中float、double、long double在内存中存储方式
    linux路由表配置
    linux下ip命令用法
    Ajax与Comet
    JavaScript之JSON
    Mustache学习
    微信小程序环境搭建
    JavaScript之模仿块级作用域
    JavaScript之call()和apply()方法详解
    JavaScript引用类型之Array数组之强大的splice()方法
  • 原文地址:https://www.cnblogs.com/a1111/p/12816230.html
Copyright © 2011-2022 走看看