neuroml.channel
Class Gate

java.lang.Object
  extended by neuroml.channel.Gate

public class Gate
extends java.lang.Object

Definition of a single voltage/concentration dependent gate

Java class for Gate complex type.

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

 <complexType name="Gate">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="state" maxOccurs="2">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="fraction" type="{http://morphml.org/metadata/schema}ZeroToOne" default="1" />
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="power" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Gate.State
          Java class for anonymous complex type.
 
Field Summary
protected  java.math.BigInteger power
           
protected  java.util.List<Gate.State> state
           
 
Constructor Summary
Gate()
           
 
Method Summary
 java.math.BigInteger getPower()
          Gets the value of the power property.
 java.util.List<Gate.State> getState()
          Gets the value of the state property.
 void setPower(java.math.BigInteger value)
          Sets the value of the power property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

protected java.util.List<Gate.State> state

power

protected java.math.BigInteger power
Constructor Detail

Gate

public Gate()
Method Detail

getState

public java.util.List<Gate.State> getState()
Gets the value of the state 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 state property.

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

    getState().add(newItem);
 

Objects of the following type(s) are allowed in the list Gate.State


getPower

public java.math.BigInteger getPower()
Gets the value of the power property.

Returns:
possible object is BigInteger

setPower

public void setPower(java.math.BigInteger value)
Sets the value of the power property.

Parameters:
value - allowed object is BigInteger


NeuroML API (v1.4)