Class SegmentParent

java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.SegmentParent
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2

public class SegmentParent extends BaseWithoutId implements org.jvnet.jaxb2_commons.lang.ToString2

Java class for SegmentParent complex type.

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

 <complexType name="SegmentParent">
   <complexContent>
     <extension base="{http://www.neuroml.org/schema/neuroml2}BaseWithoutId">
       <attribute name="segment" use="required" type="{http://www.neuroml.org/schema/neuroml2}NonNegativeInteger" />
       <attribute name="fractionAlong" type="{http://www.neuroml.org/schema/neuroml2}ZeroToOne" default="1" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • segment

      protected Integer segment
    • fractionAlong

      protected Float fractionAlong
  • Constructor Details

    • SegmentParent

      public SegmentParent()
  • Method Details

    • getSegment

      public Integer getSegment()
      Gets the value of the segment property.
      Returns:
      possible object is String
    • setSegment

      public void setSegment(Integer value)
      Sets the value of the segment property.
      Parameters:
      value - allowed object is String
    • getFractionAlong

      public float getFractionAlong()
      Gets the value of the fractionAlong property.
      Returns:
      possible object is Float
    • setFractionAlong

      public void setFractionAlong(Float value)
      Sets the value of the fractionAlong property.
      Parameters:
      value - allowed object is Float
    • toString

      public String toString()
      Overrides:
      toString in class BaseWithoutId
    • 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
      Overrides:
      append in class BaseWithoutId
    • 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
      Overrides:
      appendFields in class BaseWithoutId