/** * Get Org from Cache * * @param ctx context * @param AD_Org_ID id * @return MOrg */ public static MOrg get(Properties ctx, int AD_Org_ID) { Integer key = new Integer(AD_Org_ID); MOrg retValue = (MOrg) s_cache.get(key); if (retValue != null) { return retValue; } retValue = new MOrg(ctx, AD_Org_ID, null); if (retValue.getID() != 0) { s_cache.put(key, retValue); } return retValue; } // get