Package org.neuroml1.model.morph
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 Summary
FieldsModifier and TypeFieldDescriptionprotected BigInteger
protected Point
protected BigInteger
protected String
protected BigInteger
protected Properties
protected Point
-
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) clone()
copyTo
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) boolean
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) getCable()
Gets the value of the cable property.Gets the value of the distal property.getId()
Gets the value of the id property.getName()
Gets the value of the name property.Gets the value of the parent property.Gets the value of the properties property.Gets the value of the proximal property.int
hashCode()
int
hashCode
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) void
setCable
(BigInteger value) Sets the value of the cable property.void
Sets the value of the distal property.void
setId
(BigInteger value) Sets the value of the id property.void
Sets the value of the name property.void
setParent
(BigInteger value) Sets the value of the parent property.void
setProperties
(Properties value) Sets the value of the properties property.void
setProximal
(Point value) Sets the value of the proximal property.toString()
-
Field Details
-
proximal
-
distal
-
properties
-
id
-
name
-
parent
-
cable
-
-
Constructor Details
-
Segment
public Segment()
-
-
Method Details
-
getProximal
Gets the value of the proximal property.- Returns:
- possible object is
Point
-
setProximal
Sets the value of the proximal property.- Parameters:
value
- allowed object isPoint
-
getDistal
Gets the value of the distal property.- Returns:
- possible object is
Point
-
setDistal
Sets the value of the distal property.- Parameters:
value
- allowed object isPoint
-
getProperties
Gets the value of the properties property.- Returns:
- possible object is
Properties
-
setProperties
Sets the value of the properties property.- Parameters:
value
- allowed object isProperties
-
getId
Gets the value of the id property.- Returns:
- possible object is
BigInteger
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isBigInteger
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getParent
Gets the value of the parent property.- Returns:
- possible object is
BigInteger
-
setParent
Sets the value of the parent property.- Parameters:
value
- allowed object isBigInteger
-
getCable
Gets the value of the cable property.- Returns:
- possible object is
BigInteger
-
setCable
Sets the value of the cable property.- Parameters:
value
- allowed object isBigInteger
-
toString
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
append
in interfaceorg.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 interfaceorg.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 interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode() -
clone
-
copyTo
- Specified by:
copyTo
in interfaceorg.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 interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-