Class MCity

    • Constructor Detail

      • MCity

        public MCity​(Properties ctx,
                     int C_City_ID,
                     String trxName)
        Create empty City
        Parameters:
        ctx - context
        C_City_ID - id
        trxName - transaction
      • MCity

        public MCity​(Properties ctx,
                     ResultSet rs,
                     String trxName)
        Create City from current row in ResultSet
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MCity

        public MCity​(MRegion region,
                     String cityName)
        Parent Constructor
        Parameters:
        region - Region
        cityName - City Name
      • MCity

        public MCity​(MCity copy)
        Parameters:
        copy -
      • MCity

        public MCity​(Properties ctx,
                     MCity copy)
        Parameters:
        ctx -
        copy -
      • MCity

        public MCity​(Properties ctx,
                     MCity copy,
                     String trxName)
        Parameters:
        ctx -
        copy -
        trxName -
    • Method Detail

      • get

        public static MCity get​(int C_City_ID)
        Get City (cached) (immutable)
        Parameters:
        C_City_ID - ID
        Returns:
        City
      • get

        public static MCity get​(Properties ctx,
                                int C_City_ID)
        Get City (cached) (immutable)
        Parameters:
        ctx - context
        C_City_ID - ID
        Returns:
        City