Class ExtensionKey
- java.lang.Object
-
- net.sf.basedb.util.extensions.manager.ExtensionKey
-
public class ExtensionKey extends Object implements ObjectKey<Extension<?>>
Key implementation used to identify extensions. Since each extension is identified by it's id, we use that as the key for equality.- Since:
- 3.0
- Author:
- Nicklas
- See Also:
Extension
- Last modified
- $Date: 2015-04-20 11:08:18 +0200 (må, 20 apr 2015) $
-
-
Constructor Summary
Constructors Constructor Description ExtensionKey(String id)
Create a new key for an extension with the given id.ExtensionKey(Extension<?> ext)
Create a new key for an extension.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
String
toDescription()
Get a string description of the key that is suitable for use in (error) messages to users.String
toString()
-