@Unique(fields="code",
id="id",
tableName="EGW_SCHEDULECATEGORY",
columnName="CODE",
message="scheduleCategory.code.isunique")
public class ScheduleCategory
extends org.egov.infstr.models.BaseModel
| Constructor and Description |
|---|
ScheduleCategory() |
ScheduleCategory(String code,
String description) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getDescription() |
ScheduleCategory |
getParent() |
String |
getSearchableData() |
void |
setCode(String code) |
void |
setDescription(String description) |
void |
setParent(ScheduleCategory parent) |
List<org.egov.infra.validation.exception.ValidationError> |
validate() |
public ScheduleCategory getParent()
public void setParent(ScheduleCategory parent)
@NotEmpty(message="scheduleCategory.description.not.empty") public String getDescription()
public void setDescription(String description)
@NotEmpty(message="scheduleCategory.code.not.empty") public String getCode()
public void setCode(String code)
public String getSearchableData()
public List<org.egov.infra.validation.exception.ValidationError> validate()
validate in class org.egov.infstr.models.BaseModelCopyright © 2015–2016 eGovernments Foundation. All rights reserved.