Set the key for this association to aKeyObject aKeyObject can be either an object or intrinsic data, depending on the template used to clone the class (see method "newClass" for cloning).