E
- the type of this extensionpublic class ExtensionName<E>
extends java.lang.Object
Extension
. There is no clear
definition of which class uses extension at which time. At the moment the best way to find
out is to search all occurences of this class in the code.Constructor and Description |
---|
ExtensionName(Path name,
java.lang.Class<E> type)
Creates a new name.
|
ExtensionName(Path name,
java.lang.Class<E> type,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Creates a new name.
|
ExtensionName(Path name,
java.lang.Class<E> type,
java.lang.String parameterKey,
java.lang.Object parameterValue)
Creates a new name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
get(java.lang.String parameter)
Gets an additional parameter of this extension.
|
Path |
getName()
Gets the unique name of this extension.
|
java.lang.Class<E> |
getType()
Gets the type of this extension.
|
int |
hashCode() |
java.lang.String |
toString() |
public ExtensionName(Path name, java.lang.Class<E> type)
name
- the unique identifier of this extensiontype
- the type of this extensionpublic ExtensionName(Path name, java.lang.Class<E> type, java.util.Map<java.lang.String,java.lang.Object> parameters)
name
- the unique identifier of this extensiontype
- the type of this extensionparameters
- all the parameters for this extension, can be null
public ExtensionName(Path name, java.lang.Class<E> type, java.lang.String parameterKey, java.lang.Object parameterValue)
name
- the unique identifier of this extensiontype
- the type of this extensionparameterKey
- the key of the only parameter of this ExtensionName
parameterValue
- the value of the only parameter of this ExtensionName
public Path getName()
null
public java.lang.Class<E> getType()
null
public java.lang.Object get(java.lang.String parameter)
parameter
- the name of the parameternull
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object