Class Segment

java.lang.Object
org.neuroml1.model.morph.Segment
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Segment extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Defines the smallest unit within a possibly branching structure, such as a segment of a dendrite or axon. The parent attribute is used to define connectivity. A segment would be mapped to a compartment in a compartmental modelling application such as GENESIS

Java class for Segment complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Segment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="proximal" type="{http://morphml.org/metadata/schema}Point" minOccurs="0"/>
         <element name="distal" type="{http://morphml.org/metadata/schema}Point"/>
         <element name="properties" type="{http://morphml.org/metadata/schema}Properties" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://morphml.org/metadata/schema}SegmentIdInCell" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="parent" type="{http://morphml.org/metadata/schema}SegmentIdInCell" />
       <attribute name="cable" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Segment

      public Segment()
  • Method Details

    • getProximal

      public Point getProximal()
      Gets the value of the proximal property.
      Returns:
      possible object is Point
    • setProximal

      public void setProximal(Point value)
      Sets the value of the proximal property.
      Parameters:
      value - allowed object is Point
    • getDistal

      public Point getDistal()
      Gets the value of the distal property.
      Returns:
      possible object is Point
    • setDistal

      public void setDistal(Point value)
      Sets the value of the distal property.
      Parameters:
      value - allowed object is Point
    • getProperties

      public Properties getProperties()
      Gets the value of the properties property.
      Returns:
      possible object is Properties
    • setProperties

      public void setProperties(Properties value)
      Sets the value of the properties property.
      Parameters:
      value - allowed object is Properties
    • getId

      public BigInteger getId()
      Gets the value of the id property.
      Returns:
      possible object is BigInteger
    • setId

      public void setId(BigInteger value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is BigInteger
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getParent

      public BigInteger getParent()
      Gets the value of the parent property.
      Returns:
      possible object is BigInteger
    • setParent

      public void setParent(BigInteger value)
      Sets the value of the parent property.
      Parameters:
      value - allowed object is BigInteger
    • getCable

      public BigInteger getCable()
      Gets the value of the cable property.
      Returns:
      possible object is BigInteger
    • setCable

      public void setCable(BigInteger value)
      Sets the value of the cable property.
      Parameters:
      value - allowed object is BigInteger
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
    • copyTo

      public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2