Package org.compiere.model
Class X_A_Asset_Type
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_A_Asset_Type
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_A_Asset_Type
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MAssetType
public class X_A_Asset_Type extends PO implements I_A_Asset_Type, I_Persistent
Generated Model for A_Asset_Type- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ISDEPRECIABLE__
- = XXstatic String
ISDEPRECIABLE__DefaultNo
- / Default No = XNstatic String
ISDEPRECIABLE__DefaultYes
- / Default Yes = XYstatic int
ISDEPRECIABLE_AD_Reference_ID
IsDepreciable AD_Reference_ID=53365static String
ISDEPRECIABLE_No
No = NXstatic String
ISDEPRECIABLE_Yes
Yes = YXstatic String
ISINPOSESSION__
- = XXstatic String
ISINPOSESSION__DefaultNo
- / Default No = XNstatic String
ISINPOSESSION__DefaultYes
- / Default Yes = XYstatic int
ISINPOSESSION_AD_Reference_ID
IsInPosession AD_Reference_ID=53365static String
ISINPOSESSION_No
No = NXstatic String
ISINPOSESSION_Yes
Yes = YXstatic String
ISOWNED__
- = XXstatic String
ISOWNED__DefaultNo
- / Default No = XNstatic String
ISOWNED__DefaultYes
- / Default Yes = XYstatic int
ISOWNED_AD_Reference_ID
IsOwned AD_Reference_ID=53365static String
ISOWNED_No
No = NXstatic String
ISOWNED_Yes
Yes = YX-
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, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_A_Asset_Type
accessLevel, COLUMNNAME_A_Asset_Type_ID, COLUMNNAME_A_Asset_Type_UU, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_IsActive, COLUMNNAME_IsDepreciable, COLUMNNAME_IsInPosession, COLUMNNAME_IsOwned, COLUMNNAME_Name, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_A_Asset_Type(Properties ctx, int A_Asset_Type_ID, String trxName)
Standard ConstructorX_A_Asset_Type(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelint
getA_Asset_Type_ID()
Get Asset Type.String
getA_Asset_Type_UU()
Get A_Asset_Type_UU.String
getDescription()
Get Description.String
getIsDepreciable()
Get Is Depreciable.String
getIsInPosession()
Get In Possession.String
getIsOwned()
Get Owned.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.String
getValue()
Get Search Key.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
setA_Asset_Type_ID(int A_Asset_Type_ID)
Set Asset Type.void
setA_Asset_Type_UU(String A_Asset_Type_UU)
Set A_Asset_Type_UU.void
setDescription(String Description)
Set Description.void
setIsDepreciable(String IsDepreciable)
Set Is Depreciable.void
setIsInPosession(String IsInPosession)
Set In Possession.void
setIsOwned(String IsOwned)
Set Owned.void
setName(String Name)
Set Name.void
setValue(String Value)
Set Search Key.String
toString()
String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, 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_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_A_Asset_Type
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
ISDEPRECIABLE_AD_Reference_ID
public static final int ISDEPRECIABLE_AD_Reference_ID
IsDepreciable AD_Reference_ID=53365- See Also:
- Constant Field Values
-
ISDEPRECIABLE_No
public static final String ISDEPRECIABLE_No
No = NX- See Also:
- Constant Field Values
-
ISDEPRECIABLE__DefaultNo
public static final String ISDEPRECIABLE__DefaultNo
- / Default No = XN- See Also:
- Constant Field Values
-
ISDEPRECIABLE__
public static final String ISDEPRECIABLE__
- = XX- See Also:
- Constant Field Values
-
ISDEPRECIABLE__DefaultYes
public static final String ISDEPRECIABLE__DefaultYes
- / Default Yes = XY- See Also:
- Constant Field Values
-
ISDEPRECIABLE_Yes
public static final String ISDEPRECIABLE_Yes
Yes = YX- See Also:
- Constant Field Values
-
ISINPOSESSION_AD_Reference_ID
public static final int ISINPOSESSION_AD_Reference_ID
IsInPosession AD_Reference_ID=53365- See Also:
- Constant Field Values
-
ISINPOSESSION_No
public static final String ISINPOSESSION_No
No = NX- See Also:
- Constant Field Values
-
ISINPOSESSION__DefaultNo
public static final String ISINPOSESSION__DefaultNo
- / Default No = XN- See Also:
- Constant Field Values
-
ISINPOSESSION__
public static final String ISINPOSESSION__
- = XX- See Also:
- Constant Field Values
-
ISINPOSESSION__DefaultYes
public static final String ISINPOSESSION__DefaultYes
- / Default Yes = XY- See Also:
- Constant Field Values
-
ISINPOSESSION_Yes
public static final String ISINPOSESSION_Yes
Yes = YX- See Also:
- Constant Field Values
-
ISOWNED_AD_Reference_ID
public static final int ISOWNED_AD_Reference_ID
IsOwned AD_Reference_ID=53365- See Also:
- Constant Field Values
-
ISOWNED_No
public static final String ISOWNED_No
No = NX- See Also:
- Constant Field Values
-
ISOWNED__DefaultNo
public static final String ISOWNED__DefaultNo
- / Default No = XN- See Also:
- Constant Field Values
-
ISOWNED__
public static final String ISOWNED__
- = XX- See Also:
- Constant Field Values
-
ISOWNED__DefaultYes
public static final String ISOWNED__DefaultYes
- / Default Yes = XY- See Also:
- Constant Field Values
-
ISOWNED_Yes
public static final String ISOWNED_Yes
Yes = YX- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_A_Asset_Type
public X_A_Asset_Type(Properties ctx, int A_Asset_Type_ID, String trxName)
Standard Constructor
-
X_A_Asset_Type
public X_A_Asset_Type(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setA_Asset_Type_ID
public void setA_Asset_Type_ID(int A_Asset_Type_ID)
Set Asset Type.- Specified by:
setA_Asset_Type_ID
in interfaceI_A_Asset_Type
- Parameters:
A_Asset_Type_ID
- Asset Type
-
getA_Asset_Type_ID
public int getA_Asset_Type_ID()
Get Asset Type.- Specified by:
getA_Asset_Type_ID
in interfaceI_A_Asset_Type
- Returns:
- Asset Type
-
setA_Asset_Type_UU
public void setA_Asset_Type_UU(String A_Asset_Type_UU)
Set A_Asset_Type_UU.- Specified by:
setA_Asset_Type_UU
in interfaceI_A_Asset_Type
- Parameters:
A_Asset_Type_UU
- A_Asset_Type_UU
-
getA_Asset_Type_UU
public String getA_Asset_Type_UU()
Get A_Asset_Type_UU.- Specified by:
getA_Asset_Type_UU
in interfaceI_A_Asset_Type
- Returns:
- A_Asset_Type_UU
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_A_Asset_Type
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_A_Asset_Type
- Returns:
- Optional short description of the record
-
setIsDepreciable
public void setIsDepreciable(String IsDepreciable)
Set Is Depreciable.- Specified by:
setIsDepreciable
in interfaceI_A_Asset_Type
- Parameters:
IsDepreciable
- This asset CAN be depreciated
-
getIsDepreciable
public String getIsDepreciable()
Get Is Depreciable.- Specified by:
getIsDepreciable
in interfaceI_A_Asset_Type
- Returns:
- This asset CAN be depreciated
-
setIsInPosession
public void setIsInPosession(String IsInPosession)
Set In Possession.- Specified by:
setIsInPosession
in interfaceI_A_Asset_Type
- Parameters:
IsInPosession
- The asset is in the possession of the organization
-
getIsInPosession
public String getIsInPosession()
Get In Possession.- Specified by:
getIsInPosession
in interfaceI_A_Asset_Type
- Returns:
- The asset is in the possession of the organization
-
setIsOwned
public void setIsOwned(String IsOwned)
Set Owned.- Specified by:
setIsOwned
in interfaceI_A_Asset_Type
- Parameters:
IsOwned
- The asset is owned by the organization
-
getIsOwned
public String getIsOwned()
Get Owned.- Specified by:
getIsOwned
in interfaceI_A_Asset_Type
- Returns:
- The asset is owned by the organization
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_A_Asset_Type
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_A_Asset_Type
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setValue
public void setValue(String Value)
Set Search Key.- Specified by:
setValue
in interfaceI_A_Asset_Type
- 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 interfaceI_A_Asset_Type
- Returns:
- Search key for the record in the format required - must be unique
-
-