public class ObjectDeltaType extends Object implements Serializable, JaxbVisitable
Java class for ObjectDeltaType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ObjectDeltaType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="changeType" type="{http://prism.evolveum.com/xml/ns/public/types-3}ChangeTypeType"/> <element name="objectType" type="{http://www.w3.org/2001/XMLSchema}QName"/> <element name="objectToAdd" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any processContents='lax'/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="oid" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="modification" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemDeltaType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
ObjectDeltaType.ObjectToAdd
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected ChangeTypeType |
changeType |
static QName |
COMPLEX_TYPE |
static QName |
F_CHANGE_TYPE |
static QName |
F_ITEM_DETLA |
static QName |
F_OBJECT_TO_ADD |
static QName |
F_OBJECT_TYPE |
protected List<ItemDeltaType> |
itemDelta |
protected ObjectType |
objectToAdd |
protected QName |
objectType |
protected String |
oid |
Constructor and Description |
---|
ObjectDeltaType() |
Modifier and Type | Method and Description |
---|---|
void |
accept(JaxbVisitor visitor) |
ObjectDeltaType |
clone()
Clones the object (objectToAdd is cloned using reflection, assuming it is a subclass of ObjectType, that has public clone() method)
|
boolean |
equals(Object obj) |
ChangeTypeType |
getChangeType()
Gets the value of the changeType property.
|
List<ItemDeltaType> |
getItemDelta()
Gets the value of the modification property.
|
ObjectType |
getObjectToAdd()
Gets the value of the objectToAdd property.
|
QName |
getObjectType()
Gets the value of the objectType property.
|
String |
getOid()
Gets the value of the oid property.
|
int |
hashCode() |
void |
setChangeType(ChangeTypeType value)
Sets the value of the changeType property.
|
<T extends ObjectType> |
setObjectToAdd(T value)
Sets the value of the objectToAdd property.
|
void |
setObjectType(QName value)
Sets the value of the objectType property.
|
void |
setOid(String value)
Sets the value of the oid property.
|
String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected ChangeTypeType changeType
protected QName objectType
protected ObjectType objectToAdd
protected String oid
protected final List<ItemDeltaType> itemDelta
public static final QName COMPLEX_TYPE
public static final QName F_CHANGE_TYPE
public static final QName F_OBJECT_TYPE
public static final QName F_OBJECT_TO_ADD
public static final QName F_ITEM_DETLA
public ChangeTypeType getChangeType()
ChangeTypeType
public void setChangeType(ChangeTypeType value)
value
- allowed object is
ChangeTypeType
public QName getObjectType()
QName
public void setObjectType(QName value)
value
- allowed object is
QName
public ObjectType getObjectToAdd()
public <T extends ObjectType> void setObjectToAdd(T value)
public String getOid()
String
public void setOid(String value)
value
- allowed object is
String
public List<ItemDeltaType> getItemDelta()
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 modification property.
For example, to add a new item, do as follows:
getModification().add(newItem);
Objects of the following type(s) are allowed in the list
ItemDeltaType
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public ObjectDeltaType clone()
Copyright © 2021 Evolveum. All rights reserved.