Package org.neuroml.model
Class Constant
java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.Constant
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2
LEMS ComponentType for Constant.
Java class for Constant complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Constant"> <complexContent> <extension base="{http://www.neuroml.org/schema/neuroml2}BaseWithoutId"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="dimension" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity" /> <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /> </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) Gets the value of the description property.Gets the value of the dimension property.getName()
Gets the value of the name property.getValue()
Gets the value of the value property.void
setDescription
(String value) Sets the value of the description property.void
setDimension
(String value) Sets the value of the dimension property.void
Sets the value of the name property.void
Sets the value of the value property.toString()
-
Field Details
-
name
-
dimension
-
value
-
description
-
-
Constructor Details
-
Constant
public Constant()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getDimension
Gets the value of the dimension property.- Returns:
- possible object is
String
-
setDimension
Sets the value of the dimension property.- Parameters:
value
- allowed object isString
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value
- allowed object isString
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
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
-