Class Connection

  extended by

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">
     <restriction base="{}anyType">
         <group ref="{}metadata"/>
         <element name="pre" type="{}SynapticLocation"/>
         <element name="post" type="{}SynapticLocation"/>
         <element name="properties" type="{}SynapseInternalProperties" minOccurs="0"/>
       <attribute name="id" use="required" type="{}integer" />

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


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


protected java.math.BigInteger id
Constructor Detail


public Connection()
Method Detail


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:


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


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

possible object is BigInteger


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

value - allowed object is BigInteger

NeuroML API (v1.4)