Class SetType
- java.lang.Object
-
- com.lyncode.xoai.dataprovider.xml.oaipmh.SetType
-
- All Implemented Interfaces:
XMLWritable
public class SetType extends Object implements XMLWritable
Java class for setType complex type. The following schema fragment specifies the expected content contained within this class.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DescriptionType>setDescriptionprotected StringsetNameprotected StringsetSpec
-
Constructor Summary
Constructors Constructor Description SetType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DescriptionType>getSetDescription()Gets the value of the setDescription property.StringgetSetName()Gets the value of the setName property.StringgetSetSpec()Gets the value of the withSpec property.voidsetSetName(String value)Sets the value of the setName property.voidsetSetSpec(String value)Sets the value of the withSpec property.voidwrite(XmlOutputContext context)
-
-
-
Field Detail
-
setSpec
protected String setSpec
-
setName
protected String setName
-
setDescription
protected List<DescriptionType> setDescription
-
-
Method Detail
-
getSetSpec
public String getSetSpec()
Gets the value of the withSpec property.- Returns:
- possible object is ;
-
setSetSpec
public void setSetSpec(String value)
Sets the value of the withSpec property.- Parameters:
value- allowed object is ;
-
getSetName
public String getSetName()
Gets the value of the setName property.- Returns:
- possible object is ;
-
setSetName
public void setSetName(String value)
Sets the value of the setName property.- Parameters:
value- allowed object is ;
-
getSetDescription
public List<DescriptionType> getSetDescription()
Gets the value of the setDescription 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 method for the setDescription property. For example, to add a new item, do as follows: getSetDescription().add(newItem); Objects of the following type(s) are allowed in the list ;
-
write
public void write(XmlOutputContext context) throws WritingXmlException
- Specified by:
writein interfaceXMLWritable- Throws:
WritingXmlException
-
-