neuroml.bio
Class NamedParameter

java.lang.Object
  extended by neuroml.bio.NamedParameter

public class NamedParameter
extends java.lang.Object

Definition of a value for a quantity and the associated groups of cables which have this value

Java class for NamedParameter complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="NamedParameter">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.String> group
           
protected  java.lang.String name
           
protected  double value
           
 
Constructor Summary
NamedParameter()
           
 
Method Summary
 java.util.List<java.lang.String> getGroup()
          Gets the value of the group property.
 java.lang.String getName()
          Gets the value of the name property.
 double getValue()
          Gets the value of the value property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setValue(double value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

group

protected java.util.List<java.lang.String> group

name

protected java.lang.String name

value

protected double value
Constructor Detail

NamedParameter

public NamedParameter()
Method Detail

getGroup

public java.util.List<java.lang.String> getGroup()
Gets the value of the group 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 group property.

For example, to add a new item, do as follows:

    getGroup().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getValue

public double getValue()
Gets the value of the value property.


setValue

public void setValue(double value)
Sets the value of the value property.



NeuroML API (v1.4)