HumanResource: An object, instantiated from the HumanResource class, that models the behavior of the Personnel function of an organization.
Position: An object, instantiated from the Position class, that models the features of a job or role within an organization.
Individual: An object, instantiated from the Individual class, that represents a person who has been designated to staff the position.
fillPosition: A goal-oriented behavior of a HumanResource object which, if successful, designates an Individual to fulfill the responsibilities of the Position.
My question is, in EA, how do I make an entry in the return property of the fillPosition method that explicitly states that I expect a reference to Individual, rather than the individual itself (perhaps in some serialized form, or however objects are moved around at the PSM level)?
I guess what's running around in my head is the concept of "return an object" vs. "return a reference" analogous to "return by value" vs. "return by reference".
Does this help?