neuroml.bio
Class Mechanism

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

public class Mechanism
extends java.lang.Object

Definition of placement of a single electrophysiological mechanism (e.g. channel mechanism) on a group of cables of a cell

Java class for Mechanism complex type.

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

 <complexType name="Mechanism">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="parameter" type="{http://morphml.org/biophysics/schema}NamedParameter" maxOccurs="unbounded" minOccurs="0"/>
         <element name="variableParameter" type="{http://morphml.org/biophysics/schema}VariableNamedParameter" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" use="required" type="{http://morphml.org/biophysics/schema}MechanismType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String name
           
protected  java.util.List<NamedParameter> parameter
           
protected  MechanismType type
           
protected  java.util.List<VariableNamedParameter> variableParameter
           
 
Constructor Summary
Mechanism()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<NamedParameter> getParameter()
          Gets the value of the parameter property.
 MechanismType getType()
          Gets the value of the type property.
 java.util.List<VariableNamedParameter> getVariableParameter()
          Gets the value of the variableParameter property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setType(MechanismType value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameter

protected java.util.List<NamedParameter> parameter

variableParameter

protected java.util.List<VariableNamedParameter> variableParameter

name

protected java.lang.String name

type

protected MechanismType type
Constructor Detail

Mechanism

public Mechanism()
Method Detail

getParameter

public java.util.List<NamedParameter> getParameter()
Gets the value of the parameter 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 parameter property.

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

    getParameter().add(newItem);
 

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


getVariableParameter

public java.util.List<VariableNamedParameter> getVariableParameter()
Gets the value of the variableParameter 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 variableParameter property.

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

    getVariableParameter().add(newItem);
 

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


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

getType

public MechanismType getType()
Gets the value of the type property.

Returns:
possible object is MechanismType

setType

public void setType(MechanismType value)
Sets the value of the type property.

Parameters:
value - allowed object is MechanismType


NeuroML API (v1.4)