+
+ /**
+ * creates a relationship between 2 names and adds this relationship object to the respective name relation sets
+ * @param toName
+ * @param fromName
+ * @param type
+ * @param ruleConsidered
+ */
+ protected HybridRelationship(BotanicalName hybridName, BotanicalName parentName, HybridRelationshipType type, String ruleConsidered) {
+ this(parentName, hybridName, type, null, null, ruleConsidered);
+ }
+
+ /**
+ * Constructor that adds immediately a relationship instance to both
+ * Creates a relationship between 2 names and adds this relationship object to the respective name relation sets
+ * @param toName
+ * @param fromName
+ * @param type
+ * @param citation
+ * @param citationMicroReference
+ * @param ruleConsidered
+ */
+ protected HybridRelationship(BotanicalName hybridName, BotanicalName parentName, HybridRelationshipType type, ReferenceBase citation, String citationMicroReference, String ruleConsidered) {
+ super(parentName, hybridName, type, citation, citationMicroReference);
+ this.setRuleConsidered(ruleConsidered);
+ }
+