001/* 002 * BioJava development code 003 * 004 * This code may be freely distributed and modified under the 005 * terms of the GNU Lesser General Public Licence. This should 006 * be distributed with the code. If you do not have a copy, 007 * see: 008 * 009 * http://www.gnu.org/copyleft/lesser.html 010 * 011 * Copyright for this code is held jointly by the individual 012 * authors. These should be listed in @author doc comments. 013 * 014 * For more information on the BioJava project and its aims, 015 * or to join the biojava-l mailing list, visit the home page 016 * at: 017 * 018 * http://www.biojava.org/ 019 * 020 */ 021// 022// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 023// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 024// Any modifications to this file will be lost upon recompilation of the source schema. 025// Generated on: 2013.12.17 at 03:04:15 PM PST 026// 027 028 029package org.biojava.nbio.structure.validation; 030 031import javax.xml.bind.annotation.*; 032import java.util.ArrayList; 033import java.util.List; 034 035 036/** 037 * <p>Java class for anonymous complex type. 038 * 039 * <p>The following schema fragment specifies the expected content contained within this class. 040 * 041 * <pre> 042 * <complexType> 043 * <complexContent> 044 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 045 * <sequence> 046 * <element ref="{}program" maxOccurs="unbounded"/> 047 * </sequence> 048 * </restriction> 049 * </complexContent> 050 * </complexType> 051 * </pre> 052 * 053 * 054 */ 055@XmlAccessorType(XmlAccessType.FIELD) 056@XmlType(name = "", propOrder = { 057 "program" 058}) 059@XmlRootElement(name = "programs") 060public class Programs { 061 062 @XmlElement(required = true) 063 protected List<Program> program; 064 065 /** 066 * Gets the value of the program property. 067 * 068 * <p> 069 * This accessor method returns a reference to the live list, 070 * not a snapshot. Therefore any modification you make to the 071 * returned list will be present inside the JAXB object. 072 * This is why there is not a <CODE>set</CODE> method for the program property. 073 * 074 * <p> 075 * For example, to add a new item, do as follows: 076 * <pre> 077 * getProgram().add(newItem); 078 * </pre> 079 * 080 * 081 * <p> 082 * Objects of the following type(s) are allowed in the list 083 * {@link Program } 084 * 085 * 086 */ 087 public List<Program> getProgram() { 088 if (program == null) { 089 program = new ArrayList<Program>(); 090 } 091 return this.program; 092 } 093 094}