Class OnEvent

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

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

Java class for OnEvent complex type.

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

 <complexType name="OnEvent">
   <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"/>
       </sequence>
       <attribute name="port" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • OnEvent

      public OnEvent()
  • 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

    • getPort

      public String getPort()
      Gets the value of the port property.
      Returns:
      possible object is String
    • setPort

      public void setPort(String value)
      Sets the value of the port 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