Class DsmlModification
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlModification
-
public class DsmlModification extends Object
Java class for DsmlModification complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DsmlModification"> <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" /> <attribute name="operation" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="add"/> <enumeration value="delete"/> <enumeration value="replace"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DsmlModification.ModificationOperationType
Java class for null.
-
Constructor Summary
Constructors Constructor Description DsmlModification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Gets the value of the name property.DsmlModification.ModificationOperationType
getOperation()
Gets the value of the operation property.List<Object>
getValue()
Gets the value of the value property.void
setName(String value)
Sets the value of the name property.void
setOperation(DsmlModification.ModificationOperationType value)
Sets the value of the operation property.
-
-
-
Field Detail
-
name
protected String name
-
operation
protected DsmlModification.ModificationOperationType operation
-
-
Method Detail
-
getValue
public List<Object> getValue()
Gets the value of the value 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 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
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getOperation
public DsmlModification.ModificationOperationType getOperation()
Gets the value of the operation property.- Returns:
- possible object is
DsmlModification.ModificationOperationType
-
setOperation
public void setOperation(DsmlModification.ModificationOperationType value)
Sets the value of the operation property.- Parameters:
value
- allowed object isDsmlModification.ModificationOperationType
-
-