public class SDPFysiskPostInfo extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, 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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
mottaker |
protected SDPNorskPostadresse |
norskMottakeradresse |
protected String |
posttype |
protected SDPNorskPostadresse |
returadresse |
protected String |
returPostmottaker |
protected SDPUtenlandskPostadresse |
utenlandskMottakeradresse |
| Constructor and Description |
|---|
SDPFysiskPostInfo()
Default no-arg constructor
|
SDPFysiskPostInfo(String mottaker,
SDPUtenlandskPostadresse utenlandskMottakeradresse,
SDPNorskPostadresse norskMottakeradresse,
String posttype,
String returPostmottaker,
SDPNorskPostadresse returadresse)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy 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.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
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) |
protected String mottaker
protected SDPUtenlandskPostadresse utenlandskMottakeradresse
protected SDPNorskPostadresse norskMottakeradresse
protected String posttype
protected String returPostmottaker
protected SDPNorskPostadresse returadresse
public SDPFysiskPostInfo()
public SDPFysiskPostInfo(String mottaker, SDPUtenlandskPostadresse utenlandskMottakeradresse, SDPNorskPostadresse norskMottakeradresse, String posttype, String returPostmottaker, SDPNorskPostadresse returadresse)
public String getMottaker()
Stringpublic void setMottaker(String value)
value - allowed object is
Stringpublic SDPUtenlandskPostadresse getUtenlandskMottakeradresse()
SDPUtenlandskPostadressepublic void setUtenlandskMottakeradresse(SDPUtenlandskPostadresse value)
value - allowed object is
SDPUtenlandskPostadressepublic SDPNorskPostadresse getNorskMottakeradresse()
SDPNorskPostadressepublic void setNorskMottakeradresse(SDPNorskPostadresse value)
value - allowed object is
SDPNorskPostadressepublic String getPosttype()
Stringpublic void setPosttype(String value)
value - allowed object is
Stringpublic String getReturPostmottaker()
Stringpublic void setReturPostmottaker(String value)
value - allowed object is
Stringpublic SDPNorskPostadresse getReturadresse()
SDPNorskPostadressepublic void setReturadresse(SDPNorskPostadresse value)
value - allowed object is
SDPNorskPostadressepublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic SDPFysiskPostInfo withMottaker(String value)
public SDPFysiskPostInfo withUtenlandskMottakeradresse(SDPUtenlandskPostadresse value)
public SDPFysiskPostInfo withNorskMottakeradresse(SDPNorskPostadresse value)
public SDPFysiskPostInfo withPosttype(String value)
public SDPFysiskPostInfo withReturPostmottaker(String value)
public SDPFysiskPostInfo withReturadresse(SDPNorskPostadresse value)
Copyright © 2014 Digipost Open Source. All Rights Reserved.