Feature:
Mentoring
Headline
Associate employees in terms of mentoring
Description
Employees may sign up for a mentor. The idea is that mentors help their mentees generally with career management. Operationally, a mentee may consult his or her mentor, for example, to interpret results of a performance appraisal and to draw appropriate conclusions. As far as the system:Company is concerned, it suffices to merely maintain mentors so that management knows about everything.
The association for mentorship is constrained as follows:
- Each employee may have one associated mentor.
- Each employee may have any number of associated mentees.
- Mentors and mentees are employees (managers or not).
- A is mentor of B iff B is mentee of A.
- An employee cannot be a mentor of him- or herself.
Bidirectional navigation is required for the mentorship association.
Motivation
The feature is interesting in so far that it requires more general associations and graph shape as opposed to just composition and tree shape for the basic hierarchical organization of companies according to Feature:Hierarchical company. That is, while companies and departments are decomposed in a tree-like manner, mentorship links may reach across the organizational structure. Further, bidirectional navigation as opposed to the simpler unidirectional navigation is required. In a Language:UML class diagram, for example, the mentorship association can be modeled in a straightforward way. In a functional programming language and pure style, the association's implementation necessitates look-up functions for locating linked employees, possibly identified by name. In an OO programming language with references, the mere links for mentorship are implemented easily, but bidirectional navigation and the above constraints necessitates encoding, unless first-class relationships were available in the programming language.
Illustration
The feature is illustrated with predicates in Language:Datalog. That is, there are declarations of predicates mentorOf/2 and menteeOf/2 to relate employees in both navigation directions of the association. The clauses implement the above description; see the comments for clarification.
// Each employee may have a mentor (in the same company or not). mentorOf[tee] = tor -> Employee(tee), Employee(tor). // Each employee may have several mentees. menteeOf(tor,tee) -> Employee(tor), Employee(tee). // mentorOf and menteeOf are compatible one way. mentorOf[tee] = tor -> menteeOf(tor,tee). // mentorOf and menteeOf are compatible the other way. menteeOf(tor,tee) -> mentorOf[tee] = tor. // In fact, menteeOf is derived from mentorOf. menteeOf(tor,tee) <- mentorOf[tee] = tor. // One must not mentor her- or himself. mentorOf[tee] = tor -> ! tor = tee.
The snippet originates from Contribution:heavyLb.
Relationships
- The present feature should be applicable to any data model of companies, specifically Feature:Flat company and Feature:Hierarchical company.
Guidelines
- Bidirectional navigation is required for the mentorship association.
- The name for the direction from mentees to mentors should involve the term "mentor" (e.g., "getMentor"). The name for the opposite direction should involve the term "mentee" or "mentees" (e.g., "getMentees").
- A suitable demonstration of the feature's implementation should link some employees according to the association and navigate the association in both directions for some employees.
User contributions
User edits
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.