com.healthmarketscience.jackcess
Class PropertyMap
java.lang.Object
com.healthmarketscience.jackcess.PropertyMap
- All Implemented Interfaces:
- Iterable<PropertyMap.Property>
public class PropertyMap
- extends Object
- implements Iterable<PropertyMap.Property>
Map of properties for a given database object.
- Author:
- James Ahlborn
|
Nested Class Summary |
static class |
PropertyMap.Property
Info about a property defined in a PropertyMap. |
ACCESS_VERSION_PROP
public static final String ACCESS_VERSION_PROP
- See Also:
- Constant Field Values
TITLE_PROP
public static final String TITLE_PROP
- See Also:
- Constant Field Values
AUTHOR_PROP
public static final String AUTHOR_PROP
- See Also:
- Constant Field Values
COMPANY_PROP
public static final String COMPANY_PROP
- See Also:
- Constant Field Values
DEFAULT_VALUE_PROP
public static final String DEFAULT_VALUE_PROP
- See Also:
- Constant Field Values
REQUIRED_PROP
public static final String REQUIRED_PROP
- See Also:
- Constant Field Values
ALLOW_ZERO_LEN_PROP
public static final String ALLOW_ZERO_LEN_PROP
- See Also:
- Constant Field Values
DECIMAL_PLACES_PROP
public static final String DECIMAL_PLACES_PROP
- See Also:
- Constant Field Values
FORMAT_PROP
public static final String FORMAT_PROP
- See Also:
- Constant Field Values
INPUT_MASK_PROP
public static final String INPUT_MASK_PROP
- See Also:
- Constant Field Values
CAPTION_PROP
public static final String CAPTION_PROP
- See Also:
- Constant Field Values
VALIDATION_RULE_PROP
public static final String VALIDATION_RULE_PROP
- See Also:
- Constant Field Values
VALIDATION_TEXT_PROP
public static final String VALIDATION_TEXT_PROP
- See Also:
- Constant Field Values
GUID_PROP
public static final String GUID_PROP
- See Also:
- Constant Field Values
DESCRIPTION_PROP
public static final String DESCRIPTION_PROP
- See Also:
- Constant Field Values
getName
public String getName()
getType
public short getType()
getSize
public int getSize()
isEmpty
public boolean isEmpty()
get
public PropertyMap.Property get(String name)
- Returns:
- the property with the given name, if any
getValue
public Object getValue(String name)
- Returns:
- the value of the property with the given name, if any
getValue
public Object getValue(String name,
Object defaultValue)
- Returns:
- the value of the property with the given name, if any, otherwise
the given defaultValue
put
public void put(String name,
DataType type,
byte flag,
Object value)
- Puts a property into this map with the given information.
iterator
public Iterator<PropertyMap.Property> iterator()
- Specified by:
iterator in interface Iterable<PropertyMap.Property>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2005-2013 Health Market Science. All Rights Reserved.