Package picard.sam.util
Class PhysicalLocationInt
- java.lang.Object
-
- picard.sam.util.PhysicalLocationInt
-
- All Implemented Interfaces:
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.
-
-
Field Summary
Fields Modifier and Type Field Description shorttileintxinty-
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 shortgetLibraryId()shortgetReadGroup()shortgetTile()intgetX()intgetY()voidsetLibraryId(short libraryId)voidsetReadGroup(short readGroup)voidsetTile(short tile)voidsetX(int x)voidsetY(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:
getReadGroupin interfacePhysicalLocation
-
setReadGroup
public void setReadGroup(short readGroup)
- Specified by:
setReadGroupin interfacePhysicalLocation
-
getTile
public short getTile()
- Specified by:
getTilein interfacePhysicalLocation
-
setTile
public void setTile(short tile)
- Specified by:
setTilein interfacePhysicalLocation
-
getX
public int getX()
- Specified by:
getXin interfacePhysicalLocation
-
setX
public void setX(int x)
- Specified by:
setXin interfacePhysicalLocation
-
getY
public int getY()
- Specified by:
getYin interfacePhysicalLocation
-
setY
public void setY(int y)
- Specified by:
setYin interfacePhysicalLocation
-
getLibraryId
public short getLibraryId()
- Specified by:
getLibraryIdin interfacePhysicalLocation
-
setLibraryId
public void setLibraryId(short libraryId)
- Specified by:
setLibraryIdin interfacePhysicalLocation
-
-