Implement Association Roles
---------------------------

                 Key: QI-129
                 URL: http://issues.ops4j.org/jira/browse/QI-129
             Project: Qi4j
          Issue Type: New Feature
          Components: API
            Reporter: Rickard Öberg
            Assignee: Rickard Öberg
             Fix For: 0.4


In UML an association from one entity to another can be said to have a specific 
role. The role further specifies the association with extra information. An 
example would be where an association between Employer and Employee has a role 
Position to specify what the Employee is working as. Like so:
interface Employer
{
  ManyAssociation<AssociationRole<Employee,Position>> employees();
}

The Position role can be another Entity in itself, with properties and 
associations.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to