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

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

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

This class handles one side of a relation which is not navigable in the other direction.


Constructor Summary
RoleEmpty(Role<C2,C1> inverseRole)
           
 
Method Summary
 void add(C1 o1, C2 o2, Relation<C1,C2> relation)
           
 Role<C2,C1> getInverseRole()
           
 void remove(C1 o1, C2 o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleEmpty

public RoleEmpty(Role<C2,C1> inverseRole)
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>

getInverseRole

public Role<C2,C1> getInverseRole()
Specified by:
getInverseRole in interface Role<C1 extends DomainObject,C2 extends DomainObject>


Copyright © 2013. All Rights Reserved.