Class Population

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2

public class Population extends Standalone implements 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 Details

    • layout

      protected Layout layout
    • instance

      protected List<Instance> instance
    • component

      protected String component
    • size

      protected Integer size
    • type

      protected PopulationTypes type
    • extracellularProperties

      protected String extracellularProperties
    • neuroLexId

      protected String neuroLexId
  • Constructor Details

    • Population

      public Population()
  • Method Details

    • getLayout

      public Layout getLayout()
      Gets the value of the layout property.
      Returns:
      possible object is Layout
    • setLayout

      public void setLayout(Layout value)
      Sets the value of the layout property.
      Parameters:
      value - allowed object is Layout
    • getInstance

      public List<Instance> 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

      public String getComponent()
      Gets the value of the component property.
      Returns:
      possible object is String
    • setComponent

      public void setComponent(String value)
      Sets the value of the component property.
      Parameters:
      value - allowed object is String
    • getSize

      public Integer getSize()
      Gets the value of the size property.
      Returns:
      possible object is String
    • setSize

      public void setSize(Integer value)
      Sets the value of the size property.
      Parameters:
      value - allowed object is String
    • getType

      public PopulationTypes getType()
      Gets the value of the type property.
      Returns:
      possible object is PopulationTypes
    • setType

      public void setType(PopulationTypes value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is PopulationTypes
    • getExtracellularProperties

      public String getExtracellularProperties()
      Gets the value of the extracellularProperties property.
      Returns:
      possible object is String
    • setExtracellularProperties

      public void setExtracellularProperties(String value)
      Sets the value of the extracellularProperties property.
      Parameters:
      value - allowed object is String
    • getNeuroLexId

      public String getNeuroLexId()
      Gets the value of the neuroLexId property.
      Returns:
      possible object is String
    • setNeuroLexId

      public void setNeuroLexId(String value)
      Sets the value of the neuroLexId property.
      Parameters:
      value - allowed object is String
    • toString

      public String toString()
      Overrides:
      toString in class Standalone
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class Standalone
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class Standalone