|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_A_Asset
public class X_A_Asset
Generated Model for A_Asset
| Field Summary | |
|---|---|
protected BigDecimal |
accessLevel
|
static int |
C_BPARTNERSR_ID_AD_Reference_ID
C_BPartnerSR_ID AD_Reference_ID=353 |
static int |
LEASE_BPARTNER_ID_AD_Reference_ID
Lease_BPartner_ID AD_Reference_ID=192 |
protected static KeyNamePair |
Model
|
static int |
SYSTEMSTATUS_AD_Reference_ID
SystemStatus AD_Reference_ID=374 |
static String |
SYSTEMSTATUS_Evaluation
Evaluation = E |
static String |
SYSTEMSTATUS_Implementation
Implementation = I |
static String |
SYSTEMSTATUS_Production
Production = P |
static int |
Table_ID
AD_Table_ID=539 |
static String |
Table_Name
TableName=A_Asset |
static long |
updatedMS
Last Updated Timestamp 2008-06-10 15:12:06.0 |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
X_A_Asset(Ctx ctx,
int A_Asset_ID,
String trxName)
Standard Constructor |
|
X_A_Asset(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getA_Asset_Group_ID()
Get Asset Group. |
int |
getA_Asset_ID()
Get Asset. |
int |
getAD_User_ID()
Get User/Contact. |
Timestamp |
getAssetDepreciationDate()
Get Asset Depreciation Date. |
Timestamp |
getAssetDisposalDate()
Get Asset Disposal Date. |
Timestamp |
getAssetServiceDate()
Get In Service Date. |
int |
getC_BPartner_ID()
Get Business Partner. |
int |
getC_BPartner_Location_ID()
Get Partner Location. |
int |
getC_BPartnerSR_ID()
Get BPartner (Agent). |
int |
getC_Location_ID()
Get Address. |
int |
getC_Project_ID()
Get Project. |
String |
getDescription()
Get Description. |
Timestamp |
getGuaranteeDate()
Get Guarantee Date. |
String |
getHelp()
Get Comment. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
Timestamp |
getLastMaintenanceDate()
Get Last Maintenance. |
String |
getLastMaintenanceNote()
Get Last Note. |
int |
getLastMaintenanceUnit()
Get Last Unit. |
int |
getLease_BPartner_ID()
Get Lessor. |
Timestamp |
getLeaseTerminationDate()
Get Lease Termination. |
BigDecimal |
getLifeUseUnits()
Get Life use. |
String |
getLocationComment()
Get Location comment. |
String |
getLot()
Get Lot No. |
int |
getM_AttributeSetInstance_ID()
Get Attribute Set Instance. |
int |
getM_InOutLine_ID()
Get Shipment/Receipt Line. |
int |
getM_Locator_ID()
Get Locator. |
int |
getM_Product_ID()
Get Product. |
String |
getName()
Get Name. |
Timestamp |
getNextMaintenenceDate()
Get Next Maintenance. |
int |
getNextMaintenenceUnit()
Get Next Unit. |
BigDecimal |
getQty()
Get Quantity. |
String |
getSerNo()
Get Serial No. |
String |
getSystemStatus()
Get System Status. |
int |
getUseLifeMonths()
Get Usable Life - Months. |
int |
getUseLifeYears()
Get Usable Life - Years. |
BigDecimal |
getUseUnits()
Get Use units. |
String |
getValue()
Get Search Key. |
String |
getVersionNo()
Get Version No. |
protected POInfo |
initPO(Ctx ctx)
Load Meta Data |
boolean |
isDepreciated()
Get Depreciate. |
boolean |
isDisposed()
Get Disposed. |
boolean |
isFullyDepreciated()
Get Fully depreciated. |
boolean |
isInPosession()
Get In Possession. |
boolean |
isOwned()
Get Owned. |
boolean |
isSystemStatusValid(String test)
Is test a valid value. |
boolean |
isTrialPhase()
Get TrialPhase. |
void |
setA_Asset_Group_ID(int A_Asset_Group_ID)
Set Asset Group. |
void |
setA_Asset_ID(int A_Asset_ID)
Set Asset. |
void |
setAD_User_ID(int AD_User_ID)
Set User/Contact. |
void |
setAssetDepreciationDate(Timestamp AssetDepreciationDate)
Set Asset Depreciation Date. |
void |
setAssetDisposalDate(Timestamp AssetDisposalDate)
Set Asset Disposal Date. |
void |
setAssetServiceDate(Timestamp AssetServiceDate)
Set In Service Date. |
void |
setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner. |
void |
setC_BPartner_Location_ID(int C_BPartner_Location_ID)
Set Partner Location. |
void |
setC_BPartnerSR_ID(int C_BPartnerSR_ID)
Set BPartner (Agent). |
void |
setC_Location_ID(int C_Location_ID)
Set Address. |
void |
setC_Project_ID(int C_Project_ID)
Set Project. |
void |
setDescription(String Description)
Set Description. |
void |
setGuaranteeDate(Timestamp GuaranteeDate)
Set Guarantee Date. |
void |
setHelp(String Help)
Set Comment. |
void |
setIsDepreciated(boolean IsDepreciated)
Set Depreciate. |
void |
setIsDisposed(boolean IsDisposed)
Set Disposed. |
void |
setIsFullyDepreciated(boolean IsFullyDepreciated)
Set Fully depreciated. |
void |
setIsInPosession(boolean IsInPosession)
Set In Possession. |
void |
setIsOwned(boolean IsOwned)
Set Owned. |
void |
setIsTrialPhase(boolean IsTrialPhase)
Set TrialPhase. |
void |
setLastMaintenanceDate(Timestamp LastMaintenanceDate)
Set Last Maintenance. |
void |
setLastMaintenanceNote(String LastMaintenanceNote)
Set Last Note. |
void |
setLastMaintenanceUnit(int LastMaintenanceUnit)
Set Last Unit. |
void |
setLease_BPartner_ID(int Lease_BPartner_ID)
Set Lessor. |
void |
setLeaseTerminationDate(Timestamp LeaseTerminationDate)
Set Lease Termination. |
void |
setLifeUseUnits(BigDecimal LifeUseUnits)
Set Life use. |
void |
setLocationComment(String LocationComment)
Set Location comment. |
void |
setLot(String Lot)
Set Lot No. |
void |
setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance. |
void |
setM_InOutLine_ID(int M_InOutLine_ID)
Set Shipment/Receipt Line. |
void |
setM_Locator_ID(int M_Locator_ID)
Set Locator. |
void |
setM_Product_ID(int M_Product_ID)
Set Product. |
void |
setName(String Name)
Set Name. |
void |
setNextMaintenenceDate(Timestamp NextMaintenenceDate)
Set Next Maintenance. |
void |
setNextMaintenenceUnit(int NextMaintenenceUnit)
Set Next Unit. |
void |
setQty(BigDecimal Qty)
Set Quantity. |
void |
setSerNo(String SerNo)
Set Serial No. |
void |
setSystemStatus(String SystemStatus)
Set System Status. |
void |
setUseLifeMonths(int UseLifeMonths)
Set Usable Life - Months. |
void |
setUseLifeYears(int UseLifeYears)
Set Usable Life - Years. |
void |
setUseUnits(BigDecimal UseUnits)
Set Use units. |
void |
setValue(String Value)
Set Search Key. |
void |
setVersionNo(String VersionNo)
Set Version No. |
String |
toString()
Info |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long updatedMS
public static final int Table_ID
public static final String Table_Name
protected static KeyNamePair Model
protected BigDecimal accessLevel
public static final int C_BPARTNERSR_ID_AD_Reference_ID
public static final int LEASE_BPARTNER_ID_AD_Reference_ID
public static final int SYSTEMSTATUS_AD_Reference_ID
public static final String SYSTEMSTATUS_Evaluation
public static final String SYSTEMSTATUS_Implementation
public static final String SYSTEMSTATUS_Production
| Constructor Detail |
|---|
public X_A_Asset(Ctx ctx,
int A_Asset_ID,
String trxName)
ctx - contextA_Asset_ID - idtrxName - transaction
public X_A_Asset(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Ctx ctx)
initPO in class POctx - context
public String toString()
toString in class POpublic void setAD_User_ID(int AD_User_ID)
AD_User_ID - User within the system - Internal or Business Partner Contactpublic int getAD_User_ID()
public void setA_Asset_Group_ID(int A_Asset_Group_ID)
A_Asset_Group_ID - Group of Assetspublic int getA_Asset_Group_ID()
public void setA_Asset_ID(int A_Asset_ID)
A_Asset_ID - Asset used internally or by customerspublic int getA_Asset_ID()
public void setAssetDepreciationDate(Timestamp AssetDepreciationDate)
AssetDepreciationDate - Date of last depreciationpublic Timestamp getAssetDepreciationDate()
public void setAssetDisposalDate(Timestamp AssetDisposalDate)
AssetDisposalDate - Date when the asset is/was disposedpublic Timestamp getAssetDisposalDate()
public void setAssetServiceDate(Timestamp AssetServiceDate)
AssetServiceDate - Date when Asset was put into servicepublic Timestamp getAssetServiceDate()
public void setC_BPartnerSR_ID(int C_BPartnerSR_ID)
C_BPartnerSR_ID - Business Partner (Agent or Sales Rep)public int getC_BPartnerSR_ID()
public void setC_BPartner_ID(int C_BPartner_ID)
C_BPartner_ID - Identifies a Business Partnerpublic int getC_BPartner_ID()
public void setC_BPartner_Location_ID(int C_BPartner_Location_ID)
C_BPartner_Location_ID - Identifies the (ship to) address for this Business Partnerpublic int getC_BPartner_Location_ID()
public void setC_Location_ID(int C_Location_ID)
C_Location_ID - Location or Addresspublic int getC_Location_ID()
public void setC_Project_ID(int C_Project_ID)
C_Project_ID - Financial Projectpublic int getC_Project_ID()
public void setDescription(String Description)
Description - Optional short description of the recordpublic String getDescription()
public void setGuaranteeDate(Timestamp GuaranteeDate)
GuaranteeDate - Date when guarantee expirespublic Timestamp getGuaranteeDate()
public void setHelp(String Help)
Help - Comment, Help or Hintpublic String getHelp()
public void setIsDepreciated(boolean IsDepreciated)
IsDepreciated - The asset will be depreciatedpublic boolean isDepreciated()
public void setIsDisposed(boolean IsDisposed)
IsDisposed - The asset is disposedpublic boolean isDisposed()
public void setIsFullyDepreciated(boolean IsFullyDepreciated)
IsFullyDepreciated - The asset is fully depreciatedpublic boolean isFullyDepreciated()
public void setIsInPosession(boolean IsInPosession)
IsInPosession - The asset is in the possession of the organizationpublic boolean isInPosession()
public void setIsOwned(boolean IsOwned)
IsOwned - The asset is owned by the organizationpublic boolean isOwned()
public void setIsTrialPhase(boolean IsTrialPhase)
IsTrialPhase - This is a trial phasepublic boolean isTrialPhase()
public void setLastMaintenanceDate(Timestamp LastMaintenanceDate)
LastMaintenanceDate - Last Maintenance Datepublic Timestamp getLastMaintenanceDate()
public void setLastMaintenanceNote(String LastMaintenanceNote)
LastMaintenanceNote - Last Maintenance Notepublic String getLastMaintenanceNote()
public void setLastMaintenanceUnit(int LastMaintenanceUnit)
LastMaintenanceUnit - Last Maintenance Unitpublic int getLastMaintenanceUnit()
public void setLeaseTerminationDate(Timestamp LeaseTerminationDate)
LeaseTerminationDate - Lease Termination Datepublic Timestamp getLeaseTerminationDate()
public void setLease_BPartner_ID(int Lease_BPartner_ID)
Lease_BPartner_ID - The Business Partner who rents or leasespublic int getLease_BPartner_ID()
public void setLifeUseUnits(BigDecimal LifeUseUnits)
LifeUseUnits - Units of use until the asset is not usable anymorepublic BigDecimal getLifeUseUnits()
public void setLocationComment(String LocationComment)
LocationComment - Additional comments or remarks concerning the locationpublic String getLocationComment()
public void setLot(String Lot)
Lot - Lot number (alphanumeric)public String getLot()
public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
M_AttributeSetInstance_ID - Product Attribute Set Instancepublic int getM_AttributeSetInstance_ID()
public void setM_InOutLine_ID(int M_InOutLine_ID)
M_InOutLine_ID - Line on Shipment or Receipt documentpublic int getM_InOutLine_ID()
public void setM_Locator_ID(int M_Locator_ID)
M_Locator_ID - Warehouse Locatorpublic int getM_Locator_ID()
public void setM_Product_ID(int M_Product_ID)
M_Product_ID - Product, Service, Itempublic int getM_Product_ID()
public void setName(String Name)
Name - Alphanumeric identifier of the entitypublic String getName()
public KeyNamePair getKeyNamePair()
public void setNextMaintenenceDate(Timestamp NextMaintenenceDate)
NextMaintenenceDate - Next Maintenance Datepublic Timestamp getNextMaintenenceDate()
public void setNextMaintenenceUnit(int NextMaintenenceUnit)
NextMaintenenceUnit - Next Maintenance Unitpublic int getNextMaintenenceUnit()
public void setQty(BigDecimal Qty)
Qty - Quantitypublic BigDecimal getQty()
public void setSerNo(String SerNo)
SerNo - Product Serial Numberpublic String getSerNo()
public boolean isSystemStatusValid(String test)
test - testvalue
public void setSystemStatus(String SystemStatus)
SystemStatus - Status of the system - Support priority depends on system statuspublic String getSystemStatus()
public void setUseLifeMonths(int UseLifeMonths)
UseLifeMonths - Months of the usable life of the assetpublic int getUseLifeMonths()
public void setUseLifeYears(int UseLifeYears)
UseLifeYears - Years of the usable life of the assetpublic int getUseLifeYears()
public void setUseUnits(BigDecimal UseUnits)
UseUnits - Currently used units of the assetspublic BigDecimal getUseUnits()
public void setValue(String Value)
Value - Search key for the record in the format required - must be uniquepublic String getValue()
public void setVersionNo(String VersionNo)
VersionNo - Version Numberpublic String getVersionNo()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||