|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object neuroml.channel.Gate
public class Gate
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 |
---|
protected java.util.List<Gate.State> state
protected java.math.BigInteger power
Constructor Detail |
---|
public Gate()
Method Detail |
---|
public java.util.List<Gate.State> getState()
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
public java.math.BigInteger getPower()
BigInteger
public void setPower(java.math.BigInteger value)
value
- allowed object is
BigInteger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |