public final class VDJCLibraryId extends Object implements Comparable<VDJCLibraryId>
| Constructor and Description |
|---|
VDJCLibraryId(String libraryName,
long taxonId)
Creates VDJCLibraryId from taxonId and library name
|
VDJCLibraryId(String libraryName,
long taxonId,
byte[] checksum)
Creates VDJCLibraryId from taxonId, library name and checksum
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(VDJCLibraryId o) |
static VDJCLibraryId |
decode(String str)
Return VDJCLibraryId object from string representation returned by
toString(). |
boolean |
equals(Object o) |
byte[] |
getChecksum()
Return checksum
|
String |
getLibraryName()
Library name
|
long |
getTaxonId()
Taxon id
|
int |
hashCode() |
boolean |
requireChecksumCheck()
Returns whether this id also contain checksum information
|
VDJCLibraryId |
setLibraryName(String newLibraryName)
Return new instance of VDJCLibraryId with different library name
|
String |
toString() |
VDJCLibraryId |
withoutChecksum()
Returns copy of this VDJCLibraryId with checksum set to null
|
public VDJCLibraryId(String libraryName, long taxonId)
libraryName - library nametaxonId - taxon idpublic VDJCLibraryId(String libraryName, long taxonId, byte[] checksum)
libraryName - library nametaxonId - taxon idchecksum - checksumpublic long getTaxonId()
public String getLibraryName()
public byte[] getChecksum()
public VDJCLibraryId withoutChecksum()
public boolean requireChecksumCheck()
public VDJCLibraryId setLibraryName(String newLibraryName)
newLibraryName - new library namepublic int compareTo(VDJCLibraryId o)
compareTo in interface Comparable<VDJCLibraryId>public static VDJCLibraryId decode(String str)
toString().
Format:
libraryName:taxonId[:checksum]str - string representationIllegalArgumentException - if string has wrong formatCopyright © 2017. All rights reserved.