public interface Store<V extends Identifiable> extends Map<Identifier,V>
Created by Jeff Gaynor
on Mar 12, 2010 at 10:21:39 AM
Modifier and Type | Method and Description |
---|---|
V |
create()
Create a new object of the given type.
|
List<V> |
getAll()
Method to get every element in the store.
|
XMLConverter<V> |
getXMLConverter() |
void |
register(V value)
Almost Identical to put(K,V) but since the object should have an identifier, passing along the key is redundant.
|
void |
save(V value)
Saves an object.
|
List<V> |
search(String key,
String condition,
boolean isRegEx)
Allows for searching via a reg ex.
|
void |
update(V value)
Update an existing object.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
V create()
void update(V value)
value
- void register(V value)
value
- void save(V value)
value
- List<V> getAll()
XMLConverter<V> getXMLConverter()
Copyright © 2019. All Rights Reserved.