|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object neuroml.network.Connection
public class Connection
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 |
---|
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()
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
public java.math.BigInteger getId()
BigInteger
public void setId(java.math.BigInteger value)
value
- allowed object is
BigInteger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |