Package no.difi.begrep.sdp.schema_v10
Class SDPFysiskPostadresse
java.lang.Object
no.difi.begrep.sdp.schema_v10.SDPFysiskPostadresse
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class SDPFysiskPostadresse
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
En fysisk postadresse består av navnet på adressaten og enten en norsk eller utenlandsk postadresse.
Java class for FysiskPostadresse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FysiskPostadresse">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="navn" type="{http://begrep.difi.no/sdp/schema_v10}Navn"/>
<choice>
<element name="norskAdresse" type="{http://begrep.difi.no/sdp/schema_v10}NorskPostadresse"/>
<element name="utenlandskAdresse" type="{http://begrep.difi.no/sdp/schema_v10}UtenlandskPostadresse"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected SDPNorskPostadresseprotected SDPUtenlandskPostadresse -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorSDPFysiskPostadresse(String navn, SDPUtenlandskPostadresse utenlandskAdresse, SDPNorskPostadresse norskAdresse) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) getNavn()Gets the value of the navn property.Gets the value of the norskAdresse property.Gets the value of the utenlandskAdresse property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the navn property.voidSets the value of the norskAdresse property.voidSets the value of the utenlandskAdresse property.toString()
-
Field Details
-
utenlandskAdresse
-
norskAdresse
-
Constructor Details
-
SDPFysiskPostadresse
public SDPFysiskPostadresse()Default no-arg constructor -
SDPFysiskPostadresse
public SDPFysiskPostadresse(String navn, SDPUtenlandskPostadresse utenlandskAdresse, SDPNorskPostadresse norskAdresse) Fully-initialising value constructor
-
-
Method Details
-
getUtenlandskAdresse
Gets the value of the utenlandskAdresse property.- Returns:
- possible object is
SDPUtenlandskPostadresse
-
setUtenlandskAdresse
Sets the value of the utenlandskAdresse property.- Parameters:
value- allowed object isSDPUtenlandskPostadresse
-
getNorskAdresse
Gets the value of the norskAdresse property.- Returns:
- possible object is
SDPNorskPostadresse
-
setNorskAdresse
Sets the value of the norskAdresse property.- Parameters:
value- allowed object isSDPNorskPostadresse
-
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2
-
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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode() -
withUtenlandskAdresse
-
withNorskAdresse