public class DsmlAttr extends Object
Java class for DsmlAttr complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DsmlAttr"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="value" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlValue" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}AttributeDescriptionValue" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected List<Object> |
value |
Constructor and Description |
---|
DsmlAttr() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the value of the name property.
|
List<Object> |
getValue()
Gets the value of the value property.
|
void |
setName(String value)
Sets the value of the name property.
|
public List<Object> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getName()
String
Copyright © 2018 Open eHealth Foundation. All rights reserved.