📄 addmessage.java
字号:
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>
* <element name="AddMessage">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="x" type="{http://www.w3.org/2001/XMLSchema}double"/>
* <element name="y" type="{http://www.w3.org/2001/XMLSchema}double"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -