- this(cpy, cpy.getBegin(), cpy.getEnd(), cpy.getFeatureGroup());
-
- score = cpy.score;
- description = cpy.description;
- if (cpy.otherDetails != null)
- {
- try
- {
- otherDetails = (Map<String, Object>) ((HashMap<String, Object>) cpy.otherDetails)
- .clone();
- } catch (Exception e)
- {
- // ignore
- }
- }
- if (cpy.links != null && cpy.links.size() > 0)
- {
- links = new Vector<String>();
- for (int i = 0, iSize = cpy.links.size(); i < iSize; i++)
- {
- links.addElement(cpy.links.elementAt(i));
- }
- }
- }
-
- /**
- * Constructor including a Status value
- *
- * @param type
- * @param desc
- * @param status
- * @param begin
- * @param end
- * @param featureGroup
- */
- public SequenceFeature(String type, String desc, String status,
- int begin, int end, String featureGroup)
- {
- this(type, desc, begin, end, featureGroup);
- setStatus(status);
+ this(cpy, cpy.getBegin(), cpy.getEnd(), cpy.getFeatureGroup(), cpy
+ .getScore());