Skip to content
Snippets Groups Projects
Commit d9cb031c authored by tjc's avatar tjc
Browse files

add lazy loading functions

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@7274 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 476059b9
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFStreamFeature.java,v 1.61 2007-10-25 19:24:25 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/io/GFFStreamFeature.java,v 1.62 2008-04-22 08:51:25 tjc Exp $
*/
package uk.ac.sanger.artemis.io;
......@@ -49,7 +49,7 @@ import uk.ac.sanger.artemis.util.StringVector;
* A StreamFeature that thinks it is a GFF feature.
*
* @author Kim Rutherford
* @version $Id: GFFStreamFeature.java,v 1.61 2007-10-25 19:24:25 tjc Exp $
* @version $Id: GFFStreamFeature.java,v 1.62 2008-04-22 08:51:25 tjc Exp $
**/
public class GFFStreamFeature extends SimpleDocumentFeature
......@@ -85,6 +85,8 @@ public class GFFStreamFeature extends SimpleDocumentFeature
private String gffSource;
/** duplication count */
private short duplicate = 0;
private boolean lazyLoaded = false;
private org.gmod.schema.sequence.Feature chadoLazyFeature;
/**
* Create a new GFFStreamFeature object. The feature should be added
......@@ -1206,5 +1208,26 @@ public class GFFStreamFeature extends SimpleDocumentFeature
{
this.gffSource = gffSource;
}
public boolean isLazyLoaded()
{
return lazyLoaded;
}
public void setLazyLoaded(boolean lazyLoaded)
{
this.lazyLoaded = lazyLoaded;
}
public org.gmod.schema.sequence.Feature getChadoLazyFeature()
{
return chadoLazyFeature;
}
public void setChadoLazyFeature(
org.gmod.schema.sequence.Feature chadoLazyFeature)
{
this.chadoLazyFeature = chadoLazyFeature;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment