Class RequestType
- java.lang.Object
-
- com.lyncode.xoai.dataprovider.xml.oaipmh.RequestType
-
- All Implemented Interfaces:
XMLWritable
public class RequestType extends Object implements XMLWritable
Define requestType, indicating the protocol request that led to the response. Element content is BASE-URL, attributes are arguments of protocol request, attribute-values are values of arguments of protocol request Java class for requestType complex type. The following schema fragment specifies the expected content contained within this class.
-
-
Constructor Summary
Constructors Constructor Description RequestType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetFrom()Gets the value of the from property.StringgetIdentifier()Gets the value of the identifier property.StringgetMetadataPrefix()Gets the value of the metadataPrefix property.StringgetResumptionToken()Gets the value of the resumptionToken property.StringgetSet()Gets the value of the set property.DategetUntil()Gets the value of the until property.StringgetValue()Gets the value of the value property.VerbTypegetVerb()Gets the value of the verb property.voidsetFrom(Date value)Sets the value of the from property.voidsetIdentifier(String value)Sets the value of the identifier property.voidsetMetadataPrefix(String value)Sets the value of the metadataPrefix property.voidsetResumptionToken(String value)Sets the value of the resumptionToken property.voidsetSet(String value)Sets the value of the set property.voidsetUntil(Date value)Sets the value of the until property.voidsetValue(String value)Sets the value of the value property.voidsetVerb(VerbType value)Sets the value of the verb property.voidwrite(XmlOutputContext context)
-
-
-
Method Detail
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is ;
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object is ;
-
getVerb
public VerbType getVerb()
Gets the value of the verb property.- Returns:
- possible object is ;
-
setVerb
public void setVerb(VerbType value)
Sets the value of the verb property.- Parameters:
value- allowed object is ;
-
getIdentifier
public String getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is ;
-
setIdentifier
public void setIdentifier(String value)
Sets the value of the identifier property.- Parameters:
value- allowed object is ;
-
getMetadataPrefix
public String getMetadataPrefix()
Gets the value of the metadataPrefix property.- Returns:
- possible object is ;
-
setMetadataPrefix
public void setMetadataPrefix(String value)
Sets the value of the metadataPrefix property.- Parameters:
value- allowed object is ;
-
getFrom
public Date getFrom()
Gets the value of the from property.- Returns:
- possible object is ;
-
setFrom
public void setFrom(Date value)
Sets the value of the from property.- Parameters:
value- allowed object is ;
-
getUntil
public Date getUntil()
Gets the value of the until property.- Returns:
- possible object is ;
-
setUntil
public void setUntil(Date value)
Sets the value of the until property.- Parameters:
value- allowed object is ;
-
getSet
public String getSet()
Gets the value of the set property.- Returns:
- possible object is ;
-
setSet
public void setSet(String value)
Sets the value of the set property.- Parameters:
value- allowed object is ;
-
getResumptionToken
public String getResumptionToken()
Gets the value of the resumptionToken property.- Returns:
- possible object is ;
-
setResumptionToken
public void setResumptionToken(String value)
Sets the value of the resumptionToken property.- Parameters:
value- allowed object is ;
-
write
public void write(XmlOutputContext context) throws WritingXmlException
- Specified by:
writein interfaceXMLWritable- Throws:
WritingXmlException
-
-