Class Cable

java.lang.Object
org.neuroml1.model.morph.Cable
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 Cable 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
Definition of a cable. A cable is a non-branching group of connected segments. A cable would be mapped to a section in a cable modelling based simulator such as NEURON

Java class for Cable complex type.

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

 <complexType name="Cable">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://morphml.org/metadata/schema}metadata"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="parent" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
       <attribute name="fractAlongParent" type="{http://morphml.org/metadata/schema}ZeroToOne" />
       <attribute name="fract_along_parent" type="{http://morphml.org/metadata/schema}ZeroToOne" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • notes

      protected String notes
    • properties

      protected Properties properties
    • annotation

      protected Annotation annotation
    • group

      protected List<String> group
    • id

      protected BigInteger id
    • name

      protected String name
    • parent

      protected BigInteger parent
    • fractAlongParent

      protected Double fractAlongParent
    • fractAlongParentAttribute

      protected Double fractAlongParentAttribute
  • Constructor Details

    • Cable

      public Cable()
  • Method Details

    • getNotes

      public String getNotes()
      Gets the value of the notes property.
      Returns:
      possible object is String
    • setNotes

      public void setNotes(String value)
      Sets the value of the notes property.
      Parameters:
      value - allowed object is String
    • 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
    • getAnnotation

      public Annotation getAnnotation()
      Gets the value of the annotation property.
      Returns:
      possible object is Annotation
    • setAnnotation

      public void setAnnotation(Annotation value)
      Sets the value of the annotation property.
      Parameters:
      value - allowed object is Annotation
    • getGroup

      public List<String> getGroup()
      Gets the value of the group 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 group property.

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

          getGroup().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

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

      public Double getFractAlongParent()
      Gets the value of the fractAlongParent property.
      Returns:
      possible object is Double
    • setFractAlongParent

      public void setFractAlongParent(Double value)
      Sets the value of the fractAlongParent property.
      Parameters:
      value - allowed object is Double
    • getFractAlongParentAttribute

      public Double getFractAlongParentAttribute()
      Gets the value of the fractAlongParentAttribute property.
      Returns:
      possible object is Double
    • setFractAlongParentAttribute

      public void setFractAlongParentAttribute(Double value)
      Sets the value of the fractAlongParentAttribute 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