public class JSONEntry extends IdentifiableImpl
Created by Jeff Gaynor
on 2/15/19 at 4:14 PM
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_JSON_ARRAY |
static String |
TYPE_JSON_OBJECT |
static String |
TYPE_PROCEDURE |
static String |
TYPE_SCRIPT |
static String |
TYPE_STRING |
Constructor and Description |
---|
JSONEntry(Identifier identifier) |
Modifier and Type | Method and Description |
---|---|
IdentifiableImpl |
clone() |
net.sf.json.JSONArray |
getArray() |
Date |
getCreationTimestamp() |
Date |
getLastModified() |
net.sf.json.JSONObject |
getObject() |
List<String> |
getProcedure()
Procedures are stored as JSON arrays of string.
|
String |
getRawContent() |
String |
getType() |
boolean |
isArray() |
boolean |
isJSONObject() |
boolean |
isProcedure() |
void |
setCreationTimestamp(Date creationTimestamp) |
void |
setLastModified(Date lastModified) |
void |
setRawContent(String rawContent) |
void |
setType(String type) |
equals, getIdentifier, getIdentifierString, setIdentifier
public static final String TYPE_JSON_ARRAY
public static final String TYPE_JSON_OBJECT
public static final String TYPE_STRING
public static final String TYPE_PROCEDURE
public static final String TYPE_SCRIPT
public JSONEntry(Identifier identifier)
public boolean isArray()
public boolean isJSONObject()
public boolean isProcedure()
public String getType()
public void setType(String type)
public String getRawContent()
public void setRawContent(String rawContent)
public net.sf.json.JSONArray getArray()
public net.sf.json.JSONObject getObject()
public List<String> getProcedure()
public Date getLastModified()
public void setLastModified(Date lastModified)
public Date getCreationTimestamp()
public void setCreationTimestamp(Date creationTimestamp)
public IdentifiableImpl clone()
clone
in interface Identifiable
clone
in class IdentifiableImpl
Copyright © 2019. All Rights Reserved.