Class ImmutableAnalyzedBasePair.Builder
- Enclosing class:
- ImmutableAnalyzedBasePair
ImmutableAnalyzedBasePair.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and TypeMethodDescriptionInitializes the value for thebasePairattribute.Initializes the value for thebphattribute.Initializes the value for thebrattribute.build()Builds a newImmutableAnalyzedBasePair.from(AnalyzedBasePair instance) Fill a builder with attribute values from the providedpl.poznan.put.structure.AnalyzedBasePairinstance.from(ClassifiedBasePair instance) Fill a builder with attribute values from the providedpl.poznan.put.structure.ClassifiedBasePairinstance.interactionType(InteractionType interactionType) Initializes the value for theinteractionTypeattribute.isRepresented(boolean isRepresented) Initializes the value for theisRepresentedattribute.leontisWesthof(LeontisWesthof leontisWesthof) Initializes the value for theleontisWesthofattribute.Initializes the value for thesaengerattribute.stackingTopology(StackingTopology stackingTopology) Initializes the value for thestackingTopologyattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedpl.poznan.put.structure.ClassifiedBasePairinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
from
Fill a builder with attribute values from the providedpl.poznan.put.structure.AnalyzedBasePairinstance.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
basePair
Initializes the value for thebasePairattribute.- Parameters:
basePair- The value for basePair- Returns:
thisbuilder for use in a chained invocation
-
interactionType
Initializes the value for theinteractionTypeattribute.If not set, this attribute will have a default value as returned by the initializer of
interactionType.- Parameters:
interactionType- The value for interactionType- Returns:
thisbuilder for use in a chained invocation
-
saenger
Initializes the value for thesaengerattribute.If not set, this attribute will have a default value as returned by the initializer of
saenger.- Parameters:
saenger- The value for saenger- Returns:
thisbuilder for use in a chained invocation
-
leontisWesthof
Initializes the value for theleontisWesthofattribute.If not set, this attribute will have a default value as returned by the initializer of
leontisWesthof.- Parameters:
leontisWesthof- The value for leontisWesthof- Returns:
thisbuilder for use in a chained invocation
-
bph
Initializes the value for thebphattribute.If not set, this attribute will have a default value as returned by the initializer of
bph.- Parameters:
bph- The value for bph- Returns:
thisbuilder for use in a chained invocation
-
br
Initializes the value for thebrattribute.If not set, this attribute will have a default value as returned by the initializer of
br.- Parameters:
br- The value for br- Returns:
thisbuilder for use in a chained invocation
-
stackingTopology
Initializes the value for thestackingTopologyattribute.If not set, this attribute will have a default value as returned by the initializer of
stackingTopology.- Parameters:
stackingTopology- The value for stackingTopology- Returns:
thisbuilder for use in a chained invocation
-
isRepresented
Initializes the value for theisRepresentedattribute.If not set, this attribute will have a default value as returned by the initializer of
isRepresented.- Parameters:
isRepresented- The value for isRepresented- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableAnalyzedBasePair.- Returns:
- An immutable instance of AnalyzedBasePair
- Throws:
IllegalStateException- if any required attributes are missing
-