{
super(sequenceId, "THISAPLACEHOLDER");
}
+
+ private boolean dummy = true;
+
+ /**
+ * become a proxy for mseq, merging any existing annotation on this sequence
+ *
+ * @param mseq
+ */
+ public void become(SequenceI mseq)
+ {
+ initSeqFrom(mseq, null);
+ dummy = false;
+ }
+
+ /**
+ * Test if the SequenceDummy has been promoted to a real sequence via
+ * SequenceDummy.become
+ *
+ * @return true if this is a placeholder and contains no actual sequence data
+ */
+ public boolean isDummy()
+ {
+ return dummy;
+ }
}