public class AdminAddress
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
addressFormatTemplate
addressFormatTemplate.
|
private java.lang.String |
addressSummaryTemplate
addressSummaryTemplate.
|
private java.lang.String |
addrStoreId
addrStoreId
|
private java.lang.String |
city
city
|
private java.lang.String |
company
company
|
private java.lang.String |
countryCatKey
The countryCatKey field - not in the d/b
|
private int |
countryId
countryId
|
private java.lang.String |
countryName
countryName
|
private java.lang.String |
custom1
custom field
|
private java.lang.String |
custom2
custom field
|
private java.lang.String |
custom3
custom field
|
private java.lang.String |
custom4
custom field
|
private java.lang.String |
custom5
custom field
|
private int |
customerId
customerId
|
private int |
defaultAddrId
Default address id from Customer table
|
private java.lang.String |
emailAddr
emailAddr
|
private java.lang.String |
firstName
firstName
|
private java.lang.String |
formattedAddress
formattedAddress.
|
private java.lang.String |
formattedName
formattedName.
|
private java.lang.String |
gender
gender
|
private int |
id
id
|
private boolean |
isPrimary
True if this is the primary address.
|
private java.lang.String |
lastName
lastName
|
private int |
manufacturerId
manufacturerId
|
private java.lang.String |
nameFormatTemplate
nameFormatTemplate.
|
private java.lang.String |
postcode
postcode
|
private java.lang.String |
state
state
|
private java.lang.String |
streetAddress
streetAddress
|
private java.lang.String |
streetAddress1
streetAddress1
|
private java.lang.String |
suburb
suburb
|
private java.lang.String |
summaryAddress
summaryAddress.
|
private java.lang.String |
telephoneNumber
telephoneNumber
|
private java.lang.String |
telephoneNumber1
telephoneNumber1
|
private int |
vendorId
vendorId
|
private int |
zoneId
zoneId
|
Constructor and Description |
---|
AdminAddress()
Constructor
|
AdminAddress(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Address object from a Record object
|
Modifier and Type | Method and Description |
---|---|
void |
createFormattedAddresses()
Based on the address templates, the formatted addresses are created.
|
java.lang.String |
getAddressFormatTemplate() |
java.lang.String |
getAddressSummaryTemplate() |
java.lang.String |
getAddrStoreId() |
java.lang.String |
getCity() |
java.lang.String |
getCompany() |
java.lang.String |
getCountryCatKey() |
int |
getCountryId() |
java.lang.String |
getCountryName() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
int |
getCustomerId() |
int |
getDefaultAddrId() |
java.lang.String |
getEmailAddr() |
java.lang.String |
getFirstName() |
java.lang.String |
getFormattedAddress() |
java.lang.String |
getFormattedName() |
java.lang.String |
getGender() |
int |
getId() |
boolean |
getIsPrimary() |
java.lang.String |
getLastName() |
int |
getManufacturerId() |
java.lang.String |
getNameFormatTemplate() |
java.lang.String |
getPostcode() |
java.lang.String |
getState() |
java.lang.String |
getStreetAddress() |
java.lang.String |
getStreetAddress1() |
java.lang.String |
getSuburb() |
java.lang.String |
getSummaryAddress() |
java.lang.String |
getTelephoneNumber() |
java.lang.String |
getTelephoneNumber1() |
int |
getVendorId() |
int |
getZoneId() |
void |
setAddressFormatTemplate(java.lang.String addressFormatTemplate) |
void |
setAddressSummaryTemplate(java.lang.String addressSummaryTemplate) |
void |
setAddrStoreId(java.lang.String addrStoreId) |
void |
setCity(java.lang.String city) |
void |
setCompany(java.lang.String company) |
void |
setCountryCatKey(java.lang.String countryCatKey) |
void |
setCountryId(int countryId) |
void |
setCountryName(java.lang.String countryName) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustomerId(int customerId) |
void |
setDefaultAddrId(int defaultAddrId) |
void |
setEmailAddr(java.lang.String emailAddr) |
void |
setFirstName(java.lang.String firstName) |
void |
setFormattedAddress(java.lang.String formattedAddress) |
void |
setFormattedName(java.lang.String formattedName) |
void |
setGender(java.lang.String gender) |
void |
setId(int id) |
void |
setIsPrimary(boolean isPrimary) |
void |
setLastName(java.lang.String lastName) |
void |
setManufacturerId(int manufacturerId) |
void |
setNameFormatTemplate(java.lang.String nameFormatTemplate) |
void |
setPostcode(java.lang.String postcode) |
void |
setState(java.lang.String state) |
void |
setStreetAddress(java.lang.String streetAddress) |
void |
setStreetAddress1(java.lang.String streetAddress1) |
void |
setSuburb(java.lang.String suburb) |
void |
setSummaryAddress(java.lang.String summaryAddress) |
void |
setTelephoneNumber(java.lang.String telephoneNumber) |
void |
setTelephoneNumber1(java.lang.String telephoneNumber1) |
void |
setVendorId(int vendorId) |
void |
setZoneId(int zoneId) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private int customerId
private int vendorId
private int manufacturerId
private java.lang.String addrStoreId
private java.lang.String gender
private java.lang.String company
private java.lang.String firstName
private java.lang.String lastName
private java.lang.String streetAddress
private java.lang.String streetAddress1
private java.lang.String suburb
private java.lang.String postcode
private java.lang.String city
private java.lang.String state
private int countryId
private java.lang.String countryName
private java.lang.String countryCatKey
private java.lang.String telephoneNumber
private java.lang.String telephoneNumber1
private java.lang.String emailAddr
private int zoneId
private java.lang.String addressFormatTemplate
private java.lang.String formattedAddress
private java.lang.String addressSummaryTemplate
private java.lang.String summaryAddress
private java.lang.String nameFormatTemplate
private java.lang.String formattedName
private boolean isPrimary
private int defaultAddrId
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
public AdminAddress()
public AdminAddress(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public void createFormattedAddresses()
An example template is :
$firstname $lastname$cr$company$cr$streets$cr$city, $postcode$cr$state, $country$crtel: $telephone $telephone1$cremail: $email
Valid template attributes are:
public java.lang.String toStringBrief()
public java.lang.String getCity()
public void setCity(java.lang.String city)
city
- The city to set.public java.lang.String getCompany()
public void setCompany(java.lang.String company)
company
- The company to set.public int getCountryId()
public void setCountryId(int countryId)
countryId
- The country to set.public int getCustomerId()
public void setCustomerId(int customerId)
customerId
- The customerId to set.public java.lang.String getFirstName()
public void setFirstName(java.lang.String firstName)
firstName
- The firstName to set.public java.lang.String getGender()
public void setGender(java.lang.String gender)
gender
- The gender to set.public int getId()
public void setId(int id)
id
- The id to set.public java.lang.String getLastName()
public void setLastName(java.lang.String lastName)
lastName
- The lastName to set.public java.lang.String getPostcode()
public void setPostcode(java.lang.String postcode)
postcode
- The postcode to set.public java.lang.String getState()
public void setState(java.lang.String state)
state
- The state to set.public java.lang.String getStreetAddress()
public void setStreetAddress(java.lang.String streetAddress)
streetAddress
- The streetAddress to set.public java.lang.String getSuburb()
public void setSuburb(java.lang.String suburb)
suburb
- The suburb to set.public int getZoneId()
public void setZoneId(int zoneId)
zoneId
- The zoneId to set.public java.lang.String getAddressFormatTemplate()
public void setAddressFormatTemplate(java.lang.String addressFormatTemplate)
addressFormatTemplate
- The addressFormatTemplate to set.public java.lang.String getAddressSummaryTemplate()
public void setAddressSummaryTemplate(java.lang.String addressSummaryTemplate)
addressSummaryTemplate
- The addressSummaryTemplate to set.public java.lang.String getFormattedAddress()
public void setFormattedAddress(java.lang.String formattedAddress)
formattedAddress
- The formattedAddress to set.public java.lang.String getSummaryAddress()
public void setSummaryAddress(java.lang.String summaryAddress)
summaryAddress
- The summaryAddress to set.public java.lang.String getCountryName()
public void setCountryName(java.lang.String countryName)
countryName
- The countryName to set.public boolean getIsPrimary()
public void setIsPrimary(boolean isPrimary)
isPrimary
- The isPrimary to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.public java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.public java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.public java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- The custom4 to set.public java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- The custom5 to set.public java.lang.String getTelephoneNumber()
public void setTelephoneNumber(java.lang.String telephoneNumber)
telephoneNumber
- the telephoneNumber to setpublic java.lang.String getTelephoneNumber1()
public void setTelephoneNumber1(java.lang.String telephoneNumber1)
telephoneNumber1
- the telephoneNumber1 to setpublic java.lang.String getEmailAddr()
public void setEmailAddr(java.lang.String emailAddr)
emailAddr
- the emailAddr to setpublic java.lang.String getStreetAddress1()
public void setStreetAddress1(java.lang.String streetAddress1)
streetAddress1
- the streetAddress1 to setpublic int getManufacturerId()
public void setManufacturerId(int manufacturerId)
manufacturerId
- the manufacturerId to setpublic java.lang.String getCountryCatKey()
public void setCountryCatKey(java.lang.String countryCatKey)
countryCatKey
- the countryCatKey to setpublic int getDefaultAddrId()
public void setDefaultAddrId(int defaultAddrId)
defaultAddrId
- the defaultAddrId to setpublic java.lang.String getAddrStoreId()
public void setAddrStoreId(java.lang.String addrStoreId)
addrStoreId
- the addrStoreId to setpublic java.lang.String getFormattedName()
public void setFormattedName(java.lang.String formattedName)
formattedName
- the formattedName to setpublic java.lang.String getNameFormatTemplate()
public void setNameFormatTemplate(java.lang.String nameFormatTemplate)
nameFormatTemplate
- the nameFormatTemplate to setpublic int getVendorId()
public void setVendorId(int vendorId)
vendorId
- the vendorId to setCopyright © 2018 DS Data Systems UK Ltd.