Class ObjectDeltaType
java.lang.Object
com.evolveum.prism.xml.ns._public.types_3.ObjectDeltaType
- All Implemented Interfaces:
PlainStructured
,PlainStructured.WithoutStrategy
,JaxbVisitable
,Serializable
,Cloneable
public class ObjectDeltaType
extends Object
implements PlainStructured.WithoutStrategy, JaxbVisitable
Describes a change of a specific object.
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>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Java class for anonymous complex type.Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy
-
Field Summary
Modifier and TypeFieldDescriptionprotected ChangeTypeType
static final QName
static final QName
static final QName
static final QName
static final QName
protected final List<ItemDeltaType>
protected ObjectType
protected QName
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(JaxbVisitor visitor) clone()
Clones the object (objectToAdd is cloned using reflection, assuming it is a subclass of ObjectType, that has public clone() method)boolean
Gets the value of the changeType property.Gets the value of the modification property.Gets the value of the objectToAdd property.Gets the value of the objectType property.getOid()
Gets the value of the oid property.int
hashCode()
void
setChangeType
(ChangeTypeType value) Sets the value of the changeType property.<T extends ObjectType>
voidsetObjectToAdd
(T value) Sets the value of the objectToAdd property.void
setObjectType
(QName value) Sets the value of the objectType property.void
Sets the value of the oid property.toString()
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured.WithoutStrategy
equals, hashCode
-
Field Details
-
COMPLEX_TYPE
-
F_CHANGE_TYPE
-
F_OBJECT_TYPE
-
F_OBJECT_TO_ADD
-
F_ITEM_DETLA
-
changeType
-
objectType
-
objectToAdd
-
oid
-
itemDelta
-
-
Constructor Details
-
ObjectDeltaType
public ObjectDeltaType()
-
-
Method Details
-
getChangeType
Gets the value of the changeType property.- Returns:
- possible object is
ChangeTypeType
-
setChangeType
Sets the value of the changeType property.- Parameters:
value
- allowed object isChangeTypeType
-
getObjectType
Gets the value of the objectType property.- Returns:
- possible object is
QName
-
setObjectType
Sets the value of the objectType property.- Parameters:
value
- allowed object isQName
-
getObjectToAdd
Gets the value of the objectToAdd property. -
setObjectToAdd
Sets the value of the objectToAdd property. -
getOid
Gets the value of the oid property.- Returns:
- possible object is
String
-
setOid
Sets the value of the oid property.- Parameters:
value
- allowed object isString
-
getItemDelta
Gets the value of the modification 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 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
-
hashCode
public int hashCode() -
equals
-
toString
-
accept
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
Clones the object (objectToAdd is cloned using reflection, assuming it is a subclass of ObjectType, that has public clone() method)- Specified by:
clone
in interfacePlainStructured
- Overrides:
clone
in classObject
- Returns:
- copy of the object
-