Class X_A_Asset_Group

    • Constructor Detail

      • X_A_Asset_Group

        public X_A_Asset_Group​(Properties ctx,
                               int A_Asset_Group_ID,
                               String trxName)
        Standard 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_Class_ID

        public void setA_Asset_Class_ID​(int A_Asset_Class_ID)
        Set Asset class.
        Specified by:
        setA_Asset_Class_ID in interface I_A_Asset_Group
        Parameters:
        A_Asset_Class_ID - 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 interface I_A_Asset_Group
        Parameters:
        A_Asset_Group_ID - 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 interface I_A_Asset_Group
        Parameters:
        A_Asset_Group_UU - A_Asset_Group_UU
      • 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 interface I_A_Asset_Group
        Parameters:
        A_Asset_Type_ID - Asset Type
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_A_Asset_Group
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_A_Asset_Group
        Returns:
        Optional short description of the record
      • setHelp

        public void setHelp​(String Help)
        Set Comment/Help.
        Specified by:
        setHelp in interface I_A_Asset_Group
        Parameters:
        Help - Comment or Hint
      • setIsCreateAsActive

        public void setIsCreateAsActive​(boolean IsCreateAsActive)
        Set Create As Active.
        Specified by:
        setIsCreateAsActive in interface I_A_Asset_Group
        Parameters:
        IsCreateAsActive - Create Asset and activate it
      • isCreateAsActive

        public boolean isCreateAsActive()
        Get Create As Active.
        Specified by:
        isCreateAsActive in interface I_A_Asset_Group
        Returns:
        Create Asset and activate it
      • setIsDefault

        public void setIsDefault​(boolean IsDefault)
        Set Default.
        Specified by:
        setIsDefault in interface I_A_Asset_Group
        Parameters:
        IsDefault - Default value
      • isDefault

        public boolean isDefault()
        Get Default.
        Specified by:
        isDefault in interface I_A_Asset_Group
        Returns:
        Default value
      • setIsDepreciated

        public void setIsDepreciated​(boolean IsDepreciated)
        Set Depreciate.
        Specified by:
        setIsDepreciated in interface I_A_Asset_Group
        Parameters:
        IsDepreciated - The asset will be depreciated
      • isDepreciated

        public boolean isDepreciated()
        Get Depreciate.
        Specified by:
        isDepreciated in interface I_A_Asset_Group
        Returns:
        The asset will be depreciated
      • setIsFixedAsset

        public void setIsFixedAsset​(boolean IsFixedAsset)
        Set IsFixedAsset.
        Specified by:
        setIsFixedAsset in interface I_A_Asset_Group
        Parameters:
        IsFixedAsset - IsFixedAsset
      • isFixedAsset

        public boolean isFixedAsset()
        Get IsFixedAsset.
        Specified by:
        isFixedAsset in interface I_A_Asset_Group
        Returns:
        IsFixedAsset
      • setIsOneAssetPerUOM

        public void setIsOneAssetPerUOM​(boolean IsOneAssetPerUOM)
        Set One Asset Per UOM.
        Specified by:
        setIsOneAssetPerUOM in interface I_A_Asset_Group
        Parameters:
        IsOneAssetPerUOM - Create one asset per UOM
      • isOneAssetPerUOM

        public boolean isOneAssetPerUOM()
        Get One Asset Per UOM.
        Specified by:
        isOneAssetPerUOM in interface I_A_Asset_Group
        Returns:
        Create one asset per UOM
      • setIsOwned

        public void setIsOwned​(boolean IsOwned)
        Set Owned.
        Specified by:
        setIsOwned in interface I_A_Asset_Group
        Parameters:
        IsOwned - The asset is owned by the organization
      • isOwned

        public boolean isOwned()
        Get Owned.
        Specified by:
        isOwned in interface I_A_Asset_Group
        Returns:
        The asset is owned by the organization
      • setIsTrackIssues

        public void setIsTrackIssues​(boolean IsTrackIssues)
        Set Track Issues.
        Specified by:
        setIsTrackIssues in interface I_A_Asset_Group
        Parameters:
        IsTrackIssues - Enable tracking issues for this asset
      • isTrackIssues

        public boolean isTrackIssues()
        Get Track Issues.
        Specified by:
        isTrackIssues in interface I_A_Asset_Group
        Returns:
        Enable tracking issues for this asset
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_A_Asset_Group
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_A_Asset_Group
        Returns:
        Alphanumeric identifier of the entity