org.intermine.bio.postprocess
Class CalculateLocations.SimpleLoc

java.lang.Object
  extended by org.intermine.bio.postprocess.CalculateLocations.SimpleLoc
Enclosing class:
CalculateLocations

protected class CalculateLocations.SimpleLoc
extends java.lang.Object

Lightweight representation of a Location for easier manipulation and storing in maps.


Constructor Summary
CalculateLocations.SimpleLoc(int parentId, int childId, int start, int end, java.lang.String strand)
          Construct with integer values
CalculateLocations.SimpleLoc(int parentId, int childId, org.intermine.model.bio.Location loc)
          Construct with integer values for object and subject and a Location object
 
Method Summary
 int getChildId()
          Get childId value
 int getEnd()
          Get start value
 int getParentId()
          Get parentId value
 int getStart()
          Get start value
 java.lang.String getStrand()
          Get strand value
 void setEnd(int end)
          Set end value
 void setStart(int start)
          Set start value
 void setStrand(java.lang.String strand)
          Set strand value
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalculateLocations.SimpleLoc

public CalculateLocations.SimpleLoc(int parentId,
                                    int childId,
                                    int start,
                                    int end,
                                    java.lang.String strand)
Construct with integer values

Parameters:
parentId - id of object
childId - id of subject
start - start value
end - end value
strand - strand value

CalculateLocations.SimpleLoc

public CalculateLocations.SimpleLoc(int parentId,
                                    int childId,
                                    org.intermine.model.bio.Location loc)
Construct with integer values for object and subject and a Location object

Parameters:
parentId - id of object
childId - id of subject
loc - description of location
Method Detail

getStart

public int getStart()
Get start value

Returns:
start value

setStart

public void setStart(int start)
Set start value

Parameters:
start - value

getParentId

public int getParentId()
Get parentId value

Returns:
parentId value

getChildId

public int getChildId()
Get childId value

Returns:
childId value

getEnd

public int getEnd()
Get start value

Returns:
start value

setEnd

public void setEnd(int end)
Set end value

Parameters:
end - value

getStrand

public java.lang.String getStrand()
Get strand value

Returns:
strand value

setStrand

public void setStrand(java.lang.String strand)
Set strand value

Parameters:
strand - value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
String representation of location object
See Also:
Object.toString()