import java.util.ArrayList;\r
import java.util.List;\r
\r
-import org.apache.log4j.Logger;\r
import org.eclipse.core.databinding.observable.list.WritableList;\r
import org.eclipse.jface.wizard.WizardPage;\r
import org.eclipse.swt.SWT;\r
* @version 1.0\r
*/\r
public class ChooseRelationWizardPage extends WizardPage {\r
- private static final Logger logger = Logger\r
- .getLogger(ChooseRelationWizardPage.class);\r
\r
private List<NameRelationshipType> relationTypes;\r
\r
\r
private boolean nameSelected;\r
\r
- private TaxonNameBase baseName;\r
- private TaxonNameBase relatedName; \r
- private TaxonNameBase fromName;\r
- private TaxonNameBase toName;\r
+ private TaxonNameBase<?, ?> baseName;\r
+ private TaxonNameBase<?, ?> relatedName; \r
+ private TaxonNameBase<?, ?> fromName;\r
+ private TaxonNameBase<?, ?> toName;\r
\r
private NameRelationshipType type;\r
\r
\r
private WritableList nameRelationsList;\r
\r
- public ChooseRelationWizardPage(TaxonNameBase name, WritableList nameRelationsList) {\r
+ public ChooseRelationWizardPage(TaxonNameBase<?, ?> name, WritableList nameRelationsList) {\r
super("");\r
\r
this.baseName = name;\r
\r
public class TemporaryNameRelationship extends NameRelationship {\r
\r
- private TaxonNameBase tempToName;\r
- private TaxonNameBase tempFromName;\r
- private NameRelationshipType tempType;\r
- private ReferenceBase tempCitation;\r
- private String tempCitationMicroReference;\r
- private String tempRuleConsidered;\r
+ /**\r
+ * \r
+ */\r
+ private static final long serialVersionUID = 1231912353305134080L;\r
\r
/**\r
* @param toName\r
* @param citationMicroReference\r
* @param ruleConsidered\r
*/\r
- protected TemporaryNameRelationship(TaxonNameBase toName,\r
- TaxonNameBase fromName, NameRelationshipType type,\r
- ReferenceBase citation, String citationMicroReference,\r
+ protected TemporaryNameRelationship(TaxonNameBase<?, ?> toName,\r
+ TaxonNameBase<?, ?> fromName, NameRelationshipType type,\r
+ ReferenceBase<?> citation, String citationMicroReference,\r
String ruleConsidered) {\r
super(toName, fromName, type, citation, citationMicroReference, ruleConsidered);\r
-// super(null, null, null, null, null, null);\r
-// \r
-// this.tempToName = toName;\r
-// this.tempFromName = fromName;\r
-// this.tempType = type;\r
-// this.tempCitation = citation;\r
-// this.tempCitationMicroReference = citationMicroReference;\r
-// this.tempRuleConsidered = ruleConsidered;\r
}\r
- \r
-// public TaxonNameBase getToName(){\r
-// return tempToName;\r
-// }\r
-// \r
-// public TaxonNameBase getFromName(){\r
-// return tempFromName;\r
-// }\r
-// \r
-// public String getRuleConsidered(){\r
-// return tempRuleConsidered;\r
-// }\r
}\r
}
\ No newline at end of file