|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyMap
Map of properties for a database object.
| Nested Class Summary | |
|---|---|
static interface |
PropertyMap.Property
Info about a property defined in a PropertyMap. |
| Field Summary | |
|---|---|
static String |
ACCESS_VERSION_PROP
|
static String |
ALLOW_ZERO_LEN_PROP
|
static String |
AUTHOR_PROP
|
static String |
CAPTION_PROP
|
static String |
COMPANY_PROP
|
static String |
DECIMAL_PLACES_PROP
|
static String |
DEFAULT_VALUE_PROP
|
static String |
DESCRIPTION_PROP
|
static String |
EXPRESSION_PROP
|
static String |
FORMAT_PROP
|
static String |
GUID_PROP
|
static String |
INPUT_MASK_PROP
|
static String |
REQUIRED_PROP
|
static String |
RESULT_TYPE_PROP
|
static String |
TITLE_PROP
|
static String |
VALIDATION_RULE_PROP
|
static String |
VALIDATION_TEXT_PROP
|
| Method Summary | |
|---|---|
PropertyMap.Property |
get(String name)
|
String |
getName()
|
int |
getSize()
|
Object |
getValue(String name)
|
Object |
getValue(String name,
Object defaultValue)
|
boolean |
isEmpty()
|
PropertyMap.Property |
put(String name,
DataType type,
Object value)
Creates a new (or updates an existing) property in the map. |
PropertyMap.Property |
put(String name,
Object value)
Creates a new (or updates an existing) property in the map. |
void |
putAll(Iterable<? extends PropertyMap.Property> props)
Puts all the given properties into this map. |
PropertyMap.Property |
remove(String name)
Removes the property with the given name |
void |
save()
Saves the current state of this map. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Field Detail |
|---|
static final String ACCESS_VERSION_PROP
static final String TITLE_PROP
static final String AUTHOR_PROP
static final String COMPANY_PROP
static final String DEFAULT_VALUE_PROP
static final String REQUIRED_PROP
static final String ALLOW_ZERO_LEN_PROP
static final String DECIMAL_PLACES_PROP
static final String FORMAT_PROP
static final String INPUT_MASK_PROP
static final String CAPTION_PROP
static final String VALIDATION_RULE_PROP
static final String VALIDATION_TEXT_PROP
static final String GUID_PROP
static final String DESCRIPTION_PROP
static final String RESULT_TYPE_PROP
static final String EXPRESSION_PROP
| Method Detail |
|---|
String getName()
int getSize()
boolean isEmpty()
PropertyMap.Property get(String name)
Object getValue(String name)
Object getValue(String name,
Object defaultValue)
PropertyMap.Property put(String name,
Object value)
save() method
has been called.
IllegalArgumentException - if the type of the property could not be
determined automatically
PropertyMap.Property put(String name,
DataType type,
Object value)
save() method
has been called.
void putAll(Iterable<? extends PropertyMap.Property> props)
PropertyMap.Property remove(String name)
null if none found
void save()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||