Package picard.sam.util
Class PhysicalLocationInt
- java.lang.Object
-
- picard.sam.util.PhysicalLocationInt
-
- All Implemented Interfaces:
Serializable
,PhysicalLocation
- Direct Known Subclasses:
PhysicalLocationShort
public class PhysicalLocationInt extends Object implements PhysicalLocation
Small class that provides access to the physical location information about a cluster. All values should be defaulted to -1 if unavailable. Tile should only allow non-zero positive integers, x and y coordinates must be non-negative. This is different from PhysicalLocationShort in that the x and y positions are ints, not shorts thus, they do not overflow within a HiSeqX tile.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description short
tile
int
x
int
y
-
Fields inherited from interface picard.sam.util.PhysicalLocation
NO_VALUE
-
-
Constructor Summary
Constructors Constructor Description PhysicalLocationInt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getLibraryId()
short
getReadGroup()
short
getTile()
int
getX()
int
getY()
void
setLibraryId(short libraryId)
void
setReadGroup(short readGroup)
void
setTile(short tile)
void
setX(int x)
void
setY(int y)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface picard.sam.util.PhysicalLocation
hasLocation
-
-
-
-
Method Detail
-
getReadGroup
public short getReadGroup()
- Specified by:
getReadGroup
in interfacePhysicalLocation
-
setReadGroup
public void setReadGroup(short readGroup)
- Specified by:
setReadGroup
in interfacePhysicalLocation
-
getTile
public short getTile()
- Specified by:
getTile
in interfacePhysicalLocation
-
setTile
public void setTile(short tile)
- Specified by:
setTile
in interfacePhysicalLocation
-
getX
public int getX()
- Specified by:
getX
in interfacePhysicalLocation
-
setX
public void setX(int x)
- Specified by:
setX
in interfacePhysicalLocation
-
getY
public int getY()
- Specified by:
getY
in interfacePhysicalLocation
-
setY
public void setY(int y)
- Specified by:
setY
in interfacePhysicalLocation
-
getLibraryId
public short getLibraryId()
- Specified by:
getLibraryId
in interfacePhysicalLocation
-
setLibraryId
public void setLibraryId(short libraryId)
- Specified by:
setLibraryId
in interfacePhysicalLocation
-
-