\r
import eu.etaxonomy.cdm.model.agent.AgentBase;\r
import eu.etaxonomy.cdm.model.common.EventBase;\r
-import eu.etaxonomy.cdm.model.common.MaterialAndMethod;\r
import eu.etaxonomy.cdm.model.common.TimePeriod;\r
import eu.etaxonomy.cdm.model.media.Media;\r
+import eu.etaxonomy.cdm.model.occurrence.MaterialOrMethodEvent;\r
\r
/**\r
* Instances of this the {@link SingleRead} class describe the process and the result of a single\r
"primer",\r
"direction",\r
"pherogram",\r
- "materialAndMethod"\r
+ "materialOrMethod"\r
})\r
@XmlRootElement(name = "Primer")\r
@Entity\r
)\r
private SequenceDirection direction;\r
\r
- @XmlElement(name = "MaterialAndMethod")\r
+ @XmlElement(name = "MaterialOrMethod")\r
@XmlIDREF\r
@XmlSchemaType(name = "IDREF")\r
@ManyToOne(fetch = FetchType.LAZY)\r
- private MaterialAndMethod materialAndMethod;\r
+ private MaterialOrMethodEvent materialOrMethod;\r
\r
\r
// ******************** FACTORY METHOD ******************/ \r
/**\r
* The material and/or method used for this sequencing.\r
*/\r
- public MaterialAndMethod getMaterialAndMethod() {\r
- return materialAndMethod;\r
+ public MaterialOrMethodEvent getMaterialOrMethod() {\r
+ return materialOrMethod;\r
}\r
\r
/**\r
- * @see #getMaterialAndMethod()\r
+ * @see #getMaterialOrMethod()\r
*/\r
- public void setMaterialAndMethod(MaterialAndMethod materialAndMethod) {\r
- this.materialAndMethod = materialAndMethod;\r
+ public void setMaterialOrMethod(MaterialOrMethodEvent materialOrMethod) {\r
+ this.materialOrMethod = materialOrMethod;\r
}\r
\r
\r