//
// 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.09.15 at 01:39:48 PM KST
//
package org.oliot.model.oliot;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.xml.bind.annotation.XmlElement;
@Entity
public class DestinationList {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private int id;
@OneToMany
@XmlElement(required = true)
protected List<SourceDest> destination =new ArrayList<SourceDest>();
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public List<SourceDest> getDestination() {
if (destination == null) {
destination = new ArrayList<SourceDest>();
}
return this.destination;
}
public void setDestination(List<SourceDest> destination) {
this.destination = destination;
}
}