/** * Get Period from Cache * * @param ctx context * @param C_Period_ID id * @return MPeriod */ public static MPeriod get(Ctx ctx, int C_Period_ID) { Integer key = Integer.valueOf(C_Period_ID); MPeriod retValue = s_cache.get(ctx, key); if (retValue != null) return retValue; // retValue = new MPeriod(ctx, C_Period_ID, null); if (retValue.get_ID() != 0) s_cache.put(key, retValue); return retValue; } // get