Package edu.uiuc.ncsa.qdl.extensions
Interface QDLModuleMetaClass
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Crypto
,DynamoDB
,HTTPClient
,QDLCLITools
,QDLConvert
,QDLDB
,QDLMail
public interface QDLModuleMetaClass extends Serializable
One way to make a Java module is to have a super class and have each method or variable defined as non-static inner classes. These then can share state between them. This interface should be implemented for those classes in order to ensure compatibility with the system. It has no methods and is a marker interface.Created by Jeff Gaynor
on 10/4/21 at 6:58 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deserializeFromJSON(net.sf.json.JSONObject json)
net.sf.json.JSONObject
serializeToJSON()
Send back a serialization of state for this object.
-
-
-
Method Detail
-
serializeToJSON
net.sf.json.JSONObject serializeToJSON()
Send back a serialization of state for this object. This allows for the state you choose to be serialized and then reloaded.NOTE
There is no canonical form for this. Set it how you will and deserialize it accordingly.- Returns:
-
deserializeFromJSON
void deserializeFromJSON(net.sf.json.JSONObject json)
-
-