帮忙看看下面的实体类是怎么生成的?XML生成JAVA 实体类
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// 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.04.22 at 01:55:57 PM CST
//
package com.pojo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for RiskInfoType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="RiskInfoType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="RiskCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="RiskPrem" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="DutyInfo" type="{}DutyInfoType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RiskInfoType", propOrder = {
"riskCode",
"riskPrem",
"dutyInfo"
})
public class RiskInfo {
@XmlElement(name = "RiskCode", required = true)
protected String riskCode;
@XmlElement(name = "RiskPrem", required = true)
protected String riskPrem;
@XmlElement(name = "DutyInfo", required = true)
protected DutyInfo dutyInfo;
/**
* Gets the value of the riskCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRiskCode() {
return riskCode;
}
/**
* Sets the value of the riskCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRiskCode(String value) {
this.riskCode = value;
}
/**
* Gets the value of the riskPrem property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRiskPrem() {
return riskPrem;
}
/**
* Sets the value of the riskPrem property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRiskPrem(String value) {
this.riskPrem = value;
}
/**
* Gets the value of the dutyInfo property.
*
* @return
* possible object is
* {@link DutyInfo }
*
*/
public DutyInfo getDutyInfo() {
return dutyInfo;
}
/**
* Sets the value of the dutyInfo property.
*
* @param value
* allowed object is
* {@link DutyInfo }
*
*/
public void setDutyInfo(DutyInfo value) {
this.dutyInfo = value;
}
}