Class MCountryGroup

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_CountryGroup, I_Persistent, Evaluatee, ImmutablePOSupport

public class MCountryGroup extends X_C_CountryGroup implements ImmutablePOSupport
Country Group Model
See Also:
  • Constructor Details

    • MCountryGroup

      public MCountryGroup(Properties ctx, String C_CountryGroup_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_CountryGroup_UU - UUID key
      trxName - Transaction
    • MCountryGroup

      public MCountryGroup(Properties ctx, int C_CountryGroup_ID, String trxName)
      Parameters:
      ctx - context
      C_CountryGroup_ID - ID
      trxName - transaction
    • MCountryGroup

      public MCountryGroup(Properties ctx, ResultSet rs, String trxName)
      Load Country Group from current row in ResultSet
      Parameters:
      ctx - context
      rs - ResultSet
      trxName - transaction
    • MCountryGroup

      public MCountryGroup(MCountryGroup copy)
      Copy constructor
      Parameters:
      copy -
    • MCountryGroup

      public MCountryGroup(Properties ctx, MCountryGroup copy)
      Copy constructor
      Parameters:
      ctx -
      copy -
    • MCountryGroup

      public MCountryGroup(Properties ctx, MCountryGroup copy, String trxName)
      Copy constructor
      Parameters:
      ctx -
      copy -
      trxName -
  • Method Details

    • get

      public static MCountryGroup get(int C_CountryGroup_ID)
      Get Country Group (cached) (immutable)
      Parameters:
      C_CountryGroup_ID - ID
      Returns:
      Country Group
    • get

      public static MCountryGroup get(Properties ctx, int C_CountryGroup_ID)
      Get Country Group (cached) (immutable)
      Parameters:
      ctx - context
      C_CountryGroup_ID - ID
      Returns:
      Country Group
    • markImmutable

      public MCountryGroup markImmutable()
      Description copied from interface: ImmutablePOSupport
      mark PO as immutable
      Specified by:
      markImmutable in interface ImmutablePOSupport
      Returns:
      PO
    • countryGroupContains

      public static boolean countryGroupContains(int c_CountryGroup_ID, int c_Country_ID)
      Parameters:
      c_CountryGroup_ID -
      c_Country_ID -
      Returns:
      true if country (C_Country_ID) is part of country group (C_CountryGroup_ID)