Package org.neuroml.model
Class SegmentParent
java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.SegmentParent
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
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) floatGets the value of the fractionAlong property.Gets the value of the segment property.voidsetFractionAlong(Float value) Sets the value of the fractionAlong property.voidsetSegment(Integer value) Sets the value of the segment property.toString()
-
Field Details
-
segment
-
fractionAlong
-
-
Constructor Details
-
SegmentParent
public SegmentParent()
-
-
Method Details
-
getSegment
Gets the value of the segment property.- Returns:
- possible object is
String
-
setSegment
Sets the value of the segment property.- Parameters:
value- allowed object isString
-
getFractionAlong
public float getFractionAlong()Gets the value of the fractionAlong property.- Returns:
- possible object is
Float
-
setFractionAlong
Sets the value of the fractionAlong property.- Parameters:
value- allowed object isFloat
-
toString
- Overrides:
toStringin classBaseWithoutId
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBaseWithoutId
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBaseWithoutId
-