Class SDPManifest

  • All Implemented Interfaces:
    HarHoveddokumentOgVedlegg<SDPDokument>, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class SDPManifest
    extends Object
    implements HarHoveddokumentOgVedlegg<SDPDokument>, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    Inneholder metadata relatert til hver fil i en forsendelse.

    Java class for Manifest complex type.

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

     <complexType name="Manifest">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="mottaker" type="{http://begrep.difi.no/sdp/schema_v10}Mottaker" minOccurs="0"/>
             <element name="avsender" type="{http://begrep.difi.no/sdp/schema_v10}Avsender"/>
             <element name="hoveddokument" type="{http://begrep.difi.no/sdp/schema_v10}Dokument"/>
             <element name="vedlegg" type="{http://begrep.difi.no/sdp/schema_v10}Dokument" maxOccurs="200" minOccurs="0"/>
             <element name="lenke" type="{http://begrep.difi.no/sdp/schema_v10}Lenke" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Method Detail

      • getMottaker

        public SDPMottaker getMottaker()
        Gets the value of the mottaker property.
        Returns:
        possible object is SDPMottaker
      • setMottaker

        public void setMottaker​(SDPMottaker value)
        Sets the value of the mottaker property.
        Parameters:
        value - allowed object is SDPMottaker
      • getAvsender

        public SDPAvsender getAvsender()
        Gets the value of the avsender property.
        Returns:
        possible object is SDPAvsender
      • setAvsender

        public void setAvsender​(SDPAvsender value)
        Sets the value of the avsender property.
        Parameters:
        value - allowed object is SDPAvsender
      • setHoveddokument

        public void setHoveddokument​(SDPDokument value)
        Sets the value of the hoveddokument property.
        Parameters:
        value - allowed object is SDPDokument
      • getVedleggs

        public List<SDPDokument> getVedleggs()
        Gets the value of the vedleggs 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 vedleggs property.

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

            getVedleggs().add(newItem);
         

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

        Specified by:
        getVedleggs in interface HarHoveddokumentOgVedlegg<SDPDokument>
      • getLenke

        public SDPLenke getLenke()
        Gets the value of the lenke property.
        Returns:
        possible object is SDPLenke
      • setLenke

        public void setLenke​(SDPLenke value)
        Sets the value of the lenke property.
        Parameters:
        value - allowed object is SDPLenke
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object