Strand

value class Strand(value: StrandType) : BlastField

-strand <String>

Permissible values:

  • both

  • minus

  • plus

Query strand(s) to search against database/subject

Default = both

Constructors

Link copied to clipboard
fun Strand(value: StrandType = StrandType.Both)

Functions

Link copied to clipboard
open override fun appendCliParts(cli: MutableList<String>)

Appends this field to the given MutableList only if it is not set to its default value.

Link copied to clipboard
open override fun appendCliSegment(cli: StringBuilder)

Appends this field to the given StringBuilder only if it is not set to its default value.

Link copied to clipboard
open override fun appendJson(js: ObjectNode)

Appends this field to the given JSON ObjectNode only if it is not set to its default value.

Link copied to clipboard
open fun toJson(): ObjectNode

Serializes this field into a JSON ObjectNode.

Properties

Link copied to clipboard
open override val isDefault: Boolean

Indicates whether the field is currently set to its default value.

Link copied to clipboard
open override val name: String

The name of this field.

Link copied to clipboard
val value: StrandType