01: /**
02: * Objective Database Abstraction Layer (ODAL)
03: * Copyright (c) 2004, The ODAL Development Group
04: * All rights reserved.
05: * For definition of the ODAL Development Group please refer to LICENCE.txt file
06: *
07: * Distributable under LGPL license.
08: * See terms of license at gnu.org.
09: */package com.completex.objective.components.persistency.rule;
10:
11: import com.completex.objective.components.persistency.PersistentEntry;
12:
13: /**
14: * Performs operations upon given PersistentEntry
15: *
16: * @see PersistentEntry
17: * @author Gennady Krizhevsky
18: */
19: public interface FieldRule {
20:
21: /**
22: * Performs operations upon given PersistentEntry
23: *
24: * @param entry PersistentEntry
25: * @throws Exception if the entry does not satisfy the rule requirements
26: */
27: void executeFieldRule(PersistentEntry entry) throws Exception;
28:
29: }
|