01: /* $Id: DomainProvider.java 609 2005-12-13 15:13:39Z madmaxie $ */
02: package org.conform;
03:
04: import java.io.Serializable;
05: import java.util.List;
06:
07: /**
08: * A DomainProvider supplies the choosable values for enumeration type properties and the like.
09: */
10: public interface DomainProvider extends Serializable {
11: public static final DomainProvider EMPTY_DOMAIN_PROVIDER = new DomainProvider() {
12: public final List getDomain() {
13: return null;
14: }
15: };
16:
17: List getDomain();
18: }
|