Class SDPDigitalPost

  • All Implemented Interfaces:
    DigitalPostformidling, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class SDPDigitalPost
    extends SDPMelding
    implements DigitalPostformidling, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    Sikker digital postmelding fra avsender til mottaker, samt informasjon relatert til presentasjon og behandling av denne.

    Java class for DigitalPost complex type.

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

     <complexType name="DigitalPost">
       <complexContent>
         <extension base="{http://begrep.difi.no/sdp/schema_v10}Melding">
           <sequence>
             <element name="avsender" type="{http://begrep.difi.no/sdp/schema_v10}Avsender"/>
             <choice>
               <element name="fysiskPostInfo" type="{http://begrep.difi.no/sdp/schema_v10}FysiskPostInfo"/>
               <sequence>
                 <element name="mottaker" type="{http://begrep.difi.no/sdp/schema_v10}Mottaker"/>
                 <element name="digitalPostInfo" type="{http://begrep.difi.no/sdp/schema_v10}DigitalPostInfo"/>
               </sequence>
             </choice>
             <element name="dokumentpakkefingeravtrykk" type="{http://www.w3.org/2000/09/xmldsig#}ReferenceType"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • SDPDigitalPost

        public SDPDigitalPost()
        Default no-arg constructor
      • SDPDigitalPost

        public SDPDigitalPost​(org.w3.xmldsig.Signature signature,
                              SDPAvsender avsender,
                              SDPMottaker mottaker,
                              SDPDigitalPostInfo digitalPostInfo,
                              SDPFysiskPostInfo fysiskPostInfo,
                              org.w3.xmldsig.Reference dokumentpakkefingeravtrykk)
        Fully-initialising value constructor
    • Method Detail

      • setAvsender

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

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

        public void setDigitalPostInfo​(SDPDigitalPostInfo value)
        Sets the value of the digitalPostInfo property.
        Parameters:
        value - allowed object is SDPDigitalPostInfo
      • setFysiskPostInfo

        public void setFysiskPostInfo​(SDPFysiskPostInfo value)
        Sets the value of the fysiskPostInfo property.
        Parameters:
        value - allowed object is SDPFysiskPostInfo
      • getDokumentpakkefingeravtrykk

        public org.w3.xmldsig.Reference getDokumentpakkefingeravtrykk()
        Gets the value of the dokumentpakkefingeravtrykk property.
        Specified by:
        getDokumentpakkefingeravtrykk in interface DigitalPostformidling
        Returns:
        possible object is Reference
      • setDokumentpakkefingeravtrykk

        public void setDokumentpakkefingeravtrykk​(org.w3.xmldsig.Reference value)
        Sets the value of the dokumentpakkefingeravtrykk property.
        Specified by:
        setDokumentpakkefingeravtrykk in interface DigitalPostformidling
        Parameters:
        value - allowed object is Reference
      • 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
        Overrides:
        append in class SDPMelding
      • 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
        Overrides:
        appendFields in class SDPMelding
      • 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
        Overrides:
        equals in class SDPMelding
      • 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
        Overrides:
        hashCode in class SDPMelding
      • withDokumentpakkefingeravtrykk

        public SDPDigitalPost withDokumentpakkefingeravtrykk​(org.w3.xmldsig.Reference value)