neuroml.network
Class Connection

java.lang.Object
  extended by neuroml.network.Connection

public class Connection
extends java.lang.Object

A network 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"/>
         <element name="post" type="{http://morphml.org/networkml/schema}SynapticLocation"/>
         <element name="properties" type="{http://morphml.org/networkml/schema}SynapseInternalProperties" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Connection.InternalProperties
           
 
Field Summary
protected  java.util.List<javax.xml.bind.JAXBElement<?>> content
           
protected  java.math.BigInteger id
           
 
Constructor Summary
Connection()
           
 
Method Summary
 java.util.List<javax.xml.bind.JAXBElement<?>> getContent()
          Gets the rest of the content model.
 java.math.BigInteger getId()
          Gets the value of the id property.
 void setId(java.math.BigInteger value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected java.util.List<javax.xml.bind.JAXBElement<?>> content

id

protected java.math.BigInteger id
Constructor Detail

Connection

public Connection()
Method Detail

getContent

public java.util.List<javax.xml.bind.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 354 of file:/repo/documents/code/workspace/neuroml-api/conf/Level3/NetworkML_v1.4.xsd line 241 of file:/repo/documents/code/workspace/neuroml-api/conf/Level1/Metadata_v1.4.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<Connection.InternalProperties> JAXBElement<Annotation> JAXBElement<SynapticLocation> JAXBElement<String> JAXBElement<String> JAXBElement<SynapticLocation> Connection.InternalProperties


getId

public java.math.BigInteger getId()
Gets the value of the id property.

Returns:
possible object is BigInteger

setId

public void setId(java.math.BigInteger value)
Sets the value of the id property.

Parameters:
value - allowed object is BigInteger


NeuroML API (v1.4)