MapiContactPhysicalAddress

Inheritance: java.lang.Object

public final class MapiContactPhysicalAddress

Refers to the group of properties that define physical address for a contact.

Constructors

Constructor Description
MapiContactPhysicalAddress() Initializes a new instance of the MapiContactPhysicalAddress class.

Methods

Method Description
isMailingAddress() Gets or sets a value indicating whether this address is mailing address
setMailingAddress(boolean value) Gets or sets a value indicating whether this address is mailing address
getStreet() Specifies the street portion of the contact’s address
setStreet(String value) Specifies the street portion of the contact’s address
getCity() Specifies the city or locality portion of the contact’s address
setCity(String value) Specifies the city or locality portion of the contact’s address
getStateOrProvince() Specifies the state or province portion of the contact’s address
setStateOrProvince(String value) Specifies the state or province portion of the contact’s address
getPostalCode() Specifies the postal code (ZIP code) portion of the contact’s address
setPostalCode(String value) Specifies the postal code (ZIP code) portion of the contact’s address
getCountry() Specifies the country or region portion of the contact’s address
setCountry(String value) Specifies the country or region portion of the contact’s address
getCountryCode() Specifies the country code portion of the contact’s address
setCountryCode(String value) Specifies the country code portion of the contact’s address
getAddress() Specifies the complete address of the contact’s address
setAddress(String value) Specifies the complete address of the contact’s address
getPostOfficeBox() Gets or sets the post office box
setPostOfficeBox(String value) Gets or sets the post office box

MapiContactPhysicalAddress()

public MapiContactPhysicalAddress()

Initializes a new instance of the MapiContactPhysicalAddress class.

isMailingAddress()

public final boolean isMailingAddress()

Gets or sets a value indicating whether this address is mailing address

Returns: boolean

setMailingAddress(boolean value)

public final void setMailingAddress(boolean value)

Gets or sets a value indicating whether this address is mailing address

Parameters:

Parameter Type Description
value boolean

getStreet()

public final String getStreet()

Specifies the street portion of the contact’s address

Returns: java.lang.String

setStreet(String value)

public final void setStreet(String value)

Specifies the street portion of the contact’s address

Parameters:

Parameter Type Description
value java.lang.String

getCity()

public final String getCity()

Specifies the city or locality portion of the contact’s address

Returns: java.lang.String

setCity(String value)

public final void setCity(String value)

Specifies the city or locality portion of the contact’s address

Parameters:

Parameter Type Description
value java.lang.String

getStateOrProvince()

public final String getStateOrProvince()

Specifies the state or province portion of the contact’s address

Returns: java.lang.String

setStateOrProvince(String value)

public final void setStateOrProvince(String value)

Specifies the state or province portion of the contact’s address

Parameters:

Parameter Type Description
value java.lang.String

getPostalCode()

public final String getPostalCode()

Specifies the postal code (ZIP code) portion of the contact’s address

Returns: java.lang.String

setPostalCode(String value)

public final void setPostalCode(String value)

Specifies the postal code (ZIP code) portion of the contact’s address

Parameters:

Parameter Type Description
value java.lang.String

getCountry()

public final String getCountry()

Specifies the country or region portion of the contact’s address

Returns: java.lang.String

setCountry(String value)

public final void setCountry(String value)

Specifies the country or region portion of the contact’s address

Parameters:

Parameter Type Description
value java.lang.String

getCountryCode()

public final String getCountryCode()

Specifies the country code portion of the contact’s address

Returns: java.lang.String

setCountryCode(String value)

public final void setCountryCode(String value)

Specifies the country code portion of the contact’s address

Parameters:

Parameter Type Description
value java.lang.String

getAddress()

public final String getAddress()

Specifies the complete address of the contact’s address

Returns: java.lang.String

setAddress(String value)

public final void setAddress(String value)

Specifies the complete address of the contact’s address

Parameters:

Parameter Type Description
value java.lang.String

getPostOfficeBox()

public final String getPostOfficeBox()

Gets or sets the post office box

Returns: java.lang.String

setPostOfficeBox(String value)

public final void setPostOfficeBox(String value)

Gets or sets the post office box

Parameters:

Parameter Type Description
value java.lang.String