com.splunk
Class DataModelCollection

java.lang.Object
  extended by com.splunk.Resource
      extended by com.splunk.ResourceCollection<T>
          extended by com.splunk.EntityCollection<DataModel>
              extended by com.splunk.DataModelCollection
All Implemented Interfaces:
java.util.Map<java.lang.String,DataModel>

public class DataModelCollection
extends EntityCollection<DataModel>


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 DataModel create(java.lang.String name)
          Creates an entity in this collection.
 DataModel create(java.lang.String name, java.util.Map args)
          Creates an entity in this collection.
 
Methods inherited from class com.splunk.EntityCollection
remove, remove
 
Methods inherited from class com.splunk.ResourceCollection
clear, containsKey, containsKey, containsValue, entrySet, equals, get, get, hashCode, isEmpty, keySet, list, put, putAll, refresh, remove, size, validate, values, valueSize
 
Methods inherited from class com.splunk.Resource
getName, getPath, getService, getTitle, invalidate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public DataModel create(java.lang.String name)
Creates an entity in this collection.

Overrides:
create in class EntityCollection<DataModel>
Parameters:
name - The name of the entity.
Returns:
The entity.

create

public DataModel create(java.lang.String name,
                        java.util.Map args)
Creates an entity in this collection.

Overrides:
create in class EntityCollection<DataModel>
Parameters:
name - The name of the entity.
args - Arguments for creating the entity.
Returns:
The entity.