Newer
Older
return pfield;
}
/**
* Return true if this looks like a single schema postgres
* database
* @return
*/
public boolean isSingleSchema()
{
return singleSchema;
}
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
/**
* Ensure exon featurelocs are in the correct order
*/
class LocationComarator implements Comparator
{
public int compare(Object o1, Object o2)
{
int loc1 = ((FeatureLoc)o1).getFmin().intValue();
int loc2 = ((FeatureLoc)o2).getFmin().intValue();
if(loc2 == loc1)
return 0;
int strand = ((FeatureLoc)o1).getStrand().intValue();
if(strand < 0)
{
if(loc2 > loc1)
return 1;
else
return -1;
}
else
{
if(loc2 > loc1)
return -1;
else
return 1;
}
}
}
class CvTermThread extends Thread
{
private GmodDAO dao;
CvTermThread(final GmodDAO dao)
{
this.dao = dao;
}
public void run()
{
getCvterms(dao);
public void setRange(Range range)
{
this.range = range;
}
public Hashtable getIdFeatureStore()
{
return idFeatureStore;
}
public boolean isLazyFeatureLoad()
{
return lazyFeatureLoad;
}
public void setLazyFeatureLoad(boolean lazyFeatureLoad)
{
this.lazyFeatureLoad = lazyFeatureLoad;
}
/**
* Set the types that define what entries are created. Each is given an
* entry name and the features within that entry.
* @param types
*/
public static void setTYPES(String[][][] types)
{
TYPES = types;
}
/**
* Get the types that define what entries are created.
* @return
*/
public static String[][][] getTYPES()
{
return TYPES;
}