|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.json.JSONUtils
public class JSONUtils
Convenience methods for JSON.
| Constructor Summary | |
|---|---|
JSONUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getMemberNameForDatastoreIdentity(org.datanucleus.metadata.AbstractClassMetaData cmd)
Method to return the member name to be used by JSON for the datastore identity of the object. |
static java.lang.String |
getMemberNameForMember(org.datanucleus.metadata.AbstractMemberMetaData mmd)
Method to return the member name to use in JSON. |
static java.lang.String |
getMemberNameForVersion(org.datanucleus.metadata.VersionMetaData vermd)
Method to return the member name to be used by JSON for the version of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSONUtils()
| Method Detail |
|---|
public static java.lang.String getMemberNameForMember(org.datanucleus.metadata.AbstractMemberMetaData mmd)
mmd - Metadata for the member
public static java.lang.String getMemberNameForDatastoreIdentity(org.datanucleus.metadata.AbstractClassMetaData cmd)
cmd - Metadata for the class
public static java.lang.String getMemberNameForVersion(org.datanucleus.metadata.VersionMetaData vermd)
vermd - Version metadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||