/src/org/morphml/networkml/schema/Projection.java

https://github.com/nathanjordan/NeuroTranslate · Java · 389 lines · 119 code · 29 blank · 241 comment · 4 complexity · 7bcc7b3e74a564ad5719b5528b450d63 MD5 · raw file

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10
  3. // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2011.09.13 at 04:28:34 PM PDT
  6. //
  7. package org.morphml.networkml.schema;
  8. import java.util.ArrayList;
  9. import java.util.List;
  10. import javax.xml.bind.annotation.XmlAccessType;
  11. import javax.xml.bind.annotation.XmlAccessorType;
  12. import javax.xml.bind.annotation.XmlAttribute;
  13. import javax.xml.bind.annotation.XmlElement;
  14. import javax.xml.bind.annotation.XmlType;
  15. import org.morphml.metadata.schema.Annotation;
  16. import org.morphml.metadata.schema.Properties;
  17. /**
  18. * Description of how one cell population makes synaptic connections with another
  19. *
  20. * <p>Java class for Projection complex type.
  21. *
  22. * <p>The following schema fragment specifies the expected content contained within this class.
  23. *
  24. * <pre>
  25. * &lt;complexType name="Projection">
  26. * &lt;complexContent>
  27. * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  28. * &lt;sequence>
  29. * &lt;group ref="{http://morphml.org/metadata/schema}metadata"/>
  30. * &lt;element name="source" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  31. * &lt;element name="target" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  32. * &lt;element name="synapse_props" type="{http://morphml.org/networkml/schema}GlobalSynapticProperties" maxOccurs="unbounded"/>
  33. * &lt;choice>
  34. * &lt;element name="connections" type="{http://morphml.org/networkml/schema}Connections"/>
  35. * &lt;element name="connectivity_pattern" type="{http://morphml.org/networkml/schema}ConnectivityPattern"/>
  36. * &lt;/choice>
  37. * &lt;/sequence>
  38. * &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
  39. * &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
  40. * &lt;attribute name="target" type="{http://www.w3.org/2001/XMLSchema}string" />
  41. * &lt;/restriction>
  42. * &lt;/complexContent>
  43. * &lt;/complexType>
  44. * </pre>
  45. *
  46. *
  47. */
  48. @XmlAccessorType(XmlAccessType.FIELD)
  49. @XmlType(name = "Projection", propOrder = {
  50. "notes",
  51. "properties",
  52. "annotation",
  53. "groups",
  54. "projectionSource",
  55. "projectionTarget",
  56. "synapseProps",
  57. "connectivityPattern",
  58. "connections"
  59. })
  60. public class Projection {
  61. @XmlElement(namespace = "http://morphml.org/metadata/schema")
  62. protected String notes;
  63. @XmlElement(namespace = "http://morphml.org/metadata/schema")
  64. protected Properties properties;
  65. @XmlElement(namespace = "http://morphml.org/metadata/schema")
  66. protected Annotation annotation;
  67. @XmlElement(name = "group", namespace = "http://morphml.org/metadata/schema")
  68. protected List<String> groups;
  69. @XmlElement(name = "source")
  70. protected String projectionSource;
  71. @XmlElement(name = "target")
  72. protected String projectionTarget;
  73. @XmlElement(name = "synapse_props", required = true)
  74. protected List<GlobalSynapticProperties> synapseProps;
  75. @XmlElement(name = "connectivity_pattern")
  76. protected ConnectivityPattern connectivityPattern;
  77. protected Connections connections;
  78. @XmlAttribute(required = true)
  79. protected String name;
  80. @XmlAttribute
  81. protected String source;
  82. @XmlAttribute
  83. protected String target;
  84. /**
  85. * Gets the value of the notes property.
  86. *
  87. * @return
  88. * possible object is
  89. * {@link String }
  90. *
  91. */
  92. public String getNotes() {
  93. return notes;
  94. }
  95. /**
  96. * Sets the value of the notes property.
  97. *
  98. * @param value
  99. * allowed object is
  100. * {@link String }
  101. *
  102. */
  103. public void setNotes(String value) {
  104. this.notes = value;
  105. }
  106. /**
  107. * Gets the value of the properties property.
  108. *
  109. * @return
  110. * possible object is
  111. * {@link Properties }
  112. *
  113. */
  114. public Properties getProperties() {
  115. return properties;
  116. }
  117. /**
  118. * Sets the value of the properties property.
  119. *
  120. * @param value
  121. * allowed object is
  122. * {@link Properties }
  123. *
  124. */
  125. public void setProperties(Properties value) {
  126. this.properties = value;
  127. }
  128. /**
  129. * Gets the value of the annotation property.
  130. *
  131. * @return
  132. * possible object is
  133. * {@link Annotation }
  134. *
  135. */
  136. public Annotation getAnnotation() {
  137. return annotation;
  138. }
  139. /**
  140. * Sets the value of the annotation property.
  141. *
  142. * @param value
  143. * allowed object is
  144. * {@link Annotation }
  145. *
  146. */
  147. public void setAnnotation(Annotation value) {
  148. this.annotation = value;
  149. }
  150. /**
  151. * Gets the value of the groups property.
  152. *
  153. * <p>
  154. * This accessor method returns a reference to the live list,
  155. * not a snapshot. Therefore any modification you make to the
  156. * returned list will be present inside the JAXB object.
  157. * This is why there is not a <CODE>set</CODE> method for the groups property.
  158. *
  159. * <p>
  160. * For example, to add a new item, do as follows:
  161. * <pre>
  162. * getGroups().add(newItem);
  163. * </pre>
  164. *
  165. *
  166. * <p>
  167. * Objects of the following type(s) are allowed in the list
  168. * {@link String }
  169. *
  170. *
  171. */
  172. public List<String> getGroups() {
  173. if (groups == null) {
  174. groups = new ArrayList<String>();
  175. }
  176. return this.groups;
  177. }
  178. /**
  179. * Gets the value of the projectionSource property.
  180. *
  181. * @return
  182. * possible object is
  183. * {@link String }
  184. *
  185. */
  186. public String getProjectionSource() {
  187. return projectionSource;
  188. }
  189. /**
  190. * Sets the value of the projectionSource property.
  191. *
  192. * @param value
  193. * allowed object is
  194. * {@link String }
  195. *
  196. */
  197. public void setProjectionSource(String value) {
  198. this.projectionSource = value;
  199. }
  200. /**
  201. * Gets the value of the projectionTarget property.
  202. *
  203. * @return
  204. * possible object is
  205. * {@link String }
  206. *
  207. */
  208. public String getProjectionTarget() {
  209. return projectionTarget;
  210. }
  211. /**
  212. * Sets the value of the projectionTarget property.
  213. *
  214. * @param value
  215. * allowed object is
  216. * {@link String }
  217. *
  218. */
  219. public void setProjectionTarget(String value) {
  220. this.projectionTarget = value;
  221. }
  222. /**
  223. * Gets the value of the synapseProps property.
  224. *
  225. * <p>
  226. * This accessor method returns a reference to the live list,
  227. * not a snapshot. Therefore any modification you make to the
  228. * returned list will be present inside the JAXB object.
  229. * This is why there is not a <CODE>set</CODE> method for the synapseProps property.
  230. *
  231. * <p>
  232. * For example, to add a new item, do as follows:
  233. * <pre>
  234. * getSynapseProps().add(newItem);
  235. * </pre>
  236. *
  237. *
  238. * <p>
  239. * Objects of the following type(s) are allowed in the list
  240. * {@link GlobalSynapticProperties }
  241. *
  242. *
  243. */
  244. public List<GlobalSynapticProperties> getSynapseProps() {
  245. if (synapseProps == null) {
  246. synapseProps = new ArrayList<GlobalSynapticProperties>();
  247. }
  248. return this.synapseProps;
  249. }
  250. /**
  251. * Gets the value of the connectivityPattern property.
  252. *
  253. * @return
  254. * possible object is
  255. * {@link ConnectivityPattern }
  256. *
  257. */
  258. public ConnectivityPattern getConnectivityPattern() {
  259. return connectivityPattern;
  260. }
  261. /**
  262. * Sets the value of the connectivityPattern property.
  263. *
  264. * @param value
  265. * allowed object is
  266. * {@link ConnectivityPattern }
  267. *
  268. */
  269. public void setConnectivityPattern(ConnectivityPattern value) {
  270. this.connectivityPattern = value;
  271. }
  272. /**
  273. * Gets the value of the connections property.
  274. *
  275. * @return
  276. * possible object is
  277. * {@link Connections }
  278. *
  279. */
  280. public Connections getConnections() {
  281. return connections;
  282. }
  283. /**
  284. * Sets the value of the connections property.
  285. *
  286. * @param value
  287. * allowed object is
  288. * {@link Connections }
  289. *
  290. */
  291. public void setConnections(Connections value) {
  292. this.connections = value;
  293. }
  294. /**
  295. * Gets the value of the name property.
  296. *
  297. * @return
  298. * possible object is
  299. * {@link String }
  300. *
  301. */
  302. public String getName() {
  303. return name;
  304. }
  305. /**
  306. * Sets the value of the name property.
  307. *
  308. * @param value
  309. * allowed object is
  310. * {@link String }
  311. *
  312. */
  313. public void setName(String value) {
  314. this.name = value;
  315. }
  316. /**
  317. * Gets the value of the source property.
  318. *
  319. * @return
  320. * possible object is
  321. * {@link String }
  322. *
  323. */
  324. public String getSource() {
  325. return source;
  326. }
  327. /**
  328. * Sets the value of the source property.
  329. *
  330. * @param value
  331. * allowed object is
  332. * {@link String }
  333. *
  334. */
  335. public void setSource(String value) {
  336. this.source = value;
  337. }
  338. /**
  339. * Gets the value of the target property.
  340. *
  341. * @return
  342. * possible object is
  343. * {@link String }
  344. *
  345. */
  346. public String getTarget() {
  347. return target;
  348. }
  349. /**
  350. * Sets the value of the target property.
  351. *
  352. * @param value
  353. * allowed object is
  354. * {@link String }
  355. *
  356. */
  357. public void setTarget(String value) {
  358. this.target = value;
  359. }
  360. }