public abstract class ExpObject extends ResponseObject
_allProperties
Constructor and Description |
---|
ExpObject() |
ExpObject(org.json.simple.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
void |
setId(int id) |
void |
setName(java.lang.String name) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties) |
org.json.simple.JSONObject |
toJSON(java.util.Map<java.lang.String,java.lang.Object> properties)
Temp Fix for Issue: 23708
The Simple JSON library isn't properly serializing Dates, and generates invalid JSON.
|
org.json.simple.JSONObject |
toJSONObject() |
getAllProperties
public ExpObject()
public ExpObject(org.json.simple.JSONObject json)
public org.json.simple.JSONObject toJSONObject()
public org.json.simple.JSONObject toJSON(java.util.Map<java.lang.String,java.lang.Object> properties)
properties
- Map to serializepublic int getId()
public void setId(int id)
id
- the auto-generated rowId for this objectpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name assigned to this objectpublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties
- the customizable properties attached to this object (Run Properties, Batch Properties, etc)