Package org.compiere.model
Class X_A_Asset_Group
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_A_Asset_Group
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_A_Asset_Group
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MAssetGroup
public class X_A_Asset_Group extends PO implements I_A_Asset_Group, I_Persistent
Generated Model for A_Asset_Group- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
-
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_Group
accessLevel, COLUMNNAME_A_Asset_Class_ID, COLUMNNAME_A_Asset_Group_ID, COLUMNNAME_A_Asset_Group_UU, COLUMNNAME_A_Asset_Type_ID, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_IsCreateAsActive, COLUMNNAME_IsDefault, COLUMNNAME_IsDepreciated, COLUMNNAME_IsFixedAsset, COLUMNNAME_IsOneAssetPerUOM, COLUMNNAME_IsOwned, COLUMNNAME_IsTrackIssues, COLUMNNAME_Name, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_A_Asset_Group(Properties ctx, int A_Asset_Group_ID, String trxName)
Standard ConstructorX_A_Asset_Group(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()
AccessLevelI_A_Asset_Class
getA_Asset_Class()
int
getA_Asset_Class_ID()
Get Asset class.int
getA_Asset_Group_ID()
Get Asset Group.String
getA_Asset_Group_UU()
Get A_Asset_Group_UU.I_A_Asset_Type
getA_Asset_Type()
int
getA_Asset_Type_ID()
Get Asset Type.String
getDescription()
Get Description.String
getHelp()
Get Comment/Help.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getName()
Get Name.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isCreateAsActive()
Get Create As Active.boolean
isDefault()
Get Default.boolean
isDepreciated()
Get Depreciate.boolean
isFixedAsset()
Get IsFixedAsset.boolean
isOneAssetPerUOM()
Get One Asset Per UOM.boolean
isOwned()
Get Owned.boolean
isTrackIssues()
Get Track Issues.void
setA_Asset_Class_ID(int A_Asset_Class_ID)
Set Asset class.void
setA_Asset_Group_ID(int A_Asset_Group_ID)
Set Asset Group.void
setA_Asset_Group_UU(String A_Asset_Group_UU)
Set A_Asset_Group_UU.void
setA_Asset_Type_ID(int A_Asset_Type_ID)
Set Asset Type.void
setDescription(String Description)
Set Description.void
setHelp(String Help)
Set Comment/Help.void
setIsCreateAsActive(boolean IsCreateAsActive)
Set Create As Active.void
setIsDefault(boolean IsDefault)
Set Default.void
setIsDepreciated(boolean IsDepreciated)
Set Depreciate.void
setIsFixedAsset(boolean IsFixedAsset)
Set IsFixedAsset.void
setIsOneAssetPerUOM(boolean IsOneAssetPerUOM)
Set One Asset Per UOM.void
setIsOwned(boolean IsOwned)
Set Owned.void
setIsTrackIssues(boolean IsTrackIssues)
Set Track Issues.void
setName(String Name)
Set Name.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_Group
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
-
-
-
-
Constructor Detail
-
X_A_Asset_Group
public X_A_Asset_Group(Properties ctx, int A_Asset_Group_ID, String trxName)
Standard Constructor
-
X_A_Asset_Group
public X_A_Asset_Group(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
-
getA_Asset_Class
public I_A_Asset_Class getA_Asset_Class() throws RuntimeException
- Specified by:
getA_Asset_Class
in interfaceI_A_Asset_Group
- Throws:
RuntimeException
-
setA_Asset_Class_ID
public void setA_Asset_Class_ID(int A_Asset_Class_ID)
Set Asset class.- Specified by:
setA_Asset_Class_ID
in interfaceI_A_Asset_Group
- Parameters:
A_Asset_Class_ID
- Asset class
-
getA_Asset_Class_ID
public int getA_Asset_Class_ID()
Get Asset class.- Specified by:
getA_Asset_Class_ID
in interfaceI_A_Asset_Group
- Returns:
- Asset class
-
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 interfaceI_A_Asset_Group
- 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 interfaceI_A_Asset_Group
- Returns:
- Group of Assets
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setA_Asset_Group_UU
public void setA_Asset_Group_UU(String A_Asset_Group_UU)
Set A_Asset_Group_UU.- Specified by:
setA_Asset_Group_UU
in interfaceI_A_Asset_Group
- Parameters:
A_Asset_Group_UU
- A_Asset_Group_UU
-
getA_Asset_Group_UU
public String getA_Asset_Group_UU()
Get A_Asset_Group_UU.- Specified by:
getA_Asset_Group_UU
in interfaceI_A_Asset_Group
- Returns:
- A_Asset_Group_UU
-
getA_Asset_Type
public I_A_Asset_Type getA_Asset_Type() throws RuntimeException
- Specified by:
getA_Asset_Type
in interfaceI_A_Asset_Group
- Throws:
RuntimeException
-
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_Group
- 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_Group
- Returns:
- Asset Type
-
setDescription
public void setDescription(String Description)
Set Description.- Specified by:
setDescription
in interfaceI_A_Asset_Group
- Parameters:
Description
- Optional short description of the record
-
getDescription
public String getDescription()
Get Description.- Specified by:
getDescription
in interfaceI_A_Asset_Group
- Returns:
- Optional short description of the record
-
setHelp
public void setHelp(String Help)
Set Comment/Help.- Specified by:
setHelp
in interfaceI_A_Asset_Group
- Parameters:
Help
- Comment or Hint
-
getHelp
public String getHelp()
Get Comment/Help.- Specified by:
getHelp
in interfaceI_A_Asset_Group
- Returns:
- Comment or Hint
-
setIsCreateAsActive
public void setIsCreateAsActive(boolean IsCreateAsActive)
Set Create As Active.- Specified by:
setIsCreateAsActive
in interfaceI_A_Asset_Group
- Parameters:
IsCreateAsActive
- Create Asset and activate it
-
isCreateAsActive
public boolean isCreateAsActive()
Get Create As Active.- Specified by:
isCreateAsActive
in interfaceI_A_Asset_Group
- Returns:
- Create Asset and activate it
-
setIsDefault
public void setIsDefault(boolean IsDefault)
Set Default.- Specified by:
setIsDefault
in interfaceI_A_Asset_Group
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()
Get Default.- Specified by:
isDefault
in interfaceI_A_Asset_Group
- Returns:
- Default value
-
setIsDepreciated
public void setIsDepreciated(boolean IsDepreciated)
Set Depreciate.- Specified by:
setIsDepreciated
in interfaceI_A_Asset_Group
- Parameters:
IsDepreciated
- The asset will be depreciated
-
isDepreciated
public boolean isDepreciated()
Get Depreciate.- Specified by:
isDepreciated
in interfaceI_A_Asset_Group
- Returns:
- The asset will be depreciated
-
setIsFixedAsset
public void setIsFixedAsset(boolean IsFixedAsset)
Set IsFixedAsset.- Specified by:
setIsFixedAsset
in interfaceI_A_Asset_Group
- Parameters:
IsFixedAsset
- IsFixedAsset
-
isFixedAsset
public boolean isFixedAsset()
Get IsFixedAsset.- Specified by:
isFixedAsset
in interfaceI_A_Asset_Group
- Returns:
- IsFixedAsset
-
setIsOneAssetPerUOM
public void setIsOneAssetPerUOM(boolean IsOneAssetPerUOM)
Set One Asset Per UOM.- Specified by:
setIsOneAssetPerUOM
in interfaceI_A_Asset_Group
- Parameters:
IsOneAssetPerUOM
- Create one asset per UOM
-
isOneAssetPerUOM
public boolean isOneAssetPerUOM()
Get One Asset Per UOM.- Specified by:
isOneAssetPerUOM
in interfaceI_A_Asset_Group
- Returns:
- Create one asset per UOM
-
setIsOwned
public void setIsOwned(boolean IsOwned)
Set Owned.- Specified by:
setIsOwned
in interfaceI_A_Asset_Group
- Parameters:
IsOwned
- The asset is owned by the organization
-
isOwned
public boolean isOwned()
Get Owned.- Specified by:
isOwned
in interfaceI_A_Asset_Group
- Returns:
- The asset is owned by the organization
-
setIsTrackIssues
public void setIsTrackIssues(boolean IsTrackIssues)
Set Track Issues.- Specified by:
setIsTrackIssues
in interfaceI_A_Asset_Group
- Parameters:
IsTrackIssues
- Enable tracking issues for this asset
-
isTrackIssues
public boolean isTrackIssues()
Get Track Issues.- Specified by:
isTrackIssues
in interfaceI_A_Asset_Group
- Returns:
- Enable tracking issues for this asset
-
setName
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_A_Asset_Group
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_A_Asset_Group
- Returns:
- Alphanumeric identifier of the entity
-
-