public class ChangeSpecification extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}type" minOccurs="0"/> <element name="fromVersion" type="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}Resource" minOccurs="0"/> <element name="hasChange" maxOccurs="3" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="Addition" type="{http://purl.org/wf4ever/roevo#}Change"/> <element name="Modification" type="{http://purl.org/wf4ever/roevo#}Change"/> <element name="Removal" type="{http://purl.org/wf4ever/roevo#}Change"/> </choice> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
ChangeSpecification.HasChange
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected Resource |
fromVersion |
protected List<ChangeSpecification.HasChange> |
hasChange |
protected Type |
type |
Constructor and Description |
---|
ChangeSpecification() |
Modifier and Type | Method and Description |
---|---|
Resource |
getFromVersion()
Gets the value of the fromVersion property.
|
List<ChangeSpecification.HasChange> |
getHasChange()
Gets the value of the hasChange property.
|
Type |
getType()
Gets the value of the type property.
|
void |
setFromVersion(Resource value)
Sets the value of the fromVersion property.
|
void |
setType(Type value)
Sets the value of the type property.
|
protected Type type
protected Resource fromVersion
protected List<ChangeSpecification.HasChange> hasChange
public void setType(Type value)
value
- allowed object is
Type
public Resource getFromVersion()
Resource
public void setFromVersion(Resource value)
value
- allowed object is
Resource
public List<ChangeSpecification.HasChange> getHasChange()
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 hasChange property.
For example, to add a new item, do as follows:
getHasChange().add(newItem);
Objects of the following type(s) are allowed in the list
ChangeSpecification.HasChange
Copyright © 2014 myGrid. All rights reserved.