001 // 002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs 003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004 // Any modifications to this file will be lost upon recompilation of the source schema. 005 // Generated on: 2010.07.26 at 06:19:00 AM GMT 006 // 007 008 009 package org.deegree.portal.cataloguemanager.model; 010 011 import java.util.ArrayList; 012 import java.util.List; 013 import javax.xml.bind.annotation.XmlAccessType; 014 import javax.xml.bind.annotation.XmlAccessorType; 015 import javax.xml.bind.annotation.XmlElement; 016 import javax.xml.bind.annotation.XmlRootElement; 017 import javax.xml.bind.annotation.XmlType; 018 019 020 /** 021 * <p>Java class for anonymous complex type. 022 * 023 * <p>The following schema fragment specifies the expected content contained within this class. 024 * 025 * <pre> 026 * <complexType> 027 * <complexContent> 028 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 029 * <sequence> 030 * <element ref="{http://www.isotc211.org/2005/gmd}keyword" maxOccurs="unbounded"/> 031 * <element ref="{http://www.isotc211.org/2005/gmd}thesaurusName"/> 032 * </sequence> 033 * </restriction> 034 * </complexContent> 035 * </complexType> 036 * </pre> 037 * 038 * 039 */ 040 @XmlAccessorType(XmlAccessType.FIELD) 041 @XmlType(name = "", propOrder = { 042 "keyword", 043 "thesaurusName" 044 }) 045 @XmlRootElement(name = "MD_Keywords") 046 public class MDKeywords { 047 048 @XmlElement(required = true) 049 protected List<Keyword> keyword; 050 @XmlElement(required = true) 051 protected ThesaurusName thesaurusName; 052 053 /** 054 * Gets the value of the keyword property. 055 * 056 * <p> 057 * This accessor method returns a reference to the live list, 058 * not a snapshot. Therefore any modification you make to the 059 * returned list will be present inside the JAXB object. 060 * This is why there is not a <CODE>set</CODE> method for the keyword property. 061 * 062 * <p> 063 * For example, to add a new item, do as follows: 064 * <pre> 065 * getKeyword().add(newItem); 066 * </pre> 067 * 068 * 069 * <p> 070 * Objects of the following type(s) are allowed in the list 071 * {@link Keyword } 072 * 073 * 074 */ 075 public List<Keyword> getKeyword() { 076 if (keyword == null) { 077 keyword = new ArrayList<Keyword>(); 078 } 079 return this.keyword; 080 } 081 082 /** 083 * Gets the value of the thesaurusName property. 084 * 085 * @return 086 * possible object is 087 * {@link ThesaurusName } 088 * 089 */ 090 public ThesaurusName getThesaurusName() { 091 return thesaurusName; 092 } 093 094 /** 095 * Sets the value of the thesaurusName property. 096 * 097 * @param value 098 * allowed object is 099 * {@link ThesaurusName } 100 * 101 */ 102 public void setThesaurusName(ThesaurusName value) { 103 this.thesaurusName = value; 104 } 105 106 }