setPK(ret.PK);
setPrimKey(ret.primKey);
    public AccessRulesPK ejbCreate(String admingroupname, int caid, String accessrule, int rule, boolean isrecursive) throws CreateException {        AccessRulesPK ret = new AccessRulesPK(admingroupname, caid, new AccessRule(accessrule, rule, isrecursive));        setPK(ret.PK);        setAccessRule(accessrule);        setRule(rule);        setIsRecursive(isrecursive);        debug("Created accessrule : "+ accessrule);        return ret;    }