|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.healthmarketscience.jackcess.impl.complex.MultiValueColumnPropertyMap
public class MultiValueColumnPropertyMap
PropertyMap implementation for multi-value, complex properties. The properties for these columns seem to be dispersed between both the primary column and the complex value column. The primary column only seems to have the simple "multi-value" property and the rest seem to be on the complex value column. This PropertyMap implementation combines them into one synthetic map.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.healthmarketscience.jackcess.PropertyMap |
|---|
PropertyMap.Property |
| Field Summary |
|---|
| Fields inherited from interface com.healthmarketscience.jackcess.PropertyMap |
|---|
ACCESS_VERSION_PROP, ALLOW_MULTI_VALUE_PROP, ALLOW_ZERO_LEN_PROP, AUTHOR_PROP, CAPTION_PROP, COMPANY_PROP, DECIMAL_PLACES_PROP, DEFAULT_VALUE_PROP, DESCRIPTION_PROP, EXPRESSION_PROP, FORMAT_PROP, GUID_PROP, INPUT_MASK_PROP, REQUIRED_PROP, RESULT_TYPE_PROP, ROW_SOURCE_PROP, ROW_SOURCE_TYPE_PROP, TITLE_PROP, VALIDATION_RULE_PROP, VALIDATION_TEXT_PROP |
| Constructor Summary | |
|---|---|
MultiValueColumnPropertyMap(PropertyMap primary,
PropertyMap complex)
|
|
| Method Summary | |
|---|---|
PropertyMap.Property |
get(String name)
|
String |
getName()
|
int |
getSize()
|
Object |
getValue(String name)
|
Object |
getValue(String name,
Object defaultValue)
|
boolean |
isEmpty()
|
Iterator<PropertyMap.Property> |
iterator()
|
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MultiValueColumnPropertyMap(PropertyMap primary,
PropertyMap complex)
| Method Detail |
|---|
public String getName()
getName in interface PropertyMappublic int getSize()
getSize in interface PropertyMappublic boolean isEmpty()
isEmpty in interface PropertyMappublic PropertyMap.Property get(String name)
get in interface PropertyMappublic Object getValue(String name)
getValue in interface PropertyMap
public Object getValue(String name,
Object defaultValue)
getValue in interface PropertyMap
public PropertyMap.Property put(String name,
Object value)
PropertyMapPropertyMap.save() method
has been called.
put in interface PropertyMap
public PropertyMap.Property put(String name,
DataType type,
Object value)
PropertyMapPropertyMap.save() method
has been called.
put in interface PropertyMappublic void putAll(Iterable<? extends PropertyMap.Property> props)
PropertyMap
putAll in interface PropertyMapprops - the properties to put into this map (null is
tolerated and ignored).public PropertyMap.Property remove(String name)
PropertyMap
remove in interface PropertyMapnull if none found
public void save()
throws IOException
PropertyMap
save in interface PropertyMapIOExceptionpublic Iterator<PropertyMap.Property> iterator()
iterator in interface Iterable<PropertyMap.Property>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||