Package nl.b3p.csw.jaxb.ows
Class KeywordsType
- java.lang.Object
-
- nl.b3p.csw.jaxb.ows.KeywordsType
-
public class KeywordsType extends Object
For OWS use, the optional thesaurusName element was omitted as being complex information that could be referenced by the codeSpace attribute of the Type element.Java class for KeywordsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="KeywordsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Keyword" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> <element name="Type" type="{http://www.opengis.net/ows}CodeType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description KeywordsType()Default no-arg constructorKeywordsType(List<String> keyword, CodeType type)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getKeyword()Gets the value of the keyword property.CodeTypegetType()Gets the value of the type property.voidsetType(CodeType value)Sets the value of the type property.
-
-
-
Method Detail
-
getKeyword
public List<String> getKeyword()
Gets the value of the keyword property.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
setmethod for the keyword property.For example, to add a new item, do as follows:
getKeyword().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getType
public CodeType getType()
Gets the value of the type property.- Returns:
- possible object is
CodeType
-
-