Package org.neuroml.model
Class PulseGenerator
java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.Base
org.neuroml.model.Standalone
org.neuroml.model.PulseGenerator
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2
Generates a constant current pulse of a certain **amplitude** for a specified **duration** after a **delay.** Scaled by **weight,** if set
\n
:param delay: Delay before change in current. Current is zero prior to this.
:type delay: time
:param duration: Duration for holding current at amplitude. Current is zero after delay + duration.
:type duration: time
:param amplitude: Amplitude of current pulse
:type amplitude: current
Java class for PulseGenerator complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PulseGenerator"> <complexContent> <extension base="{http://www.neuroml.org/schema/neuroml2}Standalone"> <attribute name="delay" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity_time" /> <attribute name="duration" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity_time" /> <attribute name="amplitude" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity_current" /> </extension> </complexContent> </complexType>
-
Field Summary
Fields inherited from class org.neuroml.model.Standalone
annotation, metaid, notes, property
-
Constructor Summary
-
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) Gets the value of the amplitude property.getDelay()
Gets the value of the delay property.Gets the value of the duration property.void
setAmplitude
(String value) Sets the value of the amplitude property.void
Sets the value of the delay property.void
setDuration
(String value) Sets the value of the duration property.toString()
Methods inherited from class org.neuroml.model.Standalone
getAnnotation, getMetaid, getNotes, getProperty, setAnnotation, setMetaid, setNotes
-
Field Details
-
delay
-
duration
-
amplitude
-
-
Constructor Details
-
PulseGenerator
public PulseGenerator()
-
-
Method Details
-
getDelay
Gets the value of the delay property.- Returns:
- possible object is
String
-
setDelay
Sets the value of the delay property.- Parameters:
value
- allowed object isString
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
String
-
setDuration
Sets the value of the duration property.- Parameters:
value
- allowed object isString
-
getAmplitude
Gets the value of the amplitude property.- Returns:
- possible object is
String
-
setAmplitude
Sets the value of the amplitude property.- Parameters:
value
- allowed object isString
-
toString
- Overrides:
toString
in classStandalone
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
append
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
- Overrides:
append
in classStandalone
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFields
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
- Overrides:
appendFields
in classStandalone
-