{
this.id = pdbId;
this.chainCode = chain;
- this.type = type.toString();
+ this.type = type == null ? null : type.toString();
this.file = filePath;
}
return file;
}
+ public void setType(String t)
+ {
+ this.type = t;
+ }
public void setType(PDBEntry.Type type)
{
- this.type = type.toString();
+ this.type = type == null ? null : type.toString();
}
public String getType()