Class BaseNonNegativeIntegerId

java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.BaseNonNegativeIntegerId
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
BaseConnection, Input, Segment, Spike

public class BaseNonNegativeIntegerId extends BaseWithoutId implements org.jvnet.jaxb2_commons.lang.ToString2
Anything which can have a unique (within its parent) id, which must be an integer zero or greater.

Java class for BaseNonNegativeIntegerId complex type.

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

 <complexType name="BaseNonNegativeIntegerId">
   <complexContent>
     <extension base="{http://www.neuroml.org/schema/neuroml2}BaseWithoutId">
       <attribute name="id" use="required" type="{http://www.neuroml.org/schema/neuroml2}NonNegativeInteger" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • BaseNonNegativeIntegerId

      public BaseNonNegativeIntegerId()
  • Method Details

    • getId

      public Integer getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(Integer value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • toString

      public String toString()
      Overrides:
      toString in class BaseWithoutId
    • 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
      Overrides:
      append in class BaseWithoutId
    • 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
      Overrides:
      appendFields in class BaseWithoutId