Package org.neuroml.model
Class Population
java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.Base
org.neuroml.model.Standalone
org.neuroml.model.Population
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2
A population of components, with just one parameter for the **size,** i. e. number of components to create. Note: quite often this is used with type= **populationList** which means the size is determined by the number of **instance** s ( with **location** s ) in the list. The **size** attribute is still set, and there will be a validation error if this does not match the number in the list.
\n
:param size: Number of instances of this Component to create when the population is instantiated
:type size: none
Java class for Population complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Population"> <complexContent> <extension base="{http://www.neuroml.org/schema/neuroml2}Standalone"> <choice> <element name="layout" type="{http://www.neuroml.org/schema/neuroml2}Layout" minOccurs="0"/> <element name="instance" type="{http://www.neuroml.org/schema/neuroml2}Instance" maxOccurs="unbounded"/> </choice> <attribute name="component" use="required" type="{http://www.neuroml.org/schema/neuroml2}NmlId" /> <attribute name="size" type="{http://www.neuroml.org/schema/neuroml2}NonNegativeInteger" /> <attribute name="type" type="{http://www.neuroml.org/schema/neuroml2}populationTypes" /> <attribute name="extracellularProperties" type="{http://www.neuroml.org/schema/neuroml2}NmlId" /> <attribute name="neuroLexId" type="{http://www.neuroml.org/schema/neuroml2}NeuroLexId" /> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected Layout
protected String
protected Integer
protected PopulationTypes
Fields inherited from class org.neuroml.model.Standalone
annotation, metaid, notes, property
-
Constructor Summary
-
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) Gets the value of the component property.Gets the value of the extracellularProperties property.Gets the value of the instance property.Gets the value of the layout property.Gets the value of the neuroLexId property.getSize()
Gets the value of the size property.getType()
Gets the value of the type property.void
setComponent
(String value) Sets the value of the component property.void
setExtracellularProperties
(String value) Sets the value of the extracellularProperties property.void
Sets the value of the layout property.void
setNeuroLexId
(String value) Sets the value of the neuroLexId property.void
Sets the value of the size property.void
setType
(PopulationTypes value) Sets the value of the type property.toString()
Methods inherited from class org.neuroml.model.Standalone
getAnnotation, getMetaid, getNotes, getProperty, setAnnotation, setMetaid, setNotes
-
Field Details
-
layout
-
instance
-
component
-
size
-
type
-
extracellularProperties
-
neuroLexId
-
-
Constructor Details
-
Population
public Population()
-
-
Method Details
-
getLayout
Gets the value of the layout property.- Returns:
- possible object is
Layout
-
setLayout
Sets the value of the layout property.- Parameters:
value
- allowed object isLayout
-
getInstance
Gets the value of the instance 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 instance property.For example, to add a new item, do as follows:
getInstance().add(newItem);
Objects of the following type(s) are allowed in the list
Instance
-
getComponent
Gets the value of the component property.- Returns:
- possible object is
String
-
setComponent
Sets the value of the component property.- Parameters:
value
- allowed object isString
-
getSize
Gets the value of the size property.- Returns:
- possible object is
String
-
setSize
Sets the value of the size property.- Parameters:
value
- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
PopulationTypes
-
setType
Sets the value of the type property.- Parameters:
value
- allowed object isPopulationTypes
-
getExtracellularProperties
Gets the value of the extracellularProperties property.- Returns:
- possible object is
String
-
setExtracellularProperties
Sets the value of the extracellularProperties property.- Parameters:
value
- allowed object isString
-
getNeuroLexId
Gets the value of the neuroLexId property.- Returns:
- possible object is
String
-
setNeuroLexId
Sets the value of the neuroLexId property.- Parameters:
value
- allowed object isString
-
toString
- Overrides:
toString
in classStandalone
-
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
- Overrides:
append
in classStandalone
-
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
- Overrides:
appendFields
in classStandalone
-