addmessage.java

来自「This article describes how to consume We」· Java 代码 · 共 84 行

JAVA
84
字号
package com.edujinionline.tutorials.webservices;

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;

/**
 * <p>
 * Java class for AddMessage element declaration.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 *  &lt;element name=&quot;AddMessage&quot;&gt;
 *    &lt;complexType&gt;
 *      &lt;complexContent&gt;
 *        &lt;restriction base=&quot;{http://www.w3.org/2001/XMLSchema}anyType&quot;&gt;
 *          &lt;sequence&gt;
 *            &lt;element name=&quot;x&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}double&quot;/&gt;
 *            &lt;element name=&quot;y&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}double&quot;/&gt;
 *          &lt;/sequence&gt;
 *        &lt;/restriction&gt;
 *      &lt;/complexContent&gt;
 *    &lt;/complexType&gt;
 *  &lt;/element&gt;
 * </pre>
 * 
 * @version 1.0
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder =
	{ "x", "y" })
@XmlRootElement(name = "AddMessage")
public class AddMessage
{

	@XmlElement(namespace = "http://www.edujinionline.com/ns/ws/samples/dn/S01BasicServices/")
	protected double x;
	@XmlElement(namespace = "http://www.edujinionline.com/ns/ws/samples/dn/S01BasicServices/")
	protected double y;

	/**
	 * Gets the value of the x property.
	 * 
	 */
	public double getX()
	{
		return x;
	}

	/**
	 * Sets the value of the x property.
	 * 
	 */
	public void setX(double value)
	{
		this.x = value;
	}

	/**
	 * Gets the value of the y property.
	 * 
	 */
	public double getY()
	{
		return y;
	}

	/**
	 * Sets the value of the y property.
	 * 
	 */
	public void setY(double value)
	{
		this.y = value;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?