spot.java
来自「用xml+swing+jdbc(hsqldb)写的电视广告管理软件 客户定义好」· Java 代码 · 共 145 行
JAVA
145 行
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
// 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: 2009.01.17 at 02:28:48 PM CET
//
package xmlbinding.contrats;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"passage"
})
@XmlRootElement(name = "spot")
public class Spot {
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String titre;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String theme;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String duree;
protected List<Passage> passage;
/**
* Gets the value of the titre property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitre() {
return titre;
}
/**
* Sets the value of the titre property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitre(String value) {
this.titre = value;
}
/**
* Gets the value of the theme property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTheme() {
return theme;
}
/**
* Sets the value of the theme property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTheme(String value) {
this.theme = value;
}
/**
* Gets the value of the duree property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDuree() {
return duree;
}
/**
* Sets the value of the duree property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDuree(String value) {
this.duree = value;
}
/**
* Gets the value of the passage property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the passage property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPassage().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Passage }
*
*
*/
public List<Passage> getPassage() {
if (passage == null) {
passage = new ArrayList<Passage>();
}
return this.passage;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?