Class OAIPMH
java.lang.Object
org.javastro.ivoa.entities.resource.registry.oaipmh.OAIPMH
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2024-08-01T13:15:43+01:00")
public class OAIPMH
extends Object
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Java class for OAI-PMHtype complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="OAI-PMHtype">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="responseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="request" type="{http://www.openarchives.org/OAI/2.0/}requestType"/>
<choice>
<element name="error" type="{http://www.openarchives.org/OAI/2.0/}OAI-PMHerrorType" maxOccurs="unbounded"/>
<element name="Identify" type="{http://www.openarchives.org/OAI/2.0/}IdentifyType"/>
<element name="ListMetadataFormats" type="{http://www.openarchives.org/OAI/2.0/}ListMetadataFormatsType"/>
<element name="ListSets" type="{http://www.openarchives.org/OAI/2.0/}ListSetsType"/>
<element name="GetRecord" type="{http://www.openarchives.org/OAI/2.0/}GetRecordType"/>
<element name="ListIdentifiers" type="{http://www.openarchives.org/OAI/2.0/}ListIdentifiersType"/>
<element name="ListRecords" type="{http://www.openarchives.org/OAI/2.0/}ListRecordsType"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<OAIPMHerrorType>protected GetRecordTypeprotected IdentifyTypeprotected ListIdentifiersTypeprotected List<MetadataFormatType>protected ListRecordsTypeprotected ListSetsTypeprotected RequestTypeprotected LocalDateTime -
Constructor Summary
ConstructorsConstructorDescriptionOAIPMH()Default no-arg constructorOAIPMH(LocalDateTime responseDate, RequestType request, ListRecordsType listRecords, ListIdentifiersType listIdentifiers, GetRecordType getRecord, ListSetsType listSets, List<MetadataFormatType> listMetadataFormats, IdentifyType identify, List<OAIPMHerrorType> errors) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) booleanGets the value of the errors property.Gets the value of the getRecord property.Gets the value of the identify property.Gets the value of the listIdentifiers property.Gets the value of the listRecords property.Gets the value of the listSets property.Gets the value of the request property.Gets the value of the responseDate property.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetGetRecord(GetRecordType value) Sets the value of the getRecord property.voidsetIdentify(IdentifyType value) Sets the value of the identify property.voidSets the value of the listIdentifiers property.voidsetListMetadataFormats(List<MetadataFormatType> listMetadataFormats) voidsetListRecords(ListRecordsType value) Sets the value of the listRecords property.voidsetListSets(ListSetsType value) Sets the value of the listSets property.voidsetRequest(RequestType value) Sets the value of the request property.voidsetResponseDate(LocalDateTime value) Sets the value of the responseDate property.toString()withErrors(Collection<OAIPMHerrorType> values) withErrors(OAIPMHerrorType... values) withGetRecord(GetRecordType value) withIdentify(IdentifyType value) withListMetadataFormats(List<MetadataFormatType> listMetadataFormats) withListMetadataFormats(MetadataFormatType... values) withListRecords(ListRecordsType value) withListSets(ListSetsType value) withRequest(RequestType value) withResponseDate(LocalDateTime value)
-
Field Details
-
responseDate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected LocalDateTime responseDate -
request
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected RequestType request -
listRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected ListRecordsType listRecords -
listIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected ListIdentifiersType listIdentifiers -
getRecord
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected GetRecordType getRecord -
listSets
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected ListSetsType listSets -
listMetadataFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<MetadataFormatType> listMetadataFormats -
identify
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected IdentifyType identify -
errors
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<OAIPMHerrorType> errors
-
-
Constructor Details
-
OAIPMH
public OAIPMH()Default no-arg constructor -
OAIPMH
public OAIPMH(LocalDateTime responseDate, RequestType request, ListRecordsType listRecords, ListIdentifiersType listIdentifiers, GetRecordType getRecord, ListSetsType listSets, List<MetadataFormatType> listMetadataFormats, IdentifyType identify, List<OAIPMHerrorType> errors) Fully-initialising value constructor
-
-
Method Details
-
getResponseDate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public LocalDateTime getResponseDate()Gets the value of the responseDate property.- Returns:
- possible object is
String
-
setResponseDate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setResponseDate(LocalDateTime value) Sets the value of the responseDate property.- Parameters:
value- allowed object isString
-
getRequest
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public RequestType getRequest()Gets the value of the request property.- Returns:
- possible object is
RequestType
-
setRequest
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setRequest(RequestType value) Sets the value of the request property.- Parameters:
value- allowed object isRequestType
-
getListRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ListRecordsType getListRecords()Gets the value of the listRecords property.- Returns:
- possible object is
ListRecordsType
-
setListRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setListRecords(ListRecordsType value) Sets the value of the listRecords property.- Parameters:
value- allowed object isListRecordsType
-
getListIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ListIdentifiersType getListIdentifiers()Gets the value of the listIdentifiers property.- Returns:
- possible object is
ListIdentifiersType
-
setListIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setListIdentifiers(ListIdentifiersType value) Sets the value of the listIdentifiers property.- Parameters:
value- allowed object isListIdentifiersType
-
getGetRecord
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public GetRecordType getGetRecord()Gets the value of the getRecord property.- Returns:
- possible object is
GetRecordType
-
setGetRecord
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setGetRecord(GetRecordType value) Sets the value of the getRecord property.- Parameters:
value- allowed object isGetRecordType
-
getListSets
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ListSetsType getListSets()Gets the value of the listSets property.- Returns:
- possible object is
ListSetsType
-
setListSets
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setListSets(ListSetsType value) Sets the value of the listSets property.- Parameters:
value- allowed object isListSetsType
-
getIdentify
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public IdentifyType getIdentify()Gets the value of the identify property.- Returns:
- possible object is
IdentifyType
-
setIdentify
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setIdentify(IdentifyType value) Sets the value of the identify property.- Parameters:
value- allowed object isIdentifyType
-
getErrors
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<OAIPMHerrorType> getErrors()Gets the value of the errors 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 errors property.For example, to add a new item, do as follows:
getErrors().add(newItem);
Objects of the following type(s) are allowed in the list
OAIPMHerrorType- Returns:
- The value of the errors property.
-
getListMetadataFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<MetadataFormatType> getListMetadataFormats() -
setListMetadataFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setListMetadataFormats(List<MetadataFormatType> listMetadataFormats) -
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
withResponseDate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withResponseDate(LocalDateTime value) -
withRequest
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withRequest(RequestType value) -
withListRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withListRecords(ListRecordsType value) -
withListIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withListIdentifiers(ListIdentifiersType value) -
withGetRecord
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withGetRecord(GetRecordType value) -
withListSets
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withListSets(ListSetsType value) -
withIdentify
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withIdentify(IdentifyType value) -
withErrors
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withErrors(OAIPMHerrorType... values) -
withErrors
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withErrors(Collection<OAIPMHerrorType> values) -
withListMetadataFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withListMetadataFormats(MetadataFormatType... values) -
withListMetadataFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withListMetadataFormats(Collection<MetadataFormatType> values) -
withListMetadataFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public OAIPMH withListMetadataFormats(List<MetadataFormatType> listMetadataFormats) -
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-