public class JsonSourceSet extends AbstractJsonSource
JsonSource elements.
 
 In the context of JSON Discoverer, it is used to model an API, which is composed of 
 several JSON-based Web services. As so, the JsonSourceSet includes a set of
 JsonSource elements and therefore each one collects the JSON documents for 
 each JSON-based Web service.
| Modifier and Type | Field and Description | 
|---|---|
| private java.util.HashMap<java.lang.String,JsonSource> | sourcesThe set of  JsonSourceelements collected by this class | 
| Constructor and Description | 
|---|
| JsonSourceSet(java.lang.String name)Constructs a new  JsonSourceSetwith a name | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addJsonSource(JsonSource source)Adds a  JsonSourceelement to thisJsonSourceSet. | 
| JsonSource | getJsonSource(java.lang.String key)Returns the  JsonSourceelements for a given key | 
| java.util.Collection<JsonSource> | getJsonSources()Returns all the  JsonSourceelements of thisJsonSourceSet | 
getMetamodel, getName, setMetamodel, setNameprivate java.util.HashMap<java.lang.String,JsonSource> sources
JsonSource elements collected by this classpublic JsonSourceSet(java.lang.String name)
JsonSourceSet with a namename - The name of the JsonSourceSetpublic void addJsonSource(JsonSource source)
JsonSource element to this JsonSourceSet.
 
 In the context of JSON Discoverer, a JsonSource is considered a JSON-based
 Web service.
source - The JsonSource elementpublic JsonSource getJsonSource(java.lang.String key)
JsonSource elements for a given keykey - The name of the JsonSourceJsonSourcepublic java.util.Collection<JsonSource> getJsonSources()
JsonSource elements of this JsonSourceSetJsonSource