From 5f7b148ad920544d00c95b04815c8e19217ce00d Mon Sep 17 00:00:00 2001 From: imilne Date: Fri, 15 Dec 2006 11:52:41 +0000 Subject: [PATCH] Checked in the document update handler interface and a concrete implementation of it (that contains empty methods). git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@314 be28352e-c001-0410-b1a7-c7978e42abec --- src/uk/ac/vamsas/objects/EmptyDocumentUpdater.java | 76 ++++++++++++++++++++ src/uk/ac/vamsas/objects/IDocumentUpdater.java | 76 ++++++++++++++++++++ 2 files changed, 152 insertions(+) create mode 100644 src/uk/ac/vamsas/objects/EmptyDocumentUpdater.java create mode 100644 src/uk/ac/vamsas/objects/IDocumentUpdater.java diff --git a/src/uk/ac/vamsas/objects/EmptyDocumentUpdater.java b/src/uk/ac/vamsas/objects/EmptyDocumentUpdater.java new file mode 100644 index 0000000..394ffd8 --- /dev/null +++ b/src/uk/ac/vamsas/objects/EmptyDocumentUpdater.java @@ -0,0 +1,76 @@ +package uk.ac.vamsas.objects; + +import uk.ac.vamsas.objects.core.*; + +public class EmptyDocumentUpdater implements IDocumentUpdater +{ + public void update(Alignment vobj) {} + + public void update(AlignmentAnnotation vobj) {} + + public void update(AlignmentSequence vobj) {} + + public void update(AlignmentSequenceAnnotation vobj) {} + + public void update(AnnotationElement vobj) {} + + public void update(AppData vobj) {} + + public void update(ApplicationData vobj) {} + + public void update(Common vobj) {} + + public void update(DataSet vobj) {} + + public void update(DataSetAnnotations vobj) {} + + public void update(DbRef vobj) {} + + public void update(Entry vobj) {} + + public void update(Glyph vobj) {} + + public void update(Input vobj) {} + + public void update(Instance vobj) {} + + public void update(Link vobj) {} + + public void update(LockFile vobj) {} + + public void update(Map vobj) {} + + public void update(MapList vobj) {} + + public void update(Mapping vobj) {} + + public void update(Newick vobj) {} + + public void update(Param vobj) {} + + public void update(Pos vobj) {} + + public void update(Property vobj) {} + + public void update(Provenance vobj) {} + + public void update(RangeAnnotation vobj) {} + + public void update(RangeType vobj) {} + + public void update(Score vobj) {} + + public void update(Seg vobj) {} + + public void update(Sequence vobj) {} + + public void update(SequenceType vobj) {} + + public void update(Tree vobj) {} + + public void update(User vobj) {} + + public void update(VAMSAS vobj) {} + + public void update(VamsasDocument vobj) {} +} \ No newline at end of file diff --git a/src/uk/ac/vamsas/objects/IDocumentUpdater.java b/src/uk/ac/vamsas/objects/IDocumentUpdater.java new file mode 100644 index 0000000..1ee0798 --- /dev/null +++ b/src/uk/ac/vamsas/objects/IDocumentUpdater.java @@ -0,0 +1,76 @@ +package uk.ac.vamsas.objects; + +import uk.ac.vamsas.objects.core.*; + +public interface IDocumentUpdater +{ + public void update(Alignment vobj); + + public void update(AlignmentAnnotation vobj); + + public void update(AlignmentSequence vobj); + + public void update(AlignmentSequenceAnnotation vobj); + + public void update(AnnotationElement vobj); + + public void update(AppData vobj); + + public void update(ApplicationData vobj); + + public void update(Common vobj); + + public void update(DataSet vobj); + + public void update(DataSetAnnotations vobj); + + public void update(DbRef vobj); + + public void update(Entry vobj); + + public void update(Glyph vobj); + + public void update(Input vobj); + + public void update(Instance vobj); + + public void update(Link vobj); + + public void update(LockFile vobj); + + public void update(Map vobj); + + public void update(MapList vobj); + + public void update(Mapping vobj); + + public void update(Newick vobj); + + public void update(Param vobj); + + public void update(Pos vobj); + + public void update(Property vobj); + + public void update(Provenance vobj); + + public void update(RangeAnnotation vobj); + + public void update(RangeType vobj); + + public void update(Score vobj); + + public void update(Seg vobj); + + public void update(Sequence vobj); + + public void update(SequenceType vobj); + + public void update(Tree vobj); + + public void update(User vobj); + + public void update(VAMSAS vobj); + + public void update(VamsasDocument vobj); +} \ No newline at end of file -- 1.7.10.2