public class JSONContentClassesResponse extends JSONResponse
There are two ways to use this class:
JSONContentClassesResponse jsonContentClassesResponse = (JSONContentClassesResponse) jsonResponse;
| Constructor and Description |
|---|
JSONContentClassesResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContentClassDefinition(java.lang.String id,
java.lang.String name,
java.lang.String description,
boolean allowsInstances)
Add a content class definition to the list of content classes
|
void |
setParentClassDefinition(java.lang.String id,
java.lang.String name,
java.lang.String description,
boolean allowsInstances)
Add a definition of the parent class.
|
addErrorMessage, addInfoMessage, addWarningMessage, hasErrorsisValidObject, isValidType, parse, parse, parse, put, serialize, serialize, serialize, serialize, serialize, serialize, toStringclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic void addContentClassDefinition(java.lang.String id,
java.lang.String name,
java.lang.String description,
boolean allowsInstances)
id - the symbolic name of the classname - the display name of the classdescription - a description of the class (or null if no description)allowsInstances - true if the class can have subclassespublic void setParentClassDefinition(java.lang.String id,
java.lang.String name,
java.lang.String description,
boolean allowsInstances)
id - the symbolic name of the parent classname - the display name of the parent classdescription - a description of the parent class, or null if no descriptionallowsInstances - true if the class can have subclasses