}
+
public DBRefEntry(String source, String version, String accessionId)
{
this(source, version, accessionId, null);
this.map = map;
}
- public DBRefEntry(DBRefEntry entry)
+ public DBRefEntry(DBRefEntryI entry)
{
- this(
- (entry.source == null ? "" : new String(entry.source)),
- (entry.version == null ? "" : new String(entry.version)),
- (entry.accessionId == null ? "" : new String(entry.accessionId)),
- (entry.map == null ? null : new Mapping(entry.map)));
+ this((entry.getSource() == null ? "" : new String(entry.getSource())),
+ (entry.getVersion() == null ? "" : new String(
+ entry.getVersion())),
+ (entry.getAccessionId() == null ? "" : new String(
+ entry.getAccessionId())),
+ (entry.getMap() == null ? null : new Mapping(entry.getMap())));
}
@Override
return accessionId;
}
- /**
- * @param accessionId
- * the accessionId to set
- */
+
@Override
public void setAccessionId(String accessionId)
{
this.accessionId = accessionId;
}
- /**
- * @param source
- * the source to set
- */
+
@Override
public void setSource(String source)
{
this.source = source;
}
- /**
- * @param version
- * the version to set
- */
+
@Override
public void setVersion(String version)
{
this.version = version;
}
- /**
- * @return the map
- */
+
+ @Override
public Mapping getMap()
{
return map;
return getSrcAccString();
}
+ @Override
public int getStartRes()
{
return startRes;
}
+ @Override
public void setStartRes(int startRes)
{
this.startRes = startRes;
}
+ @Override
public int getEndRes()
{
return endRes;
}
+ @Override
public void setEndRes(int endRes)
{
this.endRes = endRes;