org.broadleafcommerce.profile.core.domain
Class AddressImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.domain.AddressImpl
All Implemented Interfaces:
Serializable, Address

@Entity
public class AddressImpl
extends Object
implements Address

See Also:
Serialized Form

Field Summary
protected  String addressLine1
           
protected  String addressLine2
           
protected  String addressLine3
           
protected  String city
           
protected  String companyName
           
protected  Country country
           
protected  String county
           
protected  String emailAddress
           
protected  String fax
          Deprecated. 
protected  String firstName
           
protected  Long id
           
protected  boolean isActive
           
protected  boolean isBusiness
           
protected  boolean isDefault
           
protected  String lastName
           
protected  Phone phoneFax
           
protected  Phone phonePrimary
           
protected  Phone phoneSecondary
           
protected  String postalCode
           
protected  String primaryPhone
          Deprecated. 
protected  String secondaryPhone
          Deprecated. 
protected  Boolean standardized
          This is intented to be used for address verification integrations and should not be modifiable in the admin
protected  State state
           
protected  String tokenizedAddress
          This is intented to be used for address verification integrations and should not be modifiable in the admin
protected  String verificationLevel
          This is intented to be used for address verification integrations and should not be modifiable in the admin
protected  String zipFour
           
 
Constructor Summary
AddressImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAddressLine1()
           
 String getAddressLine2()
           
 String getAddressLine3()
           
 String getCity()
           
 String getCompanyName()
           
 Country getCountry()
           
 String getCounty()
           
 String getEmailAddress()
           
 String getFax()
          Deprecated. 
 String getFirstName()
           
 Long getId()
           
 String getLastName()
           
 Phone getPhoneFax()
           
 Phone getPhonePrimary()
           
 Phone getPhoneSecondary()
           
 String getPostalCode()
           
 String getPrimaryPhone()
          Deprecated. 
 String getSecondaryPhone()
          Deprecated. 
 Boolean getStandardized()
           
 State getState()
           
 String getTokenizedAddress()
           
 String getVerificationLevel()
           
 String getZipFour()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isBusiness()
           
 boolean isDefault()
           
 void setActive(boolean isActive)
           
 void setAddressLine1(String addressLine1)
           
 void setAddressLine2(String addressLine2)
           
 void setAddressLine3(String addressLine3)
           
 void setBusiness(boolean isBusiness)
           
 void setCity(String city)
           
 void setCompanyName(String companyName)
           
 void setCountry(Country country)
           
 void setCounty(String county)
           
 void setDefault(boolean isDefault)
           
 void setEmailAddress(String emailAddress)
           
 void setFax(String fax)
          Deprecated. 
 void setFirstName(String firstName)
           
 void setId(Long id)
           
 void setLastName(String lastName)
           
 void setPhoneFax(Phone phoneFax)
           
 void setPhonePrimary(Phone phonePrimary)
           
 void setPhoneSecondary(Phone phoneSecondary)
           
 void setPostalCode(String postalCode)
           
 void setPrimaryPhone(String primaryPhone)
          Deprecated. 
 void setSecondaryPhone(String secondaryPhone)
          Deprecated. 
 void setStandardized(Boolean standardized)
           
 void setState(State state)
           
 void setTokenizedAddress(String tokenizedAddress)
           
 void setVerificationLevel(String verificationLevel)
           
 void setZipFour(String zipFour)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

firstName

protected String firstName

lastName

protected String lastName

emailAddress

protected String emailAddress

companyName

protected String companyName

addressLine1

protected String addressLine1

addressLine2

protected String addressLine2

addressLine3

protected String addressLine3

city

protected String city

state

protected State state

county

protected String county

country

protected Country country

postalCode

protected String postalCode

zipFour

protected String zipFour

phonePrimary

protected Phone phonePrimary

phoneSecondary

protected Phone phoneSecondary

phoneFax

protected Phone phoneFax

isDefault

protected boolean isDefault

isActive

protected boolean isActive

isBusiness

protected boolean isBusiness

tokenizedAddress

protected String tokenizedAddress
This is intented to be used for address verification integrations and should not be modifiable in the admin


standardized

protected Boolean standardized
This is intented to be used for address verification integrations and should not be modifiable in the admin


verificationLevel

protected String verificationLevel
This is intented to be used for address verification integrations and should not be modifiable in the admin


primaryPhone

@Deprecated
protected String primaryPhone
Deprecated. 

secondaryPhone

@Deprecated
protected String secondaryPhone
Deprecated. 

fax

@Deprecated
protected String fax
Deprecated. 
Constructor Detail

AddressImpl

public AddressImpl()
Method Detail

getId

public Long getId()
Specified by:
getId in interface Address

setId

public void setId(Long id)
Specified by:
setId in interface Address

getAddressLine1

public String getAddressLine1()
Specified by:
getAddressLine1 in interface Address

setAddressLine1

public void setAddressLine1(String addressLine1)
Specified by:
setAddressLine1 in interface Address

getAddressLine2

public String getAddressLine2()
Specified by:
getAddressLine2 in interface Address

setAddressLine2

public void setAddressLine2(String addressLine2)
Specified by:
setAddressLine2 in interface Address

getAddressLine3

public String getAddressLine3()
Specified by:
getAddressLine3 in interface Address

setAddressLine3

public void setAddressLine3(String addressLine3)
Specified by:
setAddressLine3 in interface Address

getCity

public String getCity()
Specified by:
getCity in interface Address

setCity

public void setCity(String city)
Specified by:
setCity in interface Address

getCountry

public Country getCountry()
Specified by:
getCountry in interface Address

setCountry

public void setCountry(Country country)
Specified by:
setCountry in interface Address

getPostalCode

public String getPostalCode()
Specified by:
getPostalCode in interface Address

setPostalCode

public void setPostalCode(String postalCode)
Specified by:
setPostalCode in interface Address

getCounty

public String getCounty()
Specified by:
getCounty in interface Address

setCounty

public void setCounty(String county)
Specified by:
setCounty in interface Address

getState

public State getState()
Specified by:
getState in interface Address

setState

public void setState(State state)
Specified by:
setState in interface Address

getTokenizedAddress

public String getTokenizedAddress()
Specified by:
getTokenizedAddress in interface Address

setTokenizedAddress

public void setTokenizedAddress(String tokenizedAddress)
Specified by:
setTokenizedAddress in interface Address

getStandardized

public Boolean getStandardized()
Specified by:
getStandardized in interface Address

setStandardized

public void setStandardized(Boolean standardized)
Specified by:
setStandardized in interface Address

getZipFour

public String getZipFour()
Specified by:
getZipFour in interface Address

setZipFour

public void setZipFour(String zipFour)
Specified by:
setZipFour in interface Address

getCompanyName

public String getCompanyName()
Specified by:
getCompanyName in interface Address

setCompanyName

public void setCompanyName(String companyName)
Specified by:
setCompanyName in interface Address

isDefault

public boolean isDefault()
Specified by:
isDefault in interface Address

setDefault

public void setDefault(boolean isDefault)
Specified by:
setDefault in interface Address

isActive

public boolean isActive()
Specified by:
isActive in interface Address

setActive

public void setActive(boolean isActive)
Specified by:
setActive in interface Address

getFirstName

public String getFirstName()
Specified by:
getFirstName in interface Address

setFirstName

public void setFirstName(String firstName)
Specified by:
setFirstName in interface Address

getLastName

public String getLastName()
Specified by:
getLastName in interface Address

setLastName

public void setLastName(String lastName)
Specified by:
setLastName in interface Address

getPrimaryPhone

@Deprecated
public String getPrimaryPhone()
Deprecated. 

Specified by:
getPrimaryPhone in interface Address
See Also:
Phone}

setPrimaryPhone

@Deprecated
public void setPrimaryPhone(String primaryPhone)
Deprecated. 

Specified by:
setPrimaryPhone in interface Address
See Also:
Phone}

getSecondaryPhone

@Deprecated
public String getSecondaryPhone()
Deprecated. 

Specified by:
getSecondaryPhone in interface Address
See Also:
Phone}

setSecondaryPhone

@Deprecated
public void setSecondaryPhone(String secondaryPhone)
Deprecated. 

Specified by:
setSecondaryPhone in interface Address
See Also:
Phone}

getFax

@Deprecated
public String getFax()
Deprecated. 

Specified by:
getFax in interface Address
See Also:
Phone}

setFax

@Deprecated
public void setFax(String fax)
Deprecated. 

Specified by:
setFax in interface Address
See Also:
Phone}

getPhonePrimary

public Phone getPhonePrimary()
Specified by:
getPhonePrimary in interface Address

setPhonePrimary

public void setPhonePrimary(Phone phonePrimary)
Specified by:
setPhonePrimary in interface Address

getPhoneSecondary

public Phone getPhoneSecondary()
Specified by:
getPhoneSecondary in interface Address

setPhoneSecondary

public void setPhoneSecondary(Phone phoneSecondary)
Specified by:
setPhoneSecondary in interface Address

getPhoneFax

public Phone getPhoneFax()
Specified by:
getPhoneFax in interface Address

setPhoneFax

public void setPhoneFax(Phone phoneFax)
Specified by:
setPhoneFax in interface Address

isBusiness

public boolean isBusiness()
Specified by:
isBusiness in interface Address

setBusiness

public void setBusiness(boolean isBusiness)
Specified by:
setBusiness in interface Address

getVerificationLevel

public String getVerificationLevel()
Specified by:
getVerificationLevel in interface Address

setVerificationLevel

public void setVerificationLevel(String verificationLevel)
Specified by:
setVerificationLevel in interface Address

getEmailAddress

public String getEmailAddress()
Specified by:
getEmailAddress in interface Address

setEmailAddress

public void setEmailAddress(String emailAddress)
Specified by:
setEmailAddress in interface Address

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.