Class OnCondition

java.lang.Object
org.neuroml.model.OnCondition
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2

public class OnCondition extends Object implements org.jvnet.jaxb2_commons.lang.ToString2

Java class for OnCondition complex type.

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

 <complexType name="OnCondition">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="StateAssignment" type="{http://www.neuroml.org/schema/neuroml2}StateAssignment" maxOccurs="unbounded" minOccurs="0"/>
         <element name="EventOut" type="{http://www.neuroml.org/schema/neuroml2}EventOut" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Transition" type="{http://www.neuroml.org/schema/neuroml2}Transition" minOccurs="0"/>
       </sequence>
       <attribute name="test" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • OnCondition

      public OnCondition()
  • Method Details

    • getStateAssignment

      public List<StateAssignment> getStateAssignment()
      Gets the value of the stateAssignment 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 stateAssignment property.

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

          getStateAssignment().add(newItem);
       

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

    • getEventOut

      public List<EventOut> getEventOut()
      Gets the value of the eventOut 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 eventOut property.

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

          getEventOut().add(newItem);
       

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

    • getTransition

      public Transition getTransition()
      Gets the value of the transition property.
      Returns:
      possible object is Transition
    • setTransition

      public void setTransition(Transition value)
      Sets the value of the transition property.
      Parameters:
      value - allowed object is Transition
    • getTest

      public String getTest()
      Gets the value of the test property.
      Returns:
      possible object is String
    • setTest

      public void setTest(String value)
      Sets the value of the test property.
      Parameters:
      value - allowed object is String
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2