|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.Wrapper | +--org.objectweb.jac.aspects.integrity.RoleWrapper
Wrapper for updating opposite roles.
Field Summary |
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac |
Constructor Summary | |
RoleWrapper(AspectComponent ac)
|
Method Summary | |
static void |
disableRoleUpdate(FieldItem role)
Disable opposite role updating |
protected void |
doUpdate(Interaction interaction)
|
static void |
enableRoleUpdate(FieldItem role)
|
Object |
initAutoCreatedObject(Interaction interaction)
Initialize opposite role of an object auto created on an adder or reference setter. |
Object |
updateOppositeRole(Interaction interaction)
Tells the integrity aspect to update the opposite roles of the declared associations. |
Methods inherited from class org.objectweb.jac.core.Wrapper |
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RoleWrapper(AspectComponent ac)
Method Detail |
public Object updateOppositeRole(Interaction interaction)
protected void doUpdate(Interaction interaction)
public Object initAutoCreatedObject(Interaction interaction)
public static void disableRoleUpdate(FieldItem role)
role
- role for which opposite role updating must be disabledpublic static void enableRoleUpdate(FieldItem role)
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |