java.lang.Object
com.genologics.ri.configuration.FieldDynamicPresetDetails
- All Implemented Interfaces:
Locatable,Serializable
The representation of a list of field dynamic UDF preset.
Illumina have said that this class is not actually released, and there's nothing in Clarity that uses it.
- Since:
- 2.34
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<FieldDynamicPreset>The list of field dynamic presets.protected URIThe URI of this preset details resource. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for creating an empty FieldDynamicPresetDetails object.FieldDynamicPresetDetails(String... presets) Constructor for creating a FieldDynamicPresetDetails with preset value strings.Constructor for creating a FieldDynamicPresetDetails with a URI.FieldDynamicPresetDetails(URI uri, String... presets) Constructor for creating a FieldDynamicPresetDetails with a URI and preset value strings.FieldDynamicPresetDetails(URI uri, Collection<String> presets) Constructor for creating a FieldDynamicPresetDetails with a URI and preset values.FieldDynamicPresetDetails(Collection<String> presets) Constructor for creating a FieldDynamicPresetDetails with preset values. -
Method Summary
Modifier and TypeMethodDescriptionaddPreset(FieldDynamicPreset preset) Adds a preset to the list.Adds a preset value to the list, creating a new FieldDynamicPreset.Gets the list of field dynamic presets.getUri()Gets the URI of this preset details resource.booleanisEmpty()Checks if the preset list is empty.voidsetPresets(String... newPresets) Sets the presets from an array of strings.voidsetPresets(Collection<String> newPresets) Sets the presets from a collection of strings.voidSets the URI of this preset details resource.toString()Returns the string representation of this object, which is the URI as a string.
-
Field Details
-
presets
The list of field dynamic presets. -
uri
The URI of this preset details resource.
-
-
Constructor Details
-
FieldDynamicPresetDetails
public FieldDynamicPresetDetails()Constructor for creating an empty FieldDynamicPresetDetails object. -
FieldDynamicPresetDetails
Constructor for creating a FieldDynamicPresetDetails with a URI.- Parameters:
uri- The URI of the resource.
-
FieldDynamicPresetDetails
Constructor for creating a FieldDynamicPresetDetails with preset values.- Parameters:
presets- The collection of preset values.
-
FieldDynamicPresetDetails
Constructor for creating a FieldDynamicPresetDetails with a URI and preset values.- Parameters:
uri- The URI of the resource.presets- The collection of preset values.
-
FieldDynamicPresetDetails
Constructor for creating a FieldDynamicPresetDetails with preset value strings.- Parameters:
presets- The preset values.
-
FieldDynamicPresetDetails
Constructor for creating a FieldDynamicPresetDetails with a URI and preset value strings.- Parameters:
uri- The URI of the resource.presets- The preset values.
-
-
Method Details
-
getPresets
Gets the list of field dynamic presets. Creates a new list if one doesn't exist.- Returns:
- The list of presets.
-
addPreset
Adds a preset to the list.- Parameters:
preset- The preset to add.- Returns:
- The added preset, or null if the input was null.
-
addPreset
Adds a preset value to the list, creating a new FieldDynamicPreset.- Parameters:
preset- The preset value to add.- Returns:
- The created FieldDynamicPreset, or null if the input was null.
-
setPresets
Sets the presets from an array of strings.- Parameters:
newPresets- The array of preset values.
-
setPresets
Sets the presets from a collection of strings.- Parameters:
newPresets- The collection of preset values.
-
isEmpty
public boolean isEmpty()Checks if the preset list is empty.- Returns:
trueif the list is null or empty,falseotherwise.
-
getUri
Gets the URI of this preset details resource. -
setUri
Sets the URI of this preset details resource. -
toString
Returns the string representation of this object, which is the URI as a string.
-