pt.ist.fenixframework.dml.runtime
Class RoleMany<C1 extends DomainObject,C2 extends DomainObject>

Package class diagram package RoleMany
java.lang.Object
  extended by pt.ist.fenixframework.dml.runtime.RoleMany<C1,C2>
All Implemented Interfaces:
Role<C1,C2>

public abstract class RoleMany<C1 extends DomainObject,C2 extends DomainObject>
extends Object
implements Role<C1,C2>

This class handles one side of a many-to-something relation: the side that keeps the collection corresponding to the multiplicity many.


Constructor Summary
RoleMany()
           
 
Method Summary
 void add(C1 o1, C2 o2, Relation<C1,C2> relation)
           
abstract  RelationBaseSet<C2> getSet(C1 o1)
           
 void remove(C1 o1, C2 o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface pt.ist.fenixframework.dml.runtime.Role
getInverseRole
 

Constructor Detail

RoleMany

public RoleMany()
Method Detail

add

public void add(C1 o1,
                C2 o2,
                Relation<C1,C2> relation)
Specified by:
add in interface Role<C1 extends DomainObject,C2 extends DomainObject>

remove

public void remove(C1 o1,
                   C2 o2)
Specified by:
remove in interface Role<C1 extends DomainObject,C2 extends DomainObject>

getSet

public abstract RelationBaseSet<C2> getSet(C1 o1)


Copyright © 2013. All Rights Reserved.