Class GetRecordByIdResponseType


  • public class GetRecordByIdResponseType
    extends Object
    Returns a representation of the matching entry. If there is no matching record, the response message must be empty.

    Java class for GetRecordByIdResponseType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="GetRecordByIdResponseType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice>
               <element ref="{http://www.opengis.net/cat/csw/2.0.2}AbstractRecord" maxOccurs="unbounded" minOccurs="0"/>
               <any processContents='skip' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
             </choice>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • GetRecordByIdResponseType

        public GetRecordByIdResponseType()
        Default no-arg constructor
      • GetRecordByIdResponseType

        public GetRecordByIdResponseType​(List<javax.xml.bind.JAXBElement<? extends AbstractRecordType>> abstractRecord,
                                         List<Element> any)
        Fully-initialising value constructor
    • Method Detail

      • getAbstractRecord

        public List<javax.xml.bind.JAXBElement<? extends AbstractRecordType>> getAbstractRecord()
        Gets the value of the abstractRecord 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 set method for the abstractRecord property.

        For example, to add a new item, do as follows:

            getAbstractRecord().add(newItem);
         

        Objects of the following type(s) are allowed in the list AbstractRecord SummaryRecord BriefRecord DCMIRecord Record

      • getAny

        public List<Element> getAny()
        Gets the value of the any 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 set method for the any property.

        For example, to add a new item, do as follows:

            getAny().add(newItem);
         

        Objects of the following type(s) are allowed in the list Element