@Entity
@CompositeUnique(fields={"natureOfBusiness","licenseCategory"},
enableDfltMsg=true,
checkForNull=true,
message="{license.validity.exist}")
public class Validity
extends org.egov.infra.persistence.entity.AbstractAuditable
| Constructor and Description |
|---|
Validity() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDay() |
Long |
getId() |
LicenseCategory |
getLicenseCategory() |
Integer |
getMonth() |
NatureOfBusiness |
getNatureOfBusiness() |
Integer |
getWeek() |
Integer |
getYear() |
boolean |
hasValidValues() |
boolean |
isBasedOnFinancialYear() |
void |
setBasedOnFinancialYear(boolean basedOnFinancialYear) |
void |
setDay(Integer day) |
void |
setId(Long id) |
void |
setLicenseCategory(LicenseCategory licenseCategory) |
void |
setMonth(Integer month) |
void |
setNatureOfBusiness(NatureOfBusiness natureOfBusiness) |
void |
setWeek(Integer week) |
void |
setYear(Integer year) |
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDatepublic static final String SEQ
public Long getId()
getId in class org.egov.infra.persistence.entity.AbstractPersistable<Long>public void setId(Long id)
setId in class org.egov.infra.persistence.entity.AbstractPersistable<Long>public NatureOfBusiness getNatureOfBusiness()
public void setNatureOfBusiness(NatureOfBusiness natureOfBusiness)
public LicenseCategory getLicenseCategory()
public void setLicenseCategory(LicenseCategory licenseCategory)
public Integer getDay()
public void setDay(Integer day)
public Integer getWeek()
public void setWeek(Integer week)
public Integer getMonth()
public void setMonth(Integer month)
public Integer getYear()
public void setYear(Integer year)
public boolean isBasedOnFinancialYear()
public void setBasedOnFinancialYear(boolean basedOnFinancialYear)
public boolean hasValidValues()
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.