no.difi.begrep.sdp.schema_v10
Class SDPFysiskPostInfo

java.lang.Object
  extended by no.difi.begrep.sdp.schema_v10.SDPFysiskPostInfo
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class SDPFysiskPostInfo
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for FysiskPostInfo complex type.

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

 <complexType name="FysiskPostInfo">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="mottaker" type="{http://begrep.difi.no/sdp/schema_v10}Navn"/>
         <choice>
           <element name="norskMottakeradresse" type="{http://begrep.difi.no/sdp/schema_v10}NorskPostadresse"/>
           <element name="utenlandskMottakeradresse" type="{http://begrep.difi.no/sdp/schema_v10}UtenlandskPostadresse"/>
         </choice>
         <element name="posttype" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="A"/>
               <enumeration value="B"/>
             </restriction>
           </simpleType>
         </element>
         <element name="returPostmottaker" type="{http://begrep.difi.no/sdp/schema_v10}Navn"/>
         <element name="returadresse" type="{http://begrep.difi.no/sdp/schema_v10}NorskPostadresse"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String mottaker
           
protected  SDPNorskPostadresse norskMottakeradresse
           
protected  String posttype
           
protected  SDPNorskPostadresse returadresse
           
protected  String returPostmottaker
           
protected  SDPUtenlandskPostadresse utenlandskMottakeradresse
           
 
Constructor Summary
SDPFysiskPostInfo()
          Default no-arg constructor
SDPFysiskPostInfo(String mottaker, SDPUtenlandskPostadresse utenlandskMottakeradresse, SDPNorskPostadresse norskMottakeradresse, String posttype, String returPostmottaker, SDPNorskPostadresse returadresse)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 String getMottaker()
          Gets the value of the mottaker property.
 SDPNorskPostadresse getNorskMottakeradresse()
          Gets the value of the norskMottakeradresse property.
 String getPosttype()
          Gets the value of the posttype property.
 SDPNorskPostadresse getReturadresse()
          Gets the value of the returadresse property.
 String getReturPostmottaker()
          Gets the value of the returPostmottaker property.
 SDPUtenlandskPostadresse getUtenlandskMottakeradresse()
          Gets the value of the utenlandskMottakeradresse property.
 void setMottaker(String value)
          Sets the value of the mottaker property.
 void setNorskMottakeradresse(SDPNorskPostadresse value)
          Sets the value of the norskMottakeradresse property.
 void setPosttype(String value)
          Sets the value of the posttype property.
 void setReturadresse(SDPNorskPostadresse value)
          Sets the value of the returadresse property.
 void setReturPostmottaker(String value)
          Sets the value of the returPostmottaker property.
 void setUtenlandskMottakeradresse(SDPUtenlandskPostadresse value)
          Sets the value of the utenlandskMottakeradresse property.
 String toString()
           
 SDPFysiskPostInfo withMottaker(String value)
           
 SDPFysiskPostInfo withNorskMottakeradresse(SDPNorskPostadresse value)
           
 SDPFysiskPostInfo withPosttype(String value)
           
 SDPFysiskPostInfo withReturadresse(SDPNorskPostadresse value)
           
 SDPFysiskPostInfo withReturPostmottaker(String value)
           
 SDPFysiskPostInfo withUtenlandskMottakeradresse(SDPUtenlandskPostadresse value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mottaker

protected String mottaker

utenlandskMottakeradresse

protected SDPUtenlandskPostadresse utenlandskMottakeradresse

norskMottakeradresse

protected SDPNorskPostadresse norskMottakeradresse

posttype

protected String posttype

returPostmottaker

protected String returPostmottaker

returadresse

protected SDPNorskPostadresse returadresse
Constructor Detail

SDPFysiskPostInfo

public SDPFysiskPostInfo()
Default no-arg constructor


SDPFysiskPostInfo

public SDPFysiskPostInfo(String mottaker,
                         SDPUtenlandskPostadresse utenlandskMottakeradresse,
                         SDPNorskPostadresse norskMottakeradresse,
                         String posttype,
                         String returPostmottaker,
                         SDPNorskPostadresse returadresse)
Fully-initialising value constructor

Method Detail

getMottaker

public String getMottaker()
Gets the value of the mottaker property.

Returns:
possible object is String

setMottaker

public void setMottaker(String value)
Sets the value of the mottaker property.

Parameters:
value - allowed object is String

getUtenlandskMottakeradresse

public SDPUtenlandskPostadresse getUtenlandskMottakeradresse()
Gets the value of the utenlandskMottakeradresse property.

Returns:
possible object is SDPUtenlandskPostadresse

setUtenlandskMottakeradresse

public void setUtenlandskMottakeradresse(SDPUtenlandskPostadresse value)
Sets the value of the utenlandskMottakeradresse property.

Parameters:
value - allowed object is SDPUtenlandskPostadresse

getNorskMottakeradresse

public SDPNorskPostadresse getNorskMottakeradresse()
Gets the value of the norskMottakeradresse property.

Returns:
possible object is SDPNorskPostadresse

setNorskMottakeradresse

public void setNorskMottakeradresse(SDPNorskPostadresse value)
Sets the value of the norskMottakeradresse property.

Parameters:
value - allowed object is SDPNorskPostadresse

getPosttype

public String getPosttype()
Gets the value of the posttype property.

Returns:
possible object is String

setPosttype

public void setPosttype(String value)
Sets the value of the posttype property.

Parameters:
value - allowed object is String

getReturPostmottaker

public String getReturPostmottaker()
Gets the value of the returPostmottaker property.

Returns:
possible object is String

setReturPostmottaker

public void setReturPostmottaker(String value)
Sets the value of the returPostmottaker property.

Parameters:
value - allowed object is String

getReturadresse

public SDPNorskPostadresse getReturadresse()
Gets the value of the returadresse property.

Returns:
possible object is SDPNorskPostadresse

setReturadresse

public void setReturadresse(SDPNorskPostadresse value)
Sets the value of the returadresse property.

Parameters:
value - allowed object is SDPNorskPostadresse

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withMottaker

public SDPFysiskPostInfo withMottaker(String value)

withUtenlandskMottakeradresse

public SDPFysiskPostInfo withUtenlandskMottakeradresse(SDPUtenlandskPostadresse value)

withNorskMottakeradresse

public SDPFysiskPostInfo withNorskMottakeradresse(SDPNorskPostadresse value)

withPosttype

public SDPFysiskPostInfo withPosttype(String value)

withReturPostmottaker

public SDPFysiskPostInfo withReturPostmottaker(String value)

withReturadresse

public SDPFysiskPostInfo withReturadresse(SDPNorskPostadresse value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.