setPK(pk);
setPK(pk.hashCode());
    public AccessRulesPK ejbCreate(String usergroupname, String directory, AccessRule accessrule) throws CreateException {        AccessRulesPK pk = new AccessRulesPK(usergroupname, directory);                setPK(pk);        setDirectory(directory);        setAccessRule(accessrule);        log.debug("Created available accessrule "+ directory);        return pk;    }