public class OAVDebugIdGenerator extends java.lang.Object implements IOAVIdGenerator
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map |
counters
The id counter map (type -> count).
|
protected boolean |
iscontentid
The flag indicating if content ids should be produced.
|
| Constructor and Description |
|---|
OAVDebugIdGenerator()
Create a new id generator.
|
OAVDebugIdGenerator(boolean iscontentid)
Create a new id generator.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createId(IOAVState state,
OAVObjectType type)
Create a unique id.
|
boolean |
isId(java.lang.Object id)
Test if an object is an id.
|
protected java.util.Map counters
protected boolean iscontentid
public OAVDebugIdGenerator()
public OAVDebugIdGenerator(boolean iscontentid)
public java.lang.Object createId(IOAVState state, OAVObjectType type)
createId in interface IOAVIdGeneratorstate - The state.type - The object type.public boolean isId(java.lang.Object id)
isId in interface IOAVIdGeneratorstate - The state.type - The object type.