Package org.neuroml.model
Class Segment
java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.BaseNonNegativeIntegerId
org.neuroml.model.Segment
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2
public class Segment
extends BaseNonNegativeIntegerId
implements org.jvnet.jaxb2_commons.lang.ToString2
A segment defines the smallest unit within a possibly branching structure ( **morphology** ), such as a dendrite or axon. Its **id** should be a nonnegative integer ( usually soma/root = 0 ). Its end points are given by the **proximal** and **distal** points. The **proximal** point can be omitted, usually because it is the same as a point on the **parent** segment, see **proximal** for details. **parent** specifies the parent segment. The first segment of a **cell** ( with no **parent** ) usually represents the soma. The shape is normally a cylinder ( radii of the **proximal** and **distal** equal, but positions different ) or a conical frustum ( radii and positions different ). If the x, y, x positions of the **proximal** and **distal** are equal, the segment can be interpreted as a sphere, and in this case the radii of these points must be equal. NOTE: LEMS does not yet support multicompartmental modelling, so the Dynamics here is only appropriate for single compartment modelling.
Java class for Segment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Segment"> <complexContent> <extension base="{http://www.neuroml.org/schema/neuroml2}BaseNonNegativeIntegerId"> <sequence> <element name="parent" type="{http://www.neuroml.org/schema/neuroml2}SegmentParent" minOccurs="0"/> <element name="proximal" type="{http://www.neuroml.org/schema/neuroml2}Point3DWithDiam" minOccurs="0"/> <element name="distal" type="{http://www.neuroml.org/schema/neuroml2}Point3DWithDiam"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="neuroLexId" type="{http://www.neuroml.org/schema/neuroml2}NeuroLexId" /> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Point3DWithDiam
protected String
protected String
protected SegmentParent
protected Point3DWithDiam
Fields inherited from class org.neuroml.model.BaseNonNegativeIntegerId
id
-
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 distal property.getName()
Gets the value of the name property.Gets the value of the neuroLexId property.Gets the value of the parent property.Gets the value of the proximal property.void
setDistal
(Point3DWithDiam value) Sets the value of the distal property.void
Sets the value of the name property.void
setNeuroLexId
(String value) Sets the value of the neuroLexId property.void
setParent
(SegmentParent value) Sets the value of the parent property.void
setProximal
(Point3DWithDiam value) Sets the value of the proximal property.toString()
Methods inherited from class org.neuroml.model.BaseNonNegativeIntegerId
getId, setId
-
Field Details
-
parent
-
proximal
-
distal
-
name
-
neuroLexId
-
-
Constructor Details
-
Segment
public Segment()
-
-
Method Details
-
getParent
Gets the value of the parent property.- Returns:
- possible object is
SegmentParent
-
setParent
Sets the value of the parent property.- Parameters:
value
- allowed object isSegmentParent
-
getProximal
Gets the value of the proximal property.- Returns:
- possible object is
Point3DWithDiam
-
setProximal
Sets the value of the proximal property.- Parameters:
value
- allowed object isPoint3DWithDiam
-
getDistal
Gets the value of the distal property.- Returns:
- possible object is
Point3DWithDiam
-
setDistal
Sets the value of the distal property.- Parameters:
value
- allowed object isPoint3DWithDiam
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getNeuroLexId
Gets the value of the neuroLexId property.- Returns:
- possible object is
String
-
setNeuroLexId
Sets the value of the neuroLexId property.- Parameters:
value
- allowed object isString
-
toString
- Overrides:
toString
in classBaseNonNegativeIntegerId
-
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 classBaseNonNegativeIntegerId
-
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 classBaseNonNegativeIntegerId
-