public class OfferForm extends Object
Constructor and Description |
---|
OfferForm()
Instantiates a new offer form.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear.
|
Float |
getAddrLat()
Gets the addr lat.
|
Float |
getAddrLon()
Gets the addr lon.
|
String |
getAddrNum()
Gets the addr num.
|
String |
getAddrStreet()
Gets the addr street.
|
String[] |
getCategories()
Gets the categories.
|
String |
getContactForename()
Gets the contact forename.
|
String |
getContactMail()
Gets the contact mail.
|
String |
getContactSndForename()
Gets the contact snd forename.
|
String |
getContactSndMail()
Gets the contact snd mail.
|
String |
getContactSndSurname()
Gets the contact snd surname.
|
String |
getContactSndTel()
Gets the contact snd tel.
|
String |
getContactSurname()
Gets the contact surname.
|
String |
getContactTel()
Gets the contact tel.
|
long |
getCreateDate()
Gets the creates the date.
|
String |
getDescr()
Gets the descr.
|
String |
getExpireDate()
Gets the expire date.
|
String |
getExpireTime()
Gets the expire time.
|
long |
getOfferId()
Gets the offer id.
|
long |
getOrgId()
Gets the org id.
|
String |
getPublishDate()
Gets the publish date.
|
String |
getPublishTime()
Gets the publish time.
|
String |
getRegionCity()
Gets the region city.
|
String |
getRegionCountry()
Gets the region country.
|
String |
getRegionZip()
Gets the region zip.
|
boolean |
getRequireAgencyContact()
Gets the require agency contact.
|
String[] |
getServices()
Gets the services.
|
String |
getTitle()
Gets the title.
|
String |
getType()
Gets the type.
|
String |
getWorkHours()
Gets the work hours.
|
String |
getWorkType()
Gets the work type.
|
boolean |
isRequireAgencyContact()
Checks if is require agency contact.
|
void |
setAddrLat(Float val)
Sets the addr lat.
|
void |
setAddrLon(Float val)
Sets the addr lon.
|
void |
setAddrNum(String m_strAddrNum)
Sets the addr num.
|
void |
setAddrStreet(String m_strAddrStreet)
Sets the addr street.
|
void |
setCategories(String[] array)
Sets the categories.
|
void |
setContactForename(String m_strContactForename)
Sets the contact forename.
|
void |
setContactMail(String m_strContactMail)
Sets the contact mail.
|
void |
setContactSndForename(String m_strContactForename)
Sets the contact snd forename.
|
void |
setContactSndMail(String m_strContactMail)
Sets the contact snd mail.
|
void |
setContactSndSurname(String m_strContactSurname)
Sets the contact snd surname.
|
void |
setContactSndTel(String m_strContactTel)
Sets the contact snd tel.
|
void |
setContactSurname(String m_strContactSurname)
Sets the contact surname.
|
void |
setContactTel(String m_strContactTel)
Sets the contact tel.
|
void |
setCreateDate(long m_numCreateDate)
Sets the creates the date.
|
void |
setDescr(String m_strDescr)
Sets the descr.
|
void |
setExpireDate(String m_numExpireDate)
Sets the expire date.
|
void |
setExpireTime(String m_numExpireTime)
Sets the expire time.
|
void |
setOfferId(long id)
Sets the offer id.
|
void |
setOrgId(long id)
Sets the org id.
|
void |
setPublishDate(String m_numDate)
Sets the publish date.
|
void |
setPublishTime(String m_numPublishTime)
Sets the publish time.
|
void |
setRegionCity(String m_strRegionCity)
Sets the region city.
|
void |
setRegionCountry(String m_strRegionCountry)
Sets the region country.
|
void |
setRegionZip(String m_strRegionZip)
Sets the region zip.
|
void |
setRequireAgencyContact(boolean val)
Sets the require agency contact.
|
void |
setServices(String[] array)
Sets the services.
|
void |
setTitle(String m_strTitle)
Sets the title.
|
void |
setType(String m_strType)
Sets the type.
|
void |
setWorkHours(String val)
Sets the work hours.
|
void |
setWorkType(String m_strType)
Sets the work type.
|
public void clear()
public Float getAddrLat()
public Float getAddrLon()
@NotEmpty(message="org.form.offer.field.addrNum.empty") @NotNull(message="org.form.offer.field.addrNum.empty") @NotBlank(message="org.form.offer.field.addrNum.empty") public String getAddrNum()
@NotEmpty(message="org.form.offer.field.addrStreet.empty") @NotNull(message="org.form.offer.field.addrStreet.empty") @NotBlank(message="org.form.offer.field.addrStreet.empty") public String getAddrStreet()
@Size(min=1, message="org.form.offer.field.categories.empty") public String[] getCategories()
public String getContactForename()
public String getContactMail()
@NotEmpty(message="org.form.offer.field.contactFN.empty") @NotNull(message="org.form.offer.field.contactFN.empty") @NotBlank(message="org.form.offer.field.contactFN.empty") public String getContactSndForename()
@NotEmpty(message="org.form.offer.field.contactMail.empty") @NotNull(message="org.form.offer.field.contactMail.empty") @NotBlank(message="org.form.offer.field.contactMail.empty") @Email(message="org.form.offer.field.contactMail.pattern") public String getContactSndMail()
@NotEmpty(message="org.form.offer.field.contactSN.empty") @NotNull(message="org.form.offer.field.contactSN.empty") @NotBlank(message="org.form.offer.field.contactSN.empty") public String getContactSndSurname()
@NotEmpty(message="org.form.offer.field.contactTel.empty") @NotNull(message="org.form.offer.field.contactTel.empty") @NotBlank(message="org.form.offer.field.contactTel.empty") public String getContactSndTel()
public String getContactSurname()
public String getContactTel()
public long getCreateDate()
@NotEmpty(message="org.form.offer.field.descr.empty") @NotNull(message="org.form.offer.field.descr.empty") @NotBlank(message="org.form.offer.field.descr.empty") public String getDescr()
@NotNull(message="org.form.offer.field.expireDate.empty") @NotEmpty(message="org.form.offer.field.expireDate.empty") @NotBlank(message="org.form.offer.field.expireDate.empty") public String getExpireDate()
@NotEmpty(message="org.form.offer.field.expireTime.empty") @NotNull(message="org.form.offer.field.expireTime.empty") @NotBlank(message="org.form.offer.field.expireTime.empty") @Pattern(regexp="\\d{2}:\\d{2}", message="org.form.offer.field.expireTime.invalid") public String getExpireTime()
public long getOfferId()
public long getOrgId()
@NotNull(message="org.form.offer.field.publishDate.empty") @NotEmpty(message="org.form.offer.field.publishDate.empty") @NotBlank(message="org.form.offer.field.publishDate.empty") public String getPublishDate()
@NotEmpty(message="org.form.offer.field.publishTime.empty") @NotNull(message="org.form.offer.field.publishTime.empty") @NotBlank(message="org.form.offer.field.publishTime.empty") @Pattern(regexp="\\d{2}:\\d{2}", message="org.form.offer.field.publishTime.invalid") public String getPublishTime()
@NotEmpty(message="org.form.offer.field.regionCity.empty") @NotNull(message="org.form.offer.field.regionCity.empty") @NotBlank(message="org.form.offer.field.regionCity.empty") public String getRegionCity()
@NotEmpty(message="org.form.offer.field.regionCountry.empty") @NotNull(message="org.form.offer.field.regionCountry.empty") @NotBlank(message="org.form.offer.field.regionCountry.empty") @Pattern(regexp="[0-9]\\d*", message="org.form.offer.field.regionCountry.empty") public String getRegionCountry()
@NotEmpty(message="org.form.offer.field.regionZip.empty") @NotNull(message="org.form.offer.field.regionZip.empty") @NotBlank(message="org.form.offer.field.regionZip.empty") @Pattern(regexp="\\d{5}", message="org.form.offer.field.regionZip.invalid") public String getRegionZip()
public boolean getRequireAgencyContact()
public String[] getServices()
@NotEmpty(message="org.form.offer.field.title.empty") @NotNull(message="org.form.offer.field.title.empty") @NotBlank(message="org.form.offer.field.title.empty") public String getTitle()
@NotEmpty(message="org.form.offer.field.type.empty") @NotNull(message="org.form.offer.field.type.empty") @NotBlank(message="org.form.offer.field.type.empty") public String getType()
@NotEmpty(message="org.form.offer.field.workHours.empty") @NotNull(message="org.form.offer.field.workHours.empty") @NotBlank(message="org.form.offer.field.workHours.empty") @Pattern(regexp="[0-9]\\d*", message="org.form.offer.field.workHours.empty") public String getWorkHours()
public String getWorkType()
public boolean isRequireAgencyContact()
public void setAddrLat(Float val)
val
- the new addr latpublic void setAddrLon(Float val)
val
- the new addr lonpublic void setAddrNum(String m_strAddrNum)
m_strAddrNum
- the new addr numpublic void setAddrStreet(String m_strAddrStreet)
m_strAddrStreet
- the new addr streetpublic void setCategories(String[] array)
array
- the new categoriespublic void setContactForename(String m_strContactForename)
m_strContactForename
- the new contact forenamepublic void setContactMail(String m_strContactMail)
m_strContactMail
- the new contact mailpublic void setContactSndForename(String m_strContactForename)
m_strContactForename
- the new contact snd forenamepublic void setContactSndMail(String m_strContactMail)
m_strContactMail
- the new contact snd mailpublic void setContactSndSurname(String m_strContactSurname)
m_strContactSurname
- the new contact snd surnamepublic void setContactSndTel(String m_strContactTel)
m_strContactTel
- the new contact snd telpublic void setContactSurname(String m_strContactSurname)
m_strContactSurname
- the new contact surnamepublic void setContactTel(String m_strContactTel)
m_strContactTel
- the new contact telpublic void setCreateDate(long m_numCreateDate)
m_numCreateDate
- the new creates the datepublic void setDescr(String m_strDescr)
m_strDescr
- the new descrpublic void setExpireDate(String m_numExpireDate)
m_numExpireDate
- the new expire datepublic void setExpireTime(String m_numExpireTime)
m_numExpireTime
- the new expire timepublic void setOfferId(long id)
id
- the new offer idpublic void setOrgId(long id)
id
- the new org idpublic void setPublishDate(String m_numDate)
m_numDate
- the new publish datepublic void setPublishTime(String m_numPublishTime)
m_numPublishTime
- the new publish timepublic void setRegionCity(String m_strRegionCity)
m_strRegionCity
- the new region citypublic void setRegionCountry(String m_strRegionCountry)
m_strRegionCountry
- the new region countrypublic void setRegionZip(String m_strRegionZip)
m_strRegionZip
- the new region zippublic void setRequireAgencyContact(boolean val)
val
- the new require agency contactpublic void setServices(String[] array)
array
- the new servicespublic void setTitle(String m_strTitle)
m_strTitle
- the new titlepublic void setType(String m_strType)
m_strType
- the new typepublic void setWorkHours(String val)
val
- the new work hourspublic void setWorkType(String m_strType)
m_strType
- the new work typeCopyright © 2016 Fraunhofer FOKUS. All rights reserved.