pt.ist.fenixframework.dml.runtime
Class RoleOne<C1 extends DomainObject,C2 extends DomainObject>
java.lang.Object
pt.ist.fenixframework.dml.runtime.RoleOne<C1,C2>
- All Implemented Interfaces:
- Role<C1,C2>
public abstract class RoleOne<C1 extends DomainObject,C2 extends DomainObject>
- extends Object
- implements Role<C1,C2>
This class handles one side of a one-to-something relation: the
side that keeps the single reference corresponding to the
multiplicity one.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleOne
public RoleOne()
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>
getValue
public abstract C2 getValue(C1 o1)
setValue
public abstract void setValue(C1 o1,
C2 o2)
Copyright © 2013. All Rights Reserved.