Package org.neuroml.model
Class Annotation
java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.Annotation
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2
A structured annotation containing metadata, specifically RDF or **property** elements
Java class for Annotation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Annotation"> <complexContent> <extension base="{http://www.neuroml.org/schema/neuroml2}BaseWithoutId"> <sequence> <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappend
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) getAny()
Gets the value of the any property.toString()
-
Field Details
-
any
-
-
Constructor Details
-
Annotation
public Annotation()
-
-
Method Details
-
getAny
Gets the value of the any 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 any property.For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Element
-
toString
- Overrides:
toString
in classBaseWithoutId
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
append
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
- Overrides:
append
in classBaseWithoutId
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFields
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
- Overrides:
appendFields
in classBaseWithoutId
-