public class ListParameterItemParameterAccess<T> extends Object implements JIPipeParameterAccess
ListParameter| Constructor and Description |
|---|
ListParameterItemParameterAccess(JIPipeParameterAccess parent,
List<T> entryList,
Class<T> entryType,
int index)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
<U> U |
get(Class<U> klass)
Gets the parameter value
|
<T extends Annotation> |
getAnnotationOfType(Class<T> klass)
Gets an annotation for this parameter
|
Collection<Annotation> |
getAnnotations()
Gets all available annotations for this parameter
|
<T extends Annotation> |
getAnnotationsOfType(Class<T> klass)
Gets annotations for this parameter (including the field class)
Please note that there is no guarantee that repeatable annotations are resolved properly.
|
String |
getDescription()
Returns a description
|
Class<?> |
getFieldClass()
Returns the parameter data type
|
String |
getKey()
Returns the unique ID of this parameter
|
String |
getName()
Returns the parameter name that is displayed to the user
|
double |
getPriority()
Returns the priority for (de)serializing this parameter.
|
String |
getShortKey()
Returns a short form of the ID used, for example to generate a parameter string.
|
JIPipeParameterCollection |
getSource()
Gets the object that holds the parameter
|
int |
getUIOrder()
Controls how the parameter is ordered within the user interface
|
boolean |
isHidden()
Returns if the parameter should be hidden from the user
|
boolean |
isImportant()
Returns true if the parameter should be marked in the UI as important
|
<U> boolean |
set(U value)
Sets the parameter value
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparePriority, getPersistence, isPinnedpublic ListParameterItemParameterAccess(JIPipeParameterAccess parent, List<T> entryList, Class<T> entryType, int index)
parent - the parent accessentryList - the listentryType - type of the contentindex - the list entry indexpublic String getKey()
JIPipeParameterAccessgetKey in interface JIPipeParameterAccesspublic String getName()
JIPipeParameterAccessgetName in interface JIPipeParameterAccesspublic String getDescription()
JIPipeParameterAccessgetDescription in interface JIPipeParameterAccesspublic boolean isHidden()
JIPipeParameterAccessisHidden in interface JIPipeParameterAccesspublic boolean isImportant()
JIPipeParameterAccessisImportant in interface JIPipeParameterAccesspublic <T extends Annotation> T getAnnotationOfType(Class<T> klass)
JIPipeParameterAccessgetAnnotationOfType in interface JIPipeParameterAccessT - Annotation typeklass - Annotation classpublic <T extends Annotation> List<T> getAnnotationsOfType(Class<T> klass)
JIPipeParameterAccessgetAnnotationsOfType in interface JIPipeParameterAccessT - the annotation classklass - the annotation classpublic Collection<Annotation> getAnnotations()
JIPipeParameterAccessgetAnnotations in interface JIPipeParameterAccesspublic Class<?> getFieldClass()
JIPipeParameterAccessgetFieldClass in interface JIPipeParameterAccesspublic <U> U get(Class<U> klass)
JIPipeParameterAccessget in interface JIPipeParameterAccessU - Parameter data typeklass - Parameter data typepublic <U> boolean set(U value)
JIPipeParameterAccessset in interface JIPipeParameterAccessU - Parameter data typevalue - Parameter valuepublic JIPipeParameterCollection getSource()
JIPipeParameterAccessgetSource in interface JIPipeParameterAccesspublic double getPriority()
JIPipeParameterAccessPrioritygetPriority in interface JIPipeParameterAccesspublic String getShortKey()
JIPipeParameterAccessgetShortKey in interface JIPipeParameterAccesspublic int getUIOrder()
JIPipeParameterAccessgetUIOrder in interface JIPipeParameterAccessCopyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.