public class ExtensionPointKey extends java.lang.Object implements ObjectKey<ExtensionPoint>
ExtensionPoint
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id |
Constructor and Description |
---|
ExtensionPointKey(ExtensionPoint ep)
Create a new key for an extension point.
|
ExtensionPointKey(java.lang.String id)
Create a new key for an extension point with the given id.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toDescription()
Get a string description of the key that is suitable for use
in (error) messages to users.
|
java.lang.String |
toString() |
public ExtensionPointKey(java.lang.String id)
id
- The id (required)public ExtensionPointKey(ExtensionPoint ep)
ep
- The extension point (required)public java.lang.String toDescription()
ObjectKey
toDescription
in interface ObjectKey<ExtensionPoint>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object