T
- The type of the Objects described@Deprecated
public interface IItemRegistry<T>
Modifier and Type | Method and Description |
---|---|
IItemDescriptor<T> |
add(IItemDescriptor<T> descriptor)
Deprecated.
Adds the given
IItemDescriptor to the registry. |
void |
clear()
Deprecated.
Clears the registry.
|
IItemDescriptor<T> |
getItemDescriptor(java.lang.String id)
Deprecated.
Returns the
IItemDescriptor with the given identifier. |
java.util.List<IItemDescriptor<T>> |
getItemDescriptors()
Deprecated.
Returns all the
IItemDescriptor of the registry. |
IItemDescriptor<T> |
remove(java.lang.String id)
Deprecated.
Removes the
IItemDescriptor with the given identifier. |
java.util.List<IItemDescriptor<T>> getItemDescriptors()
IItemDescriptor
of the registry.IItemDescriptor
of the registryIItemDescriptor<T> getItemDescriptor(java.lang.String id)
IItemDescriptor
with the given identifier.id
- The identifierIItemDescriptor
with the given identifier or null if none could be foundIItemDescriptor<T> add(IItemDescriptor<T> descriptor)
IItemDescriptor
to the registry.descriptor
- The descriptiorIItemDescriptor
with the same identifier, or null if no registered
IItemDescriptor
had the same identifierIItemDescriptor<T> remove(java.lang.String id)
IItemDescriptor
with the given identifier.id
- The identifierIItemDescriptor
removed or null if no registered IItemDescriptor
had an identifier
matching the given onevoid clear()