public static Long getNextPkValueForEntity(String ename) {
private static Long getNextPkValueForEntity(String ename) {
    public static Long getNextPkValueForEntity(String ename) {        Long pk = cachedPkValue(ename);        if (encodeEntityInPkValue()) {            long l = pk.longValue();            if (l > MAX_PK_VALUE) { throw new IllegalStateException("max PK value reached for entity " + ename                    + " cannot continue!");            }            // we are assuming 64 bit int values            // and we are using the last 6 bits for            // entity encoding            long realPk = l << CODE_LENGTH;            // now add the entity code            realPk = realPk | ((ERXModelGroup) ERXApplication.erxApplication().defaultModelGroup()).entityCode(ename);            pk = new Long(realPk);        }        return pk;    }