M
- the type of data model that was readpublic class DataModelReadInfo<M extends DataModel> extends Object
This information includes the new model as well as information about alignments and sequences its data is possibly associated with.
Constructor and Description |
---|
DataModelReadInfo(M dataModel)
Creates a new instance of this class with associated aligmment model.
|
DataModelReadInfo(M dataModel,
AlignmentModel<?> alignmentModel)
Creates a new instance of this class with no sequence ID.
|
DataModelReadInfo(M dataModel,
AlignmentModel<?> alignmentModel,
String sequenceID)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
AlignmentModel<?> |
getAlignmentModel() |
M |
getDataModel() |
String |
getSequenceID() |
public DataModelReadInfo(M dataModel, AlignmentModel<?> alignmentModel, String sequenceID)
dataModel
- the data model that was readalignmentModel
- the alignment model the read data is associated with (Can be null
.)sequenceID
- the ID of the sequence in the alignment model the read data is associated with
(Can be AlignmentModel#NO_SEQUENCE_FOUND
.)IllegalArgumentException
- if null
was specified as the alignment model, but still
a sequence ID (which is not null
) was specified.public DataModelReadInfo(M dataModel, AlignmentModel<?> alignmentModel)
dataModel
- the data model that was readalignmentModel
- the alignment model the read data is associated with (Can be null
.)IllegalArgumentException
- if null
was specified as the alignment model, but still
a sequence ID (which is not null
) was specified.public DataModelReadInfo(M dataModel)
dataModel
- the data model that was readIllegalArgumentException
- if null
was specified as the alignment model, but still
a sequence ID (which is not null
) was specified.public M getDataModel()
public AlignmentModel<?> getAlignmentModel()
public String getSequenceID()