{
String sref;
- public SeqFref(String _sref)
+ String type;
+
+ public SeqFref(String _sref, String type)
{
sref = _sref;
+ this.type = type;
}
public String getSref()
* @return true if the forward reference was fully resolved
*/
abstract boolean resolve();
+
+ @Override
+ public String toString()
+ {
+ return type + " reference to " + sref;
+ }
}
/**
public SeqFref newMappingRef(final String sref,
final jalview.datamodel.Mapping _jmap)
{
- SeqFref fref = new SeqFref(sref)
+ SeqFref fref = new SeqFref(sref, "Mapping")
{
public jalview.datamodel.Mapping jmap = _jmap;
final AlignedCodonFrame _cf, final jalview.datamodel.Mapping _jmap)
{
- SeqFref fref = new SeqFref(sref)
+ SeqFref fref = new SeqFref(sref, "Codon Frame")
{
AlignedCodonFrame cf = _cf;