Class SDPDigitalPost

java.lang.Object
no.difi.begrep.sdp.schema_v10.SDPMelding
no.difi.begrep.sdp.schema_v10.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>
 
  • Field Details

    • avsender

      protected SDPAvsender avsender
    • mottaker

      protected SDPMottaker mottaker
    • digitalPostInfo

      protected SDPDigitalPostInfo digitalPostInfo
    • fysiskPostInfo

      protected SDPFysiskPostInfo fysiskPostInfo
    • dokumentpakkefingeravtrykk

      protected no.digipost.org.w3.xmldsig.Reference dokumentpakkefingeravtrykk
  • Constructor Details

    • SDPDigitalPost

      public SDPDigitalPost()
      Default no-arg constructor
    • SDPDigitalPost

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

    • getAvsender

      public SDPAvsender getAvsender()
      Gets the value of the avsender property.
      Specified by:
      getAvsender in interface DigitalPostformidling
      Returns:
      possible object is SDPAvsender
    • setAvsender

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

      public SDPMottaker getMottaker()
      Gets the value of the mottaker property.
      Specified by:
      getMottaker in interface DigitalPostformidling
      Returns:
      possible object is SDPMottaker
    • setMottaker

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

      public SDPDigitalPostInfo getDigitalPostInfo()
      Gets the value of the digitalPostInfo property.
      Specified by:
      getDigitalPostInfo in interface DigitalPostformidling
      Returns:
      possible object is SDPDigitalPostInfo
    • setDigitalPostInfo

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

      public SDPFysiskPostInfo getFysiskPostInfo()
      Gets the value of the fysiskPostInfo property.
      Returns:
      possible object is SDPFysiskPostInfo
    • setFysiskPostInfo

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

      public no.digipost.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(no.digipost.org.w3.xmldsig.Reference value)
      Sets the value of the dokumentpakkefingeravtrykk property.
      Specified by:
      setDokumentpakkefingeravtrykk in interface DigitalPostformidling
      Parameters:
      value - allowed object is Reference
    • toString

      public String toString()
      Overrides:
      toString in class SDPMelding
    • 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
    • equals

      public boolean equals(Object object)
      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
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SDPMelding
    • withAvsender

      public SDPDigitalPost withAvsender(SDPAvsender value)
    • withMottaker

      public SDPDigitalPost withMottaker(SDPMottaker value)
    • withDigitalPostInfo

      public SDPDigitalPost withDigitalPostInfo(SDPDigitalPostInfo value)
    • withFysiskPostInfo

      public SDPDigitalPost withFysiskPostInfo(SDPFysiskPostInfo value)
    • withDokumentpakkefingeravtrykk

      public SDPDigitalPost withDokumentpakkefingeravtrykk(no.digipost.org.w3.xmldsig.Reference value)
    • withSignature

      public SDPDigitalPost withSignature(no.digipost.org.w3.xmldsig.Signature value)
      Overrides:
      withSignature in class SDPMelding