Class SDPFlyttetDigitalPost

java.lang.Object
no.difi.begrep.sdp.schema_v10.SDPMelding
no.difi.begrep.sdp.schema_v10.SDPFlyttetDigitalPost
All Implemented Interfaces:
DigitalPostformidling, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class SDPFlyttetDigitalPost extends SDPMelding implements DigitalPostformidling, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

Java class for FlyttetDigitalPost complex type.

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

 <complexType name="FlyttetDigitalPost">
   <complexContent>
     <extension base="{http://begrep.difi.no/sdp/schema_v10}Melding">
       <sequence>
         <element name="avsender" type="{http://begrep.difi.no/sdp/schema_v10}Avsender"/>
         <element name="mottaker" type="{http://begrep.difi.no/sdp/schema_v10}Mottaker"/>
         <element name="digitalPostInfo" type="{http://begrep.difi.no/sdp/schema_v10}DigitalPostInfo"/>
         <element name="dokumentpakkefingeravtrykk" type="{http://www.w3.org/2000/09/xmldsig#}ReferenceType"/>
         <element name="mottaksdato" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="aapnet" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • avsender

      protected SDPAvsender avsender
    • mottaker

      protected SDPMottaker mottaker
    • digitalPostInfo

      protected SDPDigitalPostInfo digitalPostInfo
    • dokumentpakkefingeravtrykk

      protected no.digipost.org.w3.xmldsig.Reference dokumentpakkefingeravtrykk
    • mottaksdato

      protected LocalDate mottaksdato
    • aapnet

      protected boolean aapnet
  • Constructor Details

    • SDPFlyttetDigitalPost

      public SDPFlyttetDigitalPost()
      Default no-arg constructor
    • SDPFlyttetDigitalPost

      public SDPFlyttetDigitalPost(no.digipost.org.w3.xmldsig.Signature signature, SDPAvsender avsender, SDPMottaker mottaker, SDPDigitalPostInfo digitalPostInfo, no.digipost.org.w3.xmldsig.Reference dokumentpakkefingeravtrykk, LocalDate mottaksdato, boolean aapnet)
      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
    • 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
    • getMottaksdato

      public LocalDate getMottaksdato()
      Gets the value of the mottaksdato property.
      Returns:
      possible object is String
    • setMottaksdato

      public void setMottaksdato(LocalDate value)
      Sets the value of the mottaksdato property.
      Parameters:
      value - allowed object is String
    • isAapnet

      public boolean isAapnet()
      Gets the value of the aapnet property.
    • setAapnet

      public void setAapnet(boolean value)
      Sets the value of the aapnet property.
    • 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 SDPFlyttetDigitalPost withAvsender(SDPAvsender value)
    • withMottaker

      public SDPFlyttetDigitalPost withMottaker(SDPMottaker value)
    • withDigitalPostInfo

      public SDPFlyttetDigitalPost withDigitalPostInfo(SDPDigitalPostInfo value)
    • withDokumentpakkefingeravtrykk

      public SDPFlyttetDigitalPost withDokumentpakkefingeravtrykk(no.digipost.org.w3.xmldsig.Reference value)
    • withMottaksdato

      public SDPFlyttetDigitalPost withMottaksdato(LocalDate value)
    • withAapnet

      public SDPFlyttetDigitalPost withAapnet(boolean value)
    • withSignature

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