Adempiere 3.5.2a

org.compiere.model
Class X_A_Asset

java.lang.Object
  extended by org.compiere.model.PO
      extended by org.compiere.model.X_A_Asset
All Implemented Interfaces:
Serializable, Comparator, I_A_Asset, I_Persistent, Evaluatee
Direct Known Subclasses:
MAsset

public class X_A_Asset
extends PO
implements I_A_Asset, I_Persistent

Generated Model for A_Asset

Version:
Release 3.5.2a - $Id$
Author:
Adempiere (generated)
See Also:
Serialized Form

Field Summary
static int A_PARENT_ASSET_ID_AD_Reference_ID
          A_Parent_Asset_ID AD_Reference_ID=53258
static int C_BPARTNERSR_ID_AD_Reference_ID
          C_BPartnerSR_ID AD_Reference_ID=232
static int LEASE_BPARTNER_ID_AD_Reference_ID
          Lease_BPartner_ID AD_Reference_ID=192
 
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
 
Fields inherited from interface org.compiere.model.I_A_Asset
accessLevel, COLUMNNAME_A_Asset_CreateDate, COLUMNNAME_A_Asset_Group_ID, COLUMNNAME_A_Asset_ID, COLUMNNAME_A_Asset_RevalDate, COLUMNNAME_A_Parent_Asset_ID, COLUMNNAME_A_QTY_Current, COLUMNNAME_A_QTY_Original, COLUMNNAME_AD_User_ID, COLUMNNAME_AssetDepreciationDate, COLUMNNAME_AssetDisposalDate, COLUMNNAME_AssetServiceDate, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_BPartner_Location_ID, COLUMNNAME_C_BPartnerSR_ID, COLUMNNAME_C_Location_ID, COLUMNNAME_C_Project_ID, COLUMNNAME_Description, COLUMNNAME_GuaranteeDate, COLUMNNAME_Help, COLUMNNAME_IsDepreciated, COLUMNNAME_IsDisposed, COLUMNNAME_IsFullyDepreciated, COLUMNNAME_IsInPosession, COLUMNNAME_IsOwned, COLUMNNAME_LastMaintenanceDate, COLUMNNAME_LastMaintenanceNote, COLUMNNAME_LastMaintenanceUnit, COLUMNNAME_Lease_BPartner_ID, COLUMNNAME_LeaseTerminationDate, COLUMNNAME_LifeUseUnits, COLUMNNAME_LocationComment, COLUMNNAME_Lot, COLUMNNAME_M_AttributeSetInstance_ID, COLUMNNAME_M_InOutLine_ID, COLUMNNAME_M_Locator_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_NextMaintenenceDate, COLUMNNAME_NextMaintenenceUnit, COLUMNNAME_Processing, COLUMNNAME_Qty, COLUMNNAME_SerNo, COLUMNNAME_UseLifeMonths, COLUMNNAME_UseLifeYears, COLUMNNAME_UseUnits, COLUMNNAME_Value, COLUMNNAME_VersionNo, Model, Table_ID, Table_Name
 
Constructor Summary
X_A_Asset(Properties ctx, int A_Asset_ID, String trxName)
          Standard Constructor
X_A_Asset(Properties ctx, ResultSet rs, String trxName)
          Load Constructor
 
Method Summary
protected  int get_AccessLevel()
          AccessLevel
 Timestamp getA_Asset_CreateDate()
          Get A_Asset_CreateDate.
 int getA_Asset_Group_ID()
          Get Asset Group.
 I_A_Asset_Group getA_Asset_Group()
           
 int getA_Asset_ID()
          Get Asset.
 Timestamp getA_Asset_RevalDate()
          Get A_Asset_RevalDate.
 int getA_Parent_Asset_ID()
          Get A_Parent_Asset_ID.
 BigDecimal getA_QTY_Current()
          Get A_QTY_Current.
 BigDecimal getA_QTY_Original()
          Get A_QTY_Original.
 int getAD_User_ID()
          Get User/Contact.
 I_AD_User getAD_User()
           
 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.
 I_C_BPartner_Location getC_BPartner_Location()
           
 I_C_BPartner getC_BPartner()
           
 int getC_BPartnerSR_ID()
          Get BPartner (Agent).
 int getC_Location_ID()
          Get Address.
 I_C_Location getC_Location()
           
 int getC_Project_ID()
          Get Project.
 I_C_Project getC_Project()
           
 String getDescription()
          Get Description.
 Timestamp getGuaranteeDate()
          Get Guarantee Date.
 String getHelp()
          Get Comment/Help.
 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.
 int 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.
 I_M_InOutLine getM_InOutLine()
           
 int getM_Locator_ID()
          Get Locator.
 I_M_Locator getM_Locator()
           
 int getM_Product_ID()
          Get Product.
 I_M_Product getM_Product()
           
 String getName()
          Get Name.
 Timestamp getNextMaintenenceDate()
          Get Next Maintenence.
 int getNextMaintenenceUnit()
          Get Next Unit.
 BigDecimal getQty()
          Get Quantity.
 String getSerNo()
          Get Serial No.
 int getUseLifeMonths()
          Get Usable Life - Months.
 int getUseLifeYears()
          Get Usable Life - Years.
 int getUseUnits()
          Get Use units.
 String getValue()
          Get Search Key.
 String getVersionNo()
          Get Version No.
protected  POInfo initPO(Properties 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 isProcessing()
          Get Process Now.
 void setA_Asset_CreateDate(Timestamp A_Asset_CreateDate)
          Set A_Asset_CreateDate.
 void setA_Asset_Group_ID(int A_Asset_Group_ID)
          Set Asset Group.
 void setA_Asset_ID(int A_Asset_ID)
          Set Asset.
 void setA_Asset_RevalDate(Timestamp A_Asset_RevalDate)
          Set A_Asset_RevalDate.
 void setA_Parent_Asset_ID(int A_Parent_Asset_ID)
          Set A_Parent_Asset_ID.
 void setA_QTY_Current(BigDecimal A_QTY_Current)
          Set A_QTY_Current.
 void setA_QTY_Original(BigDecimal A_QTY_Original)
          Set A_QTY_Original.
 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/Help.
 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 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(int 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 Maintenence.
 void setNextMaintenenceUnit(int NextMaintenenceUnit)
          Set Next Unit.
 void setProcessing(boolean Processing)
          Set Process Now.
 void setQty(BigDecimal Qty)
          Set Quantity.
 void setSerNo(String SerNo)
          Set Serial No.
 void setUseLifeMonths(int UseLifeMonths)
          Set Usable Life - Months.
 void setUseLifeYears(int UseLifeYears)
          Set Usable Life - Years.
 void setUseUnits(int UseUnits)
          Set Use units.
 void setValue(String Value)
          Set Search Key.
 void setVersionNo(String VersionNo)
          Set Version No.
 String toString()
          String representation
 
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, compare, copyValues, copyValues, createAttachment, delete_Accounting, delete_Tree, delete, delete, deleteEx, deleteEx, dump, dump, equals, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_Table_ID, get_TableName, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_new, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadComplete, loadDefaults, loadSpecial, lock, save, save, saveEx, saveEx, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_ColumnUpdateable, set_CustomColumn, set_TrxName, set_TrxName, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setDoc, setDocWorkflowMgr, setIsActive, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.compiere.model.I_Persistent
save
 

Field Detail

A_PARENT_ASSET_ID_AD_Reference_ID

public static final int A_PARENT_ASSET_ID_AD_Reference_ID
A_Parent_Asset_ID AD_Reference_ID=53258

See Also:
Constant Field Values

C_BPARTNERSR_ID_AD_Reference_ID

public static final int C_BPARTNERSR_ID_AD_Reference_ID
C_BPartnerSR_ID AD_Reference_ID=232

See Also:
Constant Field Values

LEASE_BPARTNER_ID_AD_Reference_ID

public static final int LEASE_BPARTNER_ID_AD_Reference_ID
Lease_BPartner_ID AD_Reference_ID=192

See Also:
Constant Field Values
Constructor Detail

X_A_Asset

public X_A_Asset(Properties ctx,
                 int A_Asset_ID,
                 String trxName)
Standard Constructor


X_A_Asset

public X_A_Asset(Properties ctx,
                 ResultSet rs,
                 String trxName)
Load Constructor

Method Detail

get_AccessLevel

protected int get_AccessLevel()
AccessLevel

Specified by:
get_AccessLevel in class PO
Returns:
3 - Client - Org

initPO

protected POInfo initPO(Properties ctx)
Load Meta Data

Specified by:
initPO in class PO
Parameters:
ctx - context
Returns:
POInfo

toString

public String toString()
Description copied from class: PO
String representation

Overrides:
toString in class PO
Returns:
String representation

setA_Asset_CreateDate

public void setA_Asset_CreateDate(Timestamp A_Asset_CreateDate)
Set A_Asset_CreateDate.

Specified by:
setA_Asset_CreateDate in interface I_A_Asset
Parameters:
A_Asset_CreateDate - A_Asset_CreateDate

getA_Asset_CreateDate

public Timestamp getA_Asset_CreateDate()
Get A_Asset_CreateDate.

Specified by:
getA_Asset_CreateDate in interface I_A_Asset
Returns:
A_Asset_CreateDate

getA_Asset_Group

public I_A_Asset_Group getA_Asset_Group()
                                 throws Exception
Specified by:
getA_Asset_Group in interface I_A_Asset
Throws:
Exception

setA_Asset_Group_ID

public void setA_Asset_Group_ID(int A_Asset_Group_ID)
Set Asset Group.

Specified by:
setA_Asset_Group_ID in interface I_A_Asset
Parameters:
A_Asset_Group_ID - Group of Assets

getA_Asset_Group_ID

public int getA_Asset_Group_ID()
Get Asset Group.

Specified by:
getA_Asset_Group_ID in interface I_A_Asset
Returns:
Group of Assets

setA_Asset_ID

public void setA_Asset_ID(int A_Asset_ID)
Set Asset.

Specified by:
setA_Asset_ID in interface I_A_Asset
Parameters:
A_Asset_ID - Asset used internally or by customers

getA_Asset_ID

public int getA_Asset_ID()
Get Asset.

Specified by:
getA_Asset_ID in interface I_A_Asset
Returns:
Asset used internally or by customers

setA_Asset_RevalDate

public void setA_Asset_RevalDate(Timestamp A_Asset_RevalDate)
Set A_Asset_RevalDate.

Specified by:
setA_Asset_RevalDate in interface I_A_Asset
Parameters:
A_Asset_RevalDate - A_Asset_RevalDate

getA_Asset_RevalDate

public Timestamp getA_Asset_RevalDate()
Get A_Asset_RevalDate.

Specified by:
getA_Asset_RevalDate in interface I_A_Asset
Returns:
A_Asset_RevalDate

getAD_User

public I_AD_User getAD_User()
                     throws Exception
Specified by:
getAD_User in interface I_A_Asset
Throws:
Exception

setAD_User_ID

public void setAD_User_ID(int AD_User_ID)
Set User/Contact.

Specified by:
setAD_User_ID in interface I_A_Asset
Parameters:
AD_User_ID - User within the system - Internal or Business Partner Contact

getAD_User_ID

public int getAD_User_ID()
Get User/Contact.

Specified by:
getAD_User_ID in interface I_A_Asset
Returns:
User within the system - Internal or Business Partner Contact

setA_Parent_Asset_ID

public void setA_Parent_Asset_ID(int A_Parent_Asset_ID)
Set A_Parent_Asset_ID.

Specified by:
setA_Parent_Asset_ID in interface I_A_Asset
Parameters:
A_Parent_Asset_ID - A_Parent_Asset_ID

getA_Parent_Asset_ID

public int getA_Parent_Asset_ID()
Get A_Parent_Asset_ID.

Specified by:
getA_Parent_Asset_ID in interface I_A_Asset
Returns:
A_Parent_Asset_ID

setA_QTY_Current

public void setA_QTY_Current(BigDecimal A_QTY_Current)
Set A_QTY_Current.

Specified by:
setA_QTY_Current in interface I_A_Asset
Parameters:
A_QTY_Current - A_QTY_Current

getA_QTY_Current

public BigDecimal getA_QTY_Current()
Get A_QTY_Current.

Specified by:
getA_QTY_Current in interface I_A_Asset
Returns:
A_QTY_Current

setA_QTY_Original

public void setA_QTY_Original(BigDecimal A_QTY_Original)
Set A_QTY_Original.

Specified by:
setA_QTY_Original in interface I_A_Asset
Parameters:
A_QTY_Original - A_QTY_Original

getA_QTY_Original

public BigDecimal getA_QTY_Original()
Get A_QTY_Original.

Specified by:
getA_QTY_Original in interface I_A_Asset
Returns:
A_QTY_Original

setAssetDepreciationDate

public void setAssetDepreciationDate(Timestamp AssetDepreciationDate)
Set Asset Depreciation Date.

Specified by:
setAssetDepreciationDate in interface I_A_Asset
Parameters:
AssetDepreciationDate - Date of last depreciation

getAssetDepreciationDate

public Timestamp getAssetDepreciationDate()
Get Asset Depreciation Date.

Specified by:
getAssetDepreciationDate in interface I_A_Asset
Returns:
Date of last depreciation

setAssetDisposalDate

public void setAssetDisposalDate(Timestamp AssetDisposalDate)
Set Asset Disposal Date.

Specified by:
setAssetDisposalDate in interface I_A_Asset
Parameters:
AssetDisposalDate - Date when the asset is/was disposed

getAssetDisposalDate

public Timestamp getAssetDisposalDate()
Get Asset Disposal Date.

Specified by:
getAssetDisposalDate in interface I_A_Asset
Returns:
Date when the asset is/was disposed

setAssetServiceDate

public void setAssetServiceDate(Timestamp AssetServiceDate)
Set In Service Date.

Specified by:
setAssetServiceDate in interface I_A_Asset
Parameters:
AssetServiceDate - Date when Asset was put into service

getAssetServiceDate

public Timestamp getAssetServiceDate()
Get In Service Date.

Specified by:
getAssetServiceDate in interface I_A_Asset
Returns:
Date when Asset was put into service

getC_BPartner

public I_C_BPartner getC_BPartner()
                           throws Exception
Specified by:
getC_BPartner in interface I_A_Asset
Throws:
Exception

setC_BPartner_ID

public void setC_BPartner_ID(int C_BPartner_ID)
Set Business Partner .

Specified by:
setC_BPartner_ID in interface I_A_Asset
Parameters:
C_BPartner_ID - Identifies a Business Partner

getC_BPartner_ID

public int getC_BPartner_ID()
Get Business Partner .

Specified by:
getC_BPartner_ID in interface I_A_Asset
Returns:
Identifies a Business Partner

getC_BPartner_Location

public I_C_BPartner_Location getC_BPartner_Location()
                                             throws Exception
Specified by:
getC_BPartner_Location in interface I_A_Asset
Throws:
Exception

setC_BPartner_Location_ID

public void setC_BPartner_Location_ID(int C_BPartner_Location_ID)
Set Partner Location.

Specified by:
setC_BPartner_Location_ID in interface I_A_Asset
Parameters:
C_BPartner_Location_ID - Identifies the (ship to) address for this Business Partner

getC_BPartner_Location_ID

public int getC_BPartner_Location_ID()
Get Partner Location.

Specified by:
getC_BPartner_Location_ID in interface I_A_Asset
Returns:
Identifies the (ship to) address for this Business Partner

setC_BPartnerSR_ID

public void setC_BPartnerSR_ID(int C_BPartnerSR_ID)
Set BPartner (Agent).

Specified by:
setC_BPartnerSR_ID in interface I_A_Asset
Parameters:
C_BPartnerSR_ID - Business Partner (Agent or Sales Rep)

getC_BPartnerSR_ID

public int getC_BPartnerSR_ID()
Get BPartner (Agent).

Specified by:
getC_BPartnerSR_ID in interface I_A_Asset
Returns:
Business Partner (Agent or Sales Rep)

getC_Location

public I_C_Location getC_Location()
                           throws Exception
Specified by:
getC_Location in interface I_A_Asset
Throws:
Exception

setC_Location_ID

public void setC_Location_ID(int C_Location_ID)
Set Address.

Specified by:
setC_Location_ID in interface I_A_Asset
Parameters:
C_Location_ID - Location or Address

getC_Location_ID

public int getC_Location_ID()
Get Address.

Specified by:
getC_Location_ID in interface I_A_Asset
Returns:
Location or Address

getC_Project

public I_C_Project getC_Project()
                         throws Exception
Specified by:
getC_Project in interface I_A_Asset
Throws:
Exception

setC_Project_ID

public void setC_Project_ID(int C_Project_ID)
Set Project.

Specified by:
setC_Project_ID in interface I_A_Asset
Parameters:
C_Project_ID - Financial Project

getC_Project_ID

public int getC_Project_ID()
Get Project.

Specified by:
getC_Project_ID in interface I_A_Asset
Returns:
Financial Project

setDescription

public void setDescription(String Description)
Set Description.

Specified by:
setDescription in interface I_A_Asset
Parameters:
Description - Optional short description of the record

getDescription

public String getDescription()
Get Description.

Specified by:
getDescription in interface I_A_Asset
Returns:
Optional short description of the record

setGuaranteeDate

public void setGuaranteeDate(Timestamp GuaranteeDate)
Set Guarantee Date.

Specified by:
setGuaranteeDate in interface I_A_Asset
Parameters:
GuaranteeDate - Date when guarantee expires

getGuaranteeDate

public Timestamp getGuaranteeDate()
Get Guarantee Date.

Specified by:
getGuaranteeDate in interface I_A_Asset
Returns:
Date when guarantee expires

setHelp

public void setHelp(String Help)
Set Comment/Help.

Specified by:
setHelp in interface I_A_Asset
Parameters:
Help - Comment or Hint

getHelp

public String getHelp()
Get Comment/Help.

Specified by:
getHelp in interface I_A_Asset
Returns:
Comment or Hint

setIsDepreciated

public void setIsDepreciated(boolean IsDepreciated)
Set Depreciate.

Specified by:
setIsDepreciated in interface I_A_Asset
Parameters:
IsDepreciated - The asset will be depreciated

isDepreciated

public boolean isDepreciated()
Get Depreciate.

Specified by:
isDepreciated in interface I_A_Asset
Returns:
The asset will be depreciated

setIsDisposed

public void setIsDisposed(boolean IsDisposed)
Set Disposed.

Specified by:
setIsDisposed in interface I_A_Asset
Parameters:
IsDisposed - The asset is disposed

isDisposed

public boolean isDisposed()
Get Disposed.

Specified by:
isDisposed in interface I_A_Asset
Returns:
The asset is disposed

setIsFullyDepreciated

public void setIsFullyDepreciated(boolean IsFullyDepreciated)
Set Fully depreciated.

Specified by:
setIsFullyDepreciated in interface I_A_Asset
Parameters:
IsFullyDepreciated - The asset is fully depreciated

isFullyDepreciated

public boolean isFullyDepreciated()
Get Fully depreciated.

Specified by:
isFullyDepreciated in interface I_A_Asset
Returns:
The asset is fully depreciated

setIsInPosession

public void setIsInPosession(boolean IsInPosession)
Set In Possession.

Specified by:
setIsInPosession in interface I_A_Asset
Parameters:
IsInPosession - The asset is in the possession of the organization

isInPosession

public boolean isInPosession()
Get In Possession.

Specified by:
isInPosession in interface I_A_Asset
Returns:
The asset is in the possession of the organization

setIsOwned

public void setIsOwned(boolean IsOwned)
Set Owned.

Specified by:
setIsOwned in interface I_A_Asset
Parameters:
IsOwned - The asset is owned by the organization

isOwned

public boolean isOwned()
Get Owned.

Specified by:
isOwned in interface I_A_Asset
Returns:
The asset is owned by the organization

setLastMaintenanceDate

public void setLastMaintenanceDate(Timestamp LastMaintenanceDate)
Set Last Maintenance.

Specified by:
setLastMaintenanceDate in interface I_A_Asset
Parameters:
LastMaintenanceDate - Last Maintenance Date

getLastMaintenanceDate

public Timestamp getLastMaintenanceDate()
Get Last Maintenance.

Specified by:
getLastMaintenanceDate in interface I_A_Asset
Returns:
Last Maintenance Date

setLastMaintenanceNote

public void setLastMaintenanceNote(String LastMaintenanceNote)
Set Last Note.

Specified by:
setLastMaintenanceNote in interface I_A_Asset
Parameters:
LastMaintenanceNote - Last Maintenance Note

getLastMaintenanceNote

public String getLastMaintenanceNote()
Get Last Note.

Specified by:
getLastMaintenanceNote in interface I_A_Asset
Returns:
Last Maintenance Note

setLastMaintenanceUnit

public void setLastMaintenanceUnit(int LastMaintenanceUnit)
Set Last Unit.

Specified by:
setLastMaintenanceUnit in interface I_A_Asset
Parameters:
LastMaintenanceUnit - Last Maintenance Unit

getLastMaintenanceUnit

public int getLastMaintenanceUnit()
Get Last Unit.

Specified by:
getLastMaintenanceUnit in interface I_A_Asset
Returns:
Last Maintenance Unit

setLease_BPartner_ID

public void setLease_BPartner_ID(int Lease_BPartner_ID)
Set Lessor.

Specified by:
setLease_BPartner_ID in interface I_A_Asset
Parameters:
Lease_BPartner_ID - The Business Partner who rents or leases

getLease_BPartner_ID

public int getLease_BPartner_ID()
Get Lessor.

Specified by:
getLease_BPartner_ID in interface I_A_Asset
Returns:
The Business Partner who rents or leases

setLeaseTerminationDate

public void setLeaseTerminationDate(Timestamp LeaseTerminationDate)
Set Lease Termination.

Specified by:
setLeaseTerminationDate in interface I_A_Asset
Parameters:
LeaseTerminationDate - Lease Termination Date

getLeaseTerminationDate

public Timestamp getLeaseTerminationDate()
Get Lease Termination.

Specified by:
getLeaseTerminationDate in interface I_A_Asset
Returns:
Lease Termination Date

setLifeUseUnits

public void setLifeUseUnits(int LifeUseUnits)
Set Life use.

Specified by:
setLifeUseUnits in interface I_A_Asset
Parameters:
LifeUseUnits - Units of use until the asset is not usable anymore

getLifeUseUnits

public int getLifeUseUnits()
Get Life use.

Specified by:
getLifeUseUnits in interface I_A_Asset
Returns:
Units of use until the asset is not usable anymore

setLocationComment

public void setLocationComment(String LocationComment)
Set Location comment.

Specified by:
setLocationComment in interface I_A_Asset
Parameters:
LocationComment - Additional comments or remarks concerning the location

getLocationComment

public String getLocationComment()
Get Location comment.

Specified by:
getLocationComment in interface I_A_Asset
Returns:
Additional comments or remarks concerning the location

setLot

public void setLot(String Lot)
Set Lot No.

Specified by:
setLot in interface I_A_Asset
Parameters:
Lot - Lot number (alphanumeric)

getLot

public String getLot()
Get Lot No.

Specified by:
getLot in interface I_A_Asset
Returns:
Lot number (alphanumeric)

setM_AttributeSetInstance_ID

public void setM_AttributeSetInstance_ID(int M_AttributeSetInstance_ID)
Set Attribute Set Instance.

Specified by:
setM_AttributeSetInstance_ID in interface I_A_Asset
Parameters:
M_AttributeSetInstance_ID - Product Attribute Set Instance

getM_AttributeSetInstance_ID

public int getM_AttributeSetInstance_ID()
Get Attribute Set Instance.

Specified by:
getM_AttributeSetInstance_ID in interface I_A_Asset
Returns:
Product Attribute Set Instance

getM_InOutLine

public I_M_InOutLine getM_InOutLine()
                             throws Exception
Specified by:
getM_InOutLine in interface I_A_Asset
Throws:
Exception

setM_InOutLine_ID

public void setM_InOutLine_ID(int M_InOutLine_ID)
Set Shipment/Receipt Line.

Specified by:
setM_InOutLine_ID in interface I_A_Asset
Parameters:
M_InOutLine_ID - Line on Shipment or Receipt document

getM_InOutLine_ID

public int getM_InOutLine_ID()
Get Shipment/Receipt Line.

Specified by:
getM_InOutLine_ID in interface I_A_Asset
Returns:
Line on Shipment or Receipt document

getM_Locator

public I_M_Locator getM_Locator()
                         throws Exception
Specified by:
getM_Locator in interface I_A_Asset
Throws:
Exception

setM_Locator_ID

public void setM_Locator_ID(int M_Locator_ID)
Set Locator.

Specified by:
setM_Locator_ID in interface I_A_Asset
Parameters:
M_Locator_ID - Warehouse Locator

getM_Locator_ID

public int getM_Locator_ID()
Get Locator.

Specified by:
getM_Locator_ID in interface I_A_Asset
Returns:
Warehouse Locator

getM_Product

public I_M_Product getM_Product()
                         throws Exception
Specified by:
getM_Product in interface I_A_Asset
Throws:
Exception

setM_Product_ID

public void setM_Product_ID(int M_Product_ID)
Set Product.

Specified by:
setM_Product_ID in interface I_A_Asset
Parameters:
M_Product_ID - Product, Service, Item

getM_Product_ID

public int getM_Product_ID()
Get Product.

Specified by:
getM_Product_ID in interface I_A_Asset
Returns:
Product, Service, Item

setName

public void setName(String Name)
Set Name.

Specified by:
setName in interface I_A_Asset
Parameters:
Name - Alphanumeric identifier of the entity

getName

public String getName()
Get Name.

Specified by:
getName in interface I_A_Asset
Returns:
Alphanumeric identifier of the entity

getKeyNamePair

public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName

Returns:
ID/ColumnName pair

setNextMaintenenceDate

public void setNextMaintenenceDate(Timestamp NextMaintenenceDate)
Set Next Maintenence.

Specified by:
setNextMaintenenceDate in interface I_A_Asset
Parameters:
NextMaintenenceDate - Next Maintenence Date

getNextMaintenenceDate

public Timestamp getNextMaintenenceDate()
Get Next Maintenence.

Specified by:
getNextMaintenenceDate in interface I_A_Asset
Returns:
Next Maintenence Date

setNextMaintenenceUnit

public void setNextMaintenenceUnit(int NextMaintenenceUnit)
Set Next Unit.

Specified by:
setNextMaintenenceUnit in interface I_A_Asset
Parameters:
NextMaintenenceUnit - Next Maintenence Unit

getNextMaintenenceUnit

public int getNextMaintenenceUnit()
Get Next Unit.

Specified by:
getNextMaintenenceUnit in interface I_A_Asset
Returns:
Next Maintenence Unit

setProcessing

public void setProcessing(boolean Processing)
Set Process Now.

Specified by:
setProcessing in interface I_A_Asset
Parameters:
Processing - Process Now

isProcessing

public boolean isProcessing()
Get Process Now.

Specified by:
isProcessing in interface I_A_Asset
Returns:
Process Now

setQty

public void setQty(BigDecimal Qty)
Set Quantity.

Specified by:
setQty in interface I_A_Asset
Parameters:
Qty - Quantity

getQty

public BigDecimal getQty()
Get Quantity.

Specified by:
getQty in interface I_A_Asset
Returns:
Quantity

setSerNo

public void setSerNo(String SerNo)
Set Serial No.

Specified by:
setSerNo in interface I_A_Asset
Parameters:
SerNo - Product Serial Number

getSerNo

public String getSerNo()
Get Serial No.

Specified by:
getSerNo in interface I_A_Asset
Returns:
Product Serial Number

setUseLifeMonths

public void setUseLifeMonths(int UseLifeMonths)
Set Usable Life - Months.

Specified by:
setUseLifeMonths in interface I_A_Asset
Parameters:
UseLifeMonths - Months of the usable life of the asset

getUseLifeMonths

public int getUseLifeMonths()
Get Usable Life - Months.

Specified by:
getUseLifeMonths in interface I_A_Asset
Returns:
Months of the usable life of the asset

setUseLifeYears

public void setUseLifeYears(int UseLifeYears)
Set Usable Life - Years.

Specified by:
setUseLifeYears in interface I_A_Asset
Parameters:
UseLifeYears - Years of the usable life of the asset

getUseLifeYears

public int getUseLifeYears()
Get Usable Life - Years.

Specified by:
getUseLifeYears in interface I_A_Asset
Returns:
Years of the usable life of the asset

setUseUnits

public void setUseUnits(int UseUnits)
Set Use units.

Specified by:
setUseUnits in interface I_A_Asset
Parameters:
UseUnits - Currently used units of the assets

getUseUnits

public int getUseUnits()
Get Use units.

Specified by:
getUseUnits in interface I_A_Asset
Returns:
Currently used units of the assets

setValue

public void setValue(String Value)
Set Search Key.

Specified by:
setValue in interface I_A_Asset
Parameters:
Value - Search key for the record in the format required - must be unique

getValue

public String getValue()
Get Search Key.

Specified by:
getValue in interface I_A_Asset
Returns:
Search key for the record in the format required - must be unique

setVersionNo

public void setVersionNo(String VersionNo)
Set Version No.

Specified by:
setVersionNo in interface I_A_Asset
Parameters:
VersionNo - Version Number

getVersionNo

public String getVersionNo()
Get Version No.

Specified by:
getVersionNo in interface I_A_Asset
Returns:
Version Number

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.