@Entity
@CompositeUnique(fields={"usageType","propertyType"},
enableDfltMsg=true,
message="{waterpropertyusage.validity.exist}")
public class WaterPropertyUsage
extends org.egov.infra.persistence.entity.AbstractAuditable
| Modifier and Type | Field and Description |
|---|---|
static String |
SEQ_PROPERTY_USAGE |
| Constructor and Description |
|---|
WaterPropertyUsage() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getId() |
PropertyType |
getPropertyType() |
UsageType |
getUsageType() |
boolean |
isActive() |
void |
setActive(boolean active) |
protected void |
setId(Long id) |
void |
setPropertyType(PropertyType propertyType) |
void |
setUsageType(UsageType usageType) |
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDatepublic static final String SEQ_PROPERTY_USAGE
public PropertyType getPropertyType()
public void setPropertyType(PropertyType propertyType)
public Long getId()
getId in class org.egov.infra.persistence.entity.AbstractPersistable<Long>protected void setId(Long id)
setId in class org.egov.infra.persistence.entity.AbstractPersistable<Long>public UsageType getUsageType()
public void setUsageType(UsageType usageType)
public boolean isActive()
public void setActive(boolean active)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.