Class Connection

java.lang.Object
org.neuroml1.model.network.Connection
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 Connection 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
A single synaptic connection

Java class for Connection complex type.

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

 <complexType name="Connection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://morphml.org/metadata/schema}metadata"/>
         <element name="pre" type="{http://morphml.org/networkml/schema}SynapticLocation" minOccurs="0"/>
         <element name="post" type="{http://morphml.org/networkml/schema}SynapticLocation" minOccurs="0"/>
         <element name="properties" type="{http://morphml.org/networkml/schema}LocalSynapticProperties" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="pre_cell_id" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="pre_segment_id" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
       <attribute name="pre_fraction_along" type="{http://morphml.org/metadata/schema}ZeroToOne" default="0.5" />
       <attribute name="post_cell_id" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="post_segment_id" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
       <attribute name="post_fraction_along" type="{http://morphml.org/metadata/schema}ZeroToOne" default="0.5" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Connection

      public Connection()
  • Method Details

    • getContent

      public List<JAXBElement<?>> getContent()
      Gets the rest of the content model.

      You are getting this "catch-all" property because of the following reason: The field name "Properties" is used by two different parts of a schema. See: line 695 of file:/home/runner/work/org.neuroml1.model/org.neuroml1.model/src/main/resources/NeuroML1Schemas/Level3/NetworkML_v1.8.1.xsd line 300 of file:/home/runner/work/org.neuroml1.model/org.neuroml1.model/src/main/resources/NeuroML1Schemas/Level1/Metadata_v1.8.1.xsd

      To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content 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 set method for the content property.

      For example, to add a new item, do as follows:

          getContent().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<String> JAXBElement<Properties> JAXBElement<Annotation> JAXBElement<String> JAXBElement<SynapticLocation> JAXBElement<SynapticLocation> Connection.InternalProperties

    • 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
    • getPreCellId

      public BigInteger getPreCellId()
      Gets the value of the preCellId property.
      Returns:
      possible object is BigInteger
    • setPreCellId

      public void setPreCellId(BigInteger value)
      Sets the value of the preCellId property.
      Parameters:
      value - allowed object is BigInteger
    • getPreSegmentId

      public BigInteger getPreSegmentId()
      Gets the value of the preSegmentId property.
      Returns:
      possible object is BigInteger
    • setPreSegmentId

      public void setPreSegmentId(BigInteger value)
      Sets the value of the preSegmentId property.
      Parameters:
      value - allowed object is BigInteger
    • getPreFractionAlong

      public double getPreFractionAlong()
      Gets the value of the preFractionAlong property.
      Returns:
      possible object is Double
    • setPreFractionAlong

      public void setPreFractionAlong(Double value)
      Sets the value of the preFractionAlong property.
      Parameters:
      value - allowed object is Double
    • getPostCellId

      public BigInteger getPostCellId()
      Gets the value of the postCellId property.
      Returns:
      possible object is BigInteger
    • setPostCellId

      public void setPostCellId(BigInteger value)
      Sets the value of the postCellId property.
      Parameters:
      value - allowed object is BigInteger
    • getPostSegmentId

      public BigInteger getPostSegmentId()
      Gets the value of the postSegmentId property.
      Returns:
      possible object is BigInteger
    • setPostSegmentId

      public void setPostSegmentId(BigInteger value)
      Sets the value of the postSegmentId property.
      Parameters:
      value - allowed object is BigInteger
    • getPostFractionAlong

      public double getPostFractionAlong()
      Gets the value of the postFractionAlong property.
      Returns:
      possible object is Double
    • setPostFractionAlong

      public void setPostFractionAlong(Double value)
      Sets the value of the postFractionAlong property.
      Parameters:
      value - allowed object is Double
    • 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