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 city
           
protected  String companyName
           
protected  Country country
           
protected  String county
           
protected  String firstName
           
protected  Long id
           
protected  boolean isActive
           
protected  boolean isBusiness
           
protected  boolean isDefault
           
protected  String lastName
           
protected  String postalCode
           
protected  String primaryPhone
           
protected  String secondaryPhone
           
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 getCity()
           
 String getCompanyName()
           
 Country getCountry()
           
 String getCounty()
           
 String getFirstName()
           
 Long getId()
           
 String getLastName()
           
 String getPostalCode()
           
 String getPrimaryPhone()
           
 String getSecondaryPhone()
           
 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 setBusiness(boolean isBusiness)
           
 void setCity(String city)
           
 void setCompanyName(String companyName)
           
 void setCountry(Country country)
           
 void setCounty(String county)
           
 void setDefault(boolean isDefault)
           
 void setFirstName(String firstName)
           
 void setId(Long id)
           
 void setLastName(String lastName)
           
 void setPostalCode(String postalCode)
           
 void setPrimaryPhone(String primaryPhone)
           
 void setSecondaryPhone(String secondaryPhone)
           
 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

addressLine1

protected String addressLine1

addressLine2

protected String addressLine2

city

protected String city

postalCode

protected String postalCode

county

protected String county

state

protected State state

country

protected Country country

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


zipFour

protected String zipFour

companyName

protected String companyName

isDefault

protected boolean isDefault

isActive

protected boolean isActive

firstName

protected String firstName

lastName

protected String lastName

primaryPhone

protected String primaryPhone

secondaryPhone

protected String secondaryPhone

isBusiness

protected boolean isBusiness

verificationLevel

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

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

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()

setActive

public void setActive(boolean isActive)

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

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

setPrimaryPhone

public void setPrimaryPhone(String primaryPhone)
Specified by:
setPrimaryPhone in interface Address

getSecondaryPhone

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

setSecondaryPhone

public void setSecondaryPhone(String secondaryPhone)
Specified by:
setSecondaryPhone 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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012. All Rights Reserved.