com.github.debugthug.xo.booking.SegmentInfo Maven / Gradle / Ivy
package com.github.debugthug.xo.booking;
import java.util.ArrayList;
import java.util.List;
import com.github.debugthug.xo.Segment;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
@XStreamAlias("SegmentInfo")
public class SegmentInfo {
@XStreamImplicit
@XStreamAlias("Segment")
private List segmentList=new ArrayList();
public List getSegmentList() {
return segmentList;
}
public void addSegment(Segment segment) {
segmentList.add(segment);
}
}