1
2
3
4
5
6
7
8 package de.nierbeck.timeTrack.model.impl.runtime;
9
10 import com.sun.msv.verifier.DocumentDeclaration;
11
12 /***
13 * This interface is implemented by generated classes to indicate that the class
14 * supports validation.
15 */
16 public interface ValidatableObject extends XMLSerializable {
17 /*** Gets the schema fragment associated with this class. */
18 DocumentDeclaration createRawValidator();
19
20 /***
21 * Gets the main interface that this object implements.
22 *
23 * For example, <code>FooImpl</code> will return <code>Foo</code> from
24 * this method.
25 */
26 Class getPrimaryInterface();
27 }