|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.healthmarketscience.jackcess.impl.PropertyMapImpl
public class PropertyMapImpl
Map of properties for a database object.
| 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_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, TITLE_PROP, VALIDATION_RULE_PROP, VALIDATION_TEXT_PROP |
| Constructor Summary | |
|---|---|
PropertyMapImpl(String name,
short type,
PropertyMaps owner)
|
|
| Method Summary | |
|---|---|
static PropertyMap.Property |
createProperty(String name,
DataType type,
byte flag,
Object value)
|
static PropertyMap.Property |
createProperty(String name,
DataType type,
Object value)
|
PropertyMap.Property |
get(String name)
|
String |
getName()
|
PropertyMaps |
getOwner()
|
int |
getSize()
|
short |
getType()
|
Object |
getValue(String name)
|
Object |
getValue(String name,
Object defaultValue)
|
boolean |
isEmpty()
|
Iterator<PropertyMap.Property> |
iterator()
|
com.healthmarketscience.jackcess.impl.PropertyMapImpl.PropertyImpl |
put(String name,
DataType type,
byte flag,
Object value)
Puts a property into this map with the given information. |
com.healthmarketscience.jackcess.impl.PropertyMapImpl.PropertyImpl |
put(String name,
DataType type,
Object value)
Creates a new (or updates an existing) property in the map. |
com.healthmarketscience.jackcess.impl.PropertyMapImpl.PropertyImpl |
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. |
com.healthmarketscience.jackcess.impl.PropertyMapImpl.PropertyImpl |
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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyMapImpl(String name,
short type,
PropertyMaps owner)
| Method Detail |
|---|
public String getName()
getName in interface PropertyMappublic short getType()
public PropertyMaps getOwner()
public 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 com.healthmarketscience.jackcess.impl.PropertyMapImpl.PropertyImpl put(String name,
Object value)
PropertyMapPropertyMap.save() method
has been called.
put in interface PropertyMap
public com.healthmarketscience.jackcess.impl.PropertyMapImpl.PropertyImpl 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 PropertyMap
public com.healthmarketscience.jackcess.impl.PropertyMapImpl.PropertyImpl put(String name,
DataType type,
byte flag,
Object value)
public com.healthmarketscience.jackcess.impl.PropertyMapImpl.PropertyImpl remove(String name)
PropertyMap
remove in interface PropertyMapnull if none foundpublic Iterator<PropertyMap.Property> iterator()
iterator in interface Iterable<PropertyMap.Property>
public void save()
throws IOException
PropertyMap
save in interface PropertyMapIOExceptionpublic String toString()
toString in class Object
public static PropertyMap.Property createProperty(String name,
DataType type,
Object value)
public static PropertyMap.Property createProperty(String name,
DataType type,
byte flag,
Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||