@Entity
@Unique(fields="code",
id="id",
tableName="EGASSET_ASSET_CATEGORY",
columnName="CODE",
message="assetcat.code.isunique")
public class AssetCategory
extends org.egov.infra.persistence.entity.AbstractAuditable
| Modifier and Type | Class and Description |
|---|---|
static class |
AssetCategory.AssetType |
static class |
AssetCategory.DepreciationMethod |
| Constructor and Description |
|---|
AssetCategory()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDepreciationMetaData(DepreciationMetaData depreciationMetaData) |
org.egov.commons.CChartOfAccounts |
getAccDepAccountCode() |
org.egov.commons.CChartOfAccounts |
getAssetAccountCode() |
AssetCategory.AssetType |
getAssetType() |
List<CategoryPropertyType> |
getCategoryProperties() |
String |
getCode() |
org.egov.commons.CChartOfAccounts |
getDepExpAccountCode() |
List<DepreciationMetaData> |
getDepreciationMetaDataList() |
AssetCategory.DepreciationMethod |
getDepreciationMethod() |
Long |
getId() |
String |
getName() |
AssetCategory |
getParent() |
org.egov.commons.CChartOfAccounts |
getRevAccountCode() |
org.egov.common.entity.UOM |
getUom() |
void |
setAccDepAccountCode(org.egov.commons.CChartOfAccounts accDepAccountCode) |
void |
setAssetAccountCode(org.egov.commons.CChartOfAccounts assetAccountCode) |
void |
setAssetType(AssetCategory.AssetType assetType) |
void |
setCategoryProperties(List<CategoryPropertyType> categoryProperties) |
void |
setCode(String code) |
void |
setDepExpAccountCode(org.egov.commons.CChartOfAccounts depExpAccountCode) |
void |
setDepreciationMetaDataList(List<DepreciationMetaData> depreciationMetaDataList) |
void |
setDepreciationMethod(AssetCategory.DepreciationMethod depreciationMethod) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setParent(AssetCategory parent) |
void |
setRevAccountCode(org.egov.commons.CChartOfAccounts revAccountCode) |
void |
setUom(org.egov.common.entity.UOM uom) |
String |
toString() |
List<org.egov.infra.validation.exception.ValidationError> |
validate() |
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDatepublic static final String SEQ
public org.egov.commons.CChartOfAccounts getAssetAccountCode()
public void setAssetAccountCode(org.egov.commons.CChartOfAccounts assetAccountCode)
public org.egov.commons.CChartOfAccounts getAccDepAccountCode()
public void setAccDepAccountCode(org.egov.commons.CChartOfAccounts accDepAccountCode)
public org.egov.commons.CChartOfAccounts getRevAccountCode()
public void setRevAccountCode(org.egov.commons.CChartOfAccounts revAccountCode)
public AssetCategory.DepreciationMethod getDepreciationMethod()
public void setDepreciationMethod(AssetCategory.DepreciationMethod depreciationMethod)
public org.egov.commons.CChartOfAccounts getDepExpAccountCode()
public void setDepExpAccountCode(org.egov.commons.CChartOfAccounts depExpAccountCode)
public String getCode()
public void setCode(String code)
public String getName()
public void setName(String name)
public AssetCategory.AssetType getAssetType()
public void setAssetType(AssetCategory.AssetType assetType)
public org.egov.common.entity.UOM getUom()
public void setUom(org.egov.common.entity.UOM uom)
public AssetCategory getParent()
public void setParent(AssetCategory parent)
public List<DepreciationMetaData> getDepreciationMetaDataList()
public void setDepreciationMetaDataList(List<DepreciationMetaData> depreciationMetaDataList)
public void addDepreciationMetaData(DepreciationMetaData depreciationMetaData)
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 String toString()
toString in class org.egov.infra.persistence.entity.AbstractPersistable<Long>public List<org.egov.infra.validation.exception.ValidationError> validate()
public List<CategoryPropertyType> getCategoryProperties()
public void setCategoryProperties(List<CategoryPropertyType> categoryProperties)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.