Enum ConductanceLaw

java.lang.Object
java.lang.Enum<ConductanceLaw>
org.neuroml1.model.channel.ConductanceLaw
All Implemented Interfaces:
Serializable, Comparable<ConductanceLaw>, java.lang.constant.Constable

public enum ConductanceLaw extends Enum<ConductanceLaw>

Java class for ConductanceLaw.

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

 <simpleType name="ConductanceLaw">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="ohmic"/>
     <enumeration value="integrate_and_fire"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • OHMIC

      public static final ConductanceLaw OHMIC
      Current is given by membrane potential times conductance (Ohm's law)
    • INTEGRATE_AND_FIRE

      public static final ConductanceLaw INTEGRATE_AND_FIRE
      Signifies a current which will cause the cell to behave like an integrate and fire neuron.
  • Method Details

    • values

      public static ConductanceLaw[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ConductanceLaw valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static ConductanceLaw fromValue(String v)