| Modifier and Type | Class and Description |
|---|---|
| private static class | PropertyMapImpl.
Helper for holding info about default properties |
| pack-priv static class | PropertyMapImpl.
Info about a property defined in a PropertyMap. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final byte | DDL_FLAG
property flag bit for the DDL argument of the DAO CreateProperty method. |
| private static final Map | |
| private final String | |
| private final short | |
| private final PropertyMaps | |
| private final Map | |
| pack-priv static final byte | SKIP_HANDLER_FLAG
property flag bit which tells the engine to store the value without running the handler bound to the property name, so that writing the property records a state instead of bringing it about. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static PropertyMap. | |
| public static PropertyMap. | |
| pack-priv static PropertyMap. | Returns: the new propertyproperty name name, DataType property type, or type, Object null to derive it from the default info or the valueproperty value value, byte flag byte as stored in the file flags)Creates a property with the given flag byte as stored in the file. |
| public PropertyMap. | get(String name)
Implements io. Returns the property with the given name, if any. |
| public String | getName()
Implements io. Returns the name of the database object to which this property map belongs. |
| public PropertyMaps | |
| public int | getSize()
Implements io. Returns the number of properties currently in this map. |
| public short | |
| public Object | getValue(String name)
Implements io. Returns the value of the property with the given name, if any. |
| public Object | getValue(String name, Object defaultValue)
Implements io. Returns the value of the property with the given name, if any, otherwise the given defaultValue. |
| public boolean | isEmpty()
Implements io. Returns |
| public Iterator | |
| public PropertyMapImpl. | put(String name, Object value)
Implements io. Creates a new (or updates an existing) property in the map. |
| public PropertyMapImpl. | put(String name, DataType type, Object value)
Implements io. Creates a new (or updates an existing) property in the map. |
| public PropertyMapImpl. | |
| public PropertyMapImpl. | put(String name, DataType type, Object value, boolean isDdl)
Implements io. Puts a property into this map with the given information. |
| pack-priv PropertyMapImpl. | |
| public void | putAll(Iterable<? extends PropertyMap.
Implements io. Puts all the given properties into this map. |
| public PropertyMapImpl. | remove(String name)
Implements io. Removes the property with the given name |
| public void | |
| private static byte | Returns: the flag bytewhether the property is a DDL property isDdl)Converts the given ddl state into a flag byte. |
| public String | |
| public static String |
| DDL_FLAG | back to summary |
|---|---|
| pack-priv static final byte DDL_FLAG property flag bit for the DDL argument of the DAO CreateProperty method. A user cannot change or delete a DDL property without dbSecWriteDef permission | |
| DEFAULT_TYPES | back to summary |
|---|---|
| private static final Map<String, PropertyMapImpl. | |
| mapName | back to summary |
|---|---|
| private final String mapName | |
| mapType | back to summary |
|---|---|
| private final short mapType | |
| owner | back to summary |
|---|---|
| private final PropertyMaps owner | |
| props | back to summary |
|---|---|
| private final Map<String, PropertyMap. | |
| SKIP_HANDLER_FLAG | back to summary |
|---|---|
| pack-priv static final byte SKIP_HANDLER_FLAG property flag bit which tells the engine to store the value without running the handler bound to the property name, so that writing the property records a state instead of bringing it about. The engine sets it on its own account and no DAO call produces it | |
| PropertyMapImpl | back to summary |
|---|---|
| public PropertyMapImpl(String name, short type, PropertyMaps owner) | |
| createProperty | back to summary |
|---|---|
| public static PropertyMap. | |
| createProperty | back to summary |
|---|---|
| public static PropertyMap. | |
| createProperty | back to summary |
|---|---|
| pack-priv static PropertyMap. Creates a property with the given flag byte as stored in the file.
| |
| get | back to summary |
|---|---|
| public PropertyMap. Implements io. Doc from io. Returns the property with the given name, if any.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements io. Doc from io. Returns the name of the database object to which this property map belongs.
| |
| getOwner | back to summary |
|---|---|
| public PropertyMaps getOwner() | |
| getSize | back to summary |
|---|---|
| public int getSize() Implements io. Doc from io. Returns the number of properties currently in this map.
| |
| getType | back to summary |
|---|---|
| public short getType() | |
| getValue | back to summary |
|---|---|
| public Object getValue(String name) Implements io. Doc from io. Returns the value of the property with the given name, if any.
| |
| getValue | back to summary |
|---|---|
| public Object getValue(String name, Object defaultValue) Implements io. Doc from io. Returns the value of the property with the given name, if any, otherwise the given defaultValue.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements io. Doc from io. Returns
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type
| |
| put | back to summary |
|---|---|
| public PropertyMapImpl. Implements io. Doc from io. Creates a new (or updates an existing) property in the map. Attempts to determine the type of the property based on the name and value (the property names listed above have their types builtin, otherwise the type of the value is used).
Note, this change will not be persisted until the
| |
| put | back to summary |
|---|---|
| public PropertyMapImpl. Implements io. Doc from io. Creates a new (or updates an existing) property in the map.
Note, this change will not be persisted until the
| |
| put | back to summary |
|---|---|
| public PropertyMapImpl. | |
| put | back to summary |
|---|---|
| public PropertyMapImpl. Implements io. Puts a property into this map with the given information.
| |
| put | back to summary |
|---|---|
| pack-priv PropertyMapImpl. Puts a property into this map with the given flag byte as stored in the file.
| |
| putAll | back to summary |
|---|---|
| public void putAll(Iterable<? extends PropertyMap. Implements io. Doc from io. Puts all the given properties into this map.
| |
| remove | back to summary |
|---|---|
| public PropertyMapImpl. Implements io. Doc from io. Removes the property with the given name
| |
| save | back to summary |
|---|---|
| public void save() throws IOException Implements io. Doc from io. Saves the current state of this map.
| |
| toFlags | back to summary |
|---|---|
| private static byte toFlags(boolean isDdl) Converts the given ddl state into a flag byte.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| toString | back to summary |
|---|---|
| public static String toString(PropertyMap map) | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final DataType |
| isDdl | back to summary |
|---|---|
| private final boolean isDdl | |
| type | back to summary |
|---|---|
| private final DataType type | |
| PropDef | back to summary |
|---|---|
| private PropDef(DataType type, boolean isDdl) | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte | flags
the flag byte exactly as it is stored in the file |
| private final String | |
| private final DataType | |
| private Object |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte | |
| public String | getName()
Implements io. Returns the name of this property. |
| public DataType | getType()
Implements io. Returns the data type of this property's value. |
| public Object | getValue()
Implements io. Returns the current value of this property. |
| public boolean | isDdl()
Implements io. Whether or not this property is a DDL object. |
| public void | setValue(Object newValue)
Implements io. Sets the new value for this property. |
| public String |
| flags | back to summary |
|---|---|
| private final byte flags the flag byte exactly as it is stored in the file | |
| name | back to summary |
|---|---|
| private final String name | |
| type | back to summary |
|---|---|
| private final DataType type | |
| value | back to summary |
|---|---|
| private Object value | |
| PropertyImpl | back to summary |
|---|---|
| private PropertyImpl(String name, DataType type, Object value, byte flags) | |
| getFlags | back to summary |
|---|---|
| pack-priv byte getFlags() Returns the flag byte as stored in the file. Access uses more of it than the one bit
| |
| getName | back to summary |
|---|---|
| public String getName() Implements io. Doc from io. Returns the name of this property.
| |
| getType | back to summary |
|---|---|
| public DataType getType() Implements io. Doc from io. Returns the data type of this property's value.
| |
| getValue | back to summary |
|---|---|
| public Object getValue() Implements io. Doc from io. Returns the current value of this property.
| |
| isDdl | back to summary |
|---|---|
| public boolean isDdl() Implements io. Doc from io. Whether or not this property is a DDL object. If
| |
| setValue | back to summary |
|---|---|
| public void setValue(Object newValue) Implements io. Doc from io. Sets the new value for this property.
Note, this change will not be persisted until the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |