Package org.neuroml.model
Class SpikeArray
java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.Base
org.neuroml.model.Standalone
org.neuroml.model.SpikeArray
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2
Set of spike ComponentTypes, each emitting one spike at a certain time. Can be used to feed a predetermined spike train into a cell
Java class for SpikeArray complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SpikeArray">
<complexContent>
<extension base="{http://www.neuroml.org/schema/neuroml2}Standalone">
<sequence>
<element name="spike" type="{http://www.neuroml.org/schema/neuroml2}Spike" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class org.neuroml.model.Standalone
annotation, metaid, notes, property -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) getSpike()Gets the value of the spike property.toString()Methods inherited from class org.neuroml.model.Standalone
getAnnotation, getMetaid, getNotes, getProperty, setAnnotation, setMetaid, setNotes
-
Field Details
-
spike
-
-
Constructor Details
-
SpikeArray
public SpikeArray()
-
-
Method Details
-
getSpike
Gets the value of the spike property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the spike property.For example, to add a new item, do as follows:
getSpike().add(newItem);Objects of the following type(s) are allowed in the list
Spike -
toString
- Overrides:
toStringin classStandalone
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classStandalone
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classStandalone
-