T
- The type of the data parameters.
public class OCastDataLayer<T>
Represents an OCast data layer.
Constructor and Description |
---|
OCastDataLayer(java.lang.String name,
T params,
org.json.JSONObject options)
Creates an instance of
class OCastDataLayer . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
The name of the data.
|
org.json.JSONObject |
getOptions()
The options associated with this data,
|
T |
getParams()
The data parameters.
|
void |
setName(java.lang.String p)
The name of the data.
|
public OCastDataLayer(@NotNull java.lang.String name, T params, @Nullable org.json.JSONObject options)
Creates an instance of class OCastDataLayer
.
name
- The name of the data.params
- The data parameters.options
- The options associated with this data, if any.class OCastDataLayer
@NotNull public java.lang.String getName()
The name of the data.
public void setName(@NotNull java.lang.String p)
The name of the data.
p
- The name of the data.public T getParams()
The data parameters.
@Nullable public org.json.JSONObject getOptions()
The options associated with this data,
if any.