public class AutoIncrement extends java.lang.Object implements KeyGenerator
Constructor and Description |
---|
AutoIncrement()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
setAutoKey(java.lang.reflect.Field field,
java.lang.Object instance)
set an autoKey within an object instance
|
java.lang.Object |
setAutoKey(org.resoa.json.JSONObject json,
java.lang.String keyName,
java.lang.String referenceID)
Set an AutoKey within a JSON Object
|
public java.lang.Object setAutoKey(java.lang.reflect.Field field, java.lang.Object instance)
KeyGenerator
setAutoKey
in interface KeyGenerator
public java.lang.Object setAutoKey(org.resoa.json.JSONObject json, java.lang.String keyName, java.lang.String referenceID)
KeyGenerator
setAutoKey
in interface KeyGenerator
keyName
- the primary key node namereferenceID
- a reference ID, which should be included within key generationCopyright © 2005-2014 The Resoa Project, resoa.org.