public class BasicParameterType<T> extends java.lang.Object implements ParameterType<T>
Constructor and Description |
---|
BasicParameterType() |
BasicParameterType(java.util.Map<?,?> arguments) |
BasicParameterType(java.lang.String name,
java.lang.Class<T> type) |
BasicParameterType(java.lang.String name,
java.lang.Class<T> type,
java.lang.String description) |
BasicParameterType(java.lang.String name,
java.lang.Class<T> type,
java.lang.String description,
T defaultValue) |
BasicParameterType(java.lang.String name,
java.lang.Class<T> type,
java.lang.String description,
T defaultValue,
boolean hasDefaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
T |
getDefaultValue() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.Class<T> |
getParameterClass() |
java.lang.String |
getParameterClassName()
The canonical name of the parameter class; especially useful if the class
cannot be resolved after deserialization.
|
boolean |
hasDefaultValue() |
int |
hashCode() |
java.lang.String |
toString() |
public BasicParameterType()
public BasicParameterType(java.util.Map<?,?> arguments)
public BasicParameterType(java.lang.String name, java.lang.Class<T> type)
public BasicParameterType(java.lang.String name, java.lang.Class<T> type, java.lang.String description)
public BasicParameterType(java.lang.String name, java.lang.Class<T> type, java.lang.String description, T defaultValue)
public java.lang.String getName()
getName
in interface ParameterType<T>
public java.lang.Class<T> getParameterClass()
getParameterClass
in interface ParameterType<T>
public java.lang.String getParameterClassName()
ParameterType
getParameterClassName
in interface ParameterType<T>
public java.lang.String getDescription()
getDescription
in interface ParameterType<T>
public T getDefaultValue()
getDefaultValue
in interface ParameterType<T>
public boolean hasDefaultValue()
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