org.objectweb.jac.aspects.integrity
Class PrimaryKeyWrapper
java.lang.Object
|
+--org.objectweb.jac.core.Wrapper
|
+--org.objectweb.jac.aspects.integrity.PrimaryKeyWrapper
- All Implemented Interfaces:
- Serializable
- public class PrimaryKeyWrapper
- extends Wrapper
This wrapper provides a key scheme to limit fields
doubles.
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.jac.core.Wrapper |
ac |
Method Summary |
Object |
checkDoubles(Interaction interaction)
This wrapping method checks if the added Object's fields match
with an Object in the added collection, and throws an exception
if there is one. |
PrimaryKeyWrapper
public PrimaryKeyWrapper(AspectComponent ac)
checkDoubles
public Object checkDoubles(Interaction interaction)
throws Exception
- This wrapping method checks if the added Object's fields match
with an Object in the added collection, and throws an exception
if there is one.
Exception