01: package com.bostechcorp.cbesb.common.util.custcomponent;
02:
03: /**
04: * The class for enumeration-type property. The property contains a list of pre-defined values
05: * @author elu
06: *
07: */
08: public interface IEnumProperty extends IProperty {
09: /**
10: *
11: * @return a list of pre-defined values
12: */
13: public String[] getValues();
14:
15: /**
16: *
17: * @return the default value of the property
18: */
19: public String getDefaultValue();
20:
21: /**
22: * If a property is editable, user can enter new value outside of the pre-defined vlaues.
23: * @return whether the property is writable
24: */
25: public boolean isEditable();
26: }
|