public class PropertyMaps extends java.lang.Object implements java.lang.Iterable<PropertyMapImpl>
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
PropertyMaps.Handler
Utility class for reading/writing property blocks.
|
| Modifier and Type | Field and Description |
|---|---|
private PropertyMaps.Handler |
_handler |
private java.util.Map<java.lang.String,PropertyMapImpl> |
_maps
maps the PropertyMap name (case-insensitive) to the PropertyMap
instance
|
private int |
_objectId |
private RowIdImpl |
_rowId |
private static short |
COLUMN_PROPERTY_VALUE_LIST |
static java.lang.String |
DEFAULT_NAME
the name of the "default" properties for a PropertyMaps instance
|
private static short |
DEFAULT_PROPERTY_VALUE_LIST |
private static short |
PROPERTY_NAME_LIST |
| Constructor and Description |
|---|
PropertyMaps(int objectId,
RowIdImpl rowId,
PropertyMaps.Handler handler) |
| Modifier and Type | Method and Description |
|---|---|
PropertyMapImpl |
get(java.lang.String name) |
private PropertyMapImpl |
get(java.lang.String name,
short type) |
PropertyMapImpl |
getDefault() |
int |
getObjectId() |
int |
getSize() |
boolean |
isEmpty() |
java.util.Iterator<PropertyMapImpl> |
iterator() |
void |
save() |
java.lang.String |
toString() |
byte[] |
write() |
public static final java.lang.String DEFAULT_NAME
private static final short PROPERTY_NAME_LIST
private static final short DEFAULT_PROPERTY_VALUE_LIST
private static final short COLUMN_PROPERTY_VALUE_LIST
private final java.util.Map<java.lang.String,PropertyMapImpl> _maps
private final int _objectId
private final RowIdImpl _rowId
private final PropertyMaps.Handler _handler
public PropertyMaps(int objectId,
RowIdImpl rowId,
PropertyMaps.Handler handler)
public int getObjectId()
public int getSize()
public boolean isEmpty()
public PropertyMapImpl getDefault()
public PropertyMapImpl get(java.lang.String name)
private PropertyMapImpl get(java.lang.String name, short type)
public java.util.Iterator<PropertyMapImpl> iterator()
iterator in interface java.lang.Iterable<PropertyMapImpl>public byte[] write()
throws java.io.IOException
java.io.IOExceptionpublic void save()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object