This is a simple DAMetaData implementation backed by type-specific maps of attributes to values.
More...
List of all members.
Public Member Functions |
byte[] | getData (DAAttrib attr, long index) |
String | getString (DAAttrib attr) |
Boolean | getFlag (DAAttrib attr) |
Long | getSize (DAAttrib attr) |
void | setData (DAAttrib attr, byte[] value) |
| Sets an attribute byte string value.
|
void | setString (DAAttrib attr, String value) |
| Sets an attribute string value.
|
void | setFlag (DAAttrib attr, boolean value) |
| Sets an attribute boolean value.
|
void | setSize (DAAttrib attr, long size) |
| Sets an attribute size value.
|
Package Attributes |
Map< DAAttrib, Boolean > | flags = new HashMap<DAAttrib, Boolean>() |
Map< DAAttrib, String > | strings = new HashMap<DAAttrib, String>() |
Map< DAAttrib, byte[]> | datas = new HashMap<DAAttrib, byte[]>() |
Map< DAAttrib, Long > | sizes = new HashMap<DAAttrib, Long>() |
Detailed Description
This is a simple DAMetaData implementation backed by type-specific maps of attributes to values.
Member Function Documentation
void com.good.daf.basic.BasicMetaData.setData |
( |
DAAttrib |
attr, |
|
|
byte[] |
value |
|
) |
| |
Sets an attribute byte string value.
- Parameters:
-
attr | attribute to set |
value | value |
void com.good.daf.basic.BasicMetaData.setFlag |
( |
DAAttrib |
attr, |
|
|
boolean |
value |
|
) |
| |
Sets an attribute boolean value.
- Parameters:
-
attr | attribute to set |
value | value |
void com.good.daf.basic.BasicMetaData.setSize |
( |
DAAttrib |
attr, |
|
|
long |
size |
|
) |
| |
Sets an attribute size value.
- Parameters:
-
attr | attribute to set |
value | value. this must be non-negative |
void com.good.daf.basic.BasicMetaData.setString |
( |
DAAttrib |
attr, |
|
|
String |
value |
|
) |
| |
Sets an attribute string value.
- Parameters:
-
attr | attribute to set |
value | value |
The documentation for this class was generated from the following file: