public class Mapping extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static uk.ac.roslin.ensembl.model.MappingOnSourceComparator |
mappingOnSourceComparator |
static uk.ac.roslin.ensembl.model.MappingOnTargetComparator |
mappingOnTargetComparator |
protected Mapping |
reverseMapping |
protected MappableObject |
source |
protected Coordinate |
sourceCoordinates |
protected CoordinateSystem |
sourceCoordSystem |
protected MappableObject |
target |
protected Coordinate |
targetCoordinates |
protected CoordinateSystem |
targetCoordSystem |
Constructor and Description |
---|
Mapping() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addReverseMapping(Mapping originalMapping) |
boolean |
equals(Object mapping) |
Mapping |
getReverseMapping() |
MappableObject |
getSource() |
Coordinate |
getSourceCoordinates() |
String |
getSourceHashID() |
ObjectType |
getSourceType() |
MappableObject |
getTarget() |
Coordinate |
getTargetCoordinates() |
String |
getTargetHashID() |
ObjectType |
getTargetType() |
int |
hashCode() |
void |
setReverseMapping(Mapping reverseMapping) |
void |
setSource(MappableObject source) |
void |
setSourceCoordinates(Coordinate coord) |
void |
setSourceCoordinates(Integer start,
Integer end,
Coordinate.Strand strand)
Sets the source coordinate by creating a new Coordinate object form the given parameters.
|
void |
setSourceCoordinates(Integer start,
Integer end,
Integer strand)
Sets the source coordinate by creating a new Coordinate object form the given parameters.
|
void |
setTarget(MappableObject target) |
void |
setTargetCoordinates(Coordinate coord) |
void |
setTargetCoordinates(Integer start,
Integer end,
Coordinate.Strand strand)
Sets the target coordinate by creating a new Coordinate object form the given parameters.
|
void |
setTargetCoordinates(Integer start,
Integer end,
Integer strand)
Sets the target coordinate by creating a new Coordinate object form the given parameters.
|
protected MappableObject source
protected MappableObject target
protected Coordinate sourceCoordinates
protected Coordinate targetCoordinates
protected CoordinateSystem sourceCoordSystem
protected CoordinateSystem targetCoordSystem
protected Mapping reverseMapping
public static final uk.ac.roslin.ensembl.model.MappingOnSourceComparator mappingOnSourceComparator
public static final uk.ac.roslin.ensembl.model.MappingOnTargetComparator mappingOnTargetComparator
public Mapping()
public static boolean addReverseMapping(Mapping originalMapping)
public void setSource(MappableObject source)
public void setTarget(MappableObject target)
public MappableObject getSource()
public MappableObject getTarget()
public ObjectType getTargetType()
public ObjectType getSourceType()
public String getTargetHashID()
public String getSourceHashID()
public Coordinate getSourceCoordinates()
public Coordinate getTargetCoordinates()
public void setSourceCoordinates(Coordinate coord)
public void setTargetCoordinates(Coordinate coord)
public void setSourceCoordinates(Integer start, Integer end, Coordinate.Strand strand)
start
- end
- strand
- public void setSourceCoordinates(Integer start, Integer end, Integer strand)
start
- end
- strand
- public void setTargetCoordinates(Integer start, Integer end, Coordinate.Strand strand)
start
- end
- strand
- public void setTargetCoordinates(Integer start, Integer end, Integer strand)
start
- end
- strand
- public Mapping getReverseMapping()
public void setReverseMapping(Mapping reverseMapping)
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3