Class ObjectDeltaType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectDeltaType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable
public class ObjectDeltaType extends Object implements Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectDeltaType.ObjectToAddJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ChangeTypeTypechangeTypestatic QNameCOMPLEX_TYPEstatic QNameF_CHANGE_TYPEstatic QNameF_ITEM_DETLAstatic QNameF_OBJECT_TO_ADDstatic QNameF_OBJECT_TYPEprotected List<ItemDeltaType>itemDeltaprotected ObjectTypeobjectToAddprotected QNameobjectTypeprotected Stringoid
-
Constructor Summary
Constructors Constructor Description ObjectDeltaType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ObjectDeltaTypeclone()Clones the object (objectToAdd is cloned using reflection, assuming it is a subclass of ObjectType, that has public clone() method)booleanequals(Object obj)ChangeTypeTypegetChangeType()Gets the value of the changeType property.List<ItemDeltaType>getItemDelta()Gets the value of the modification property.ObjectTypegetObjectToAdd()Gets the value of the objectToAdd property.QNamegetObjectType()Gets the value of the objectType property.StringgetOid()Gets the value of the oid property.inthashCode()voidsetChangeType(ChangeTypeType value)Sets the value of the changeType property.<T extends ObjectType>
voidsetObjectToAdd(T value)Sets the value of the objectToAdd property.voidsetObjectType(QName value)Sets the value of the objectType property.voidsetOid(String value)Sets the value of the oid property.StringtoString()
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_CHANGE_TYPE
public static final QName F_CHANGE_TYPE
-
F_OBJECT_TYPE
public static final QName F_OBJECT_TYPE
-
F_OBJECT_TO_ADD
public static final QName F_OBJECT_TO_ADD
-
F_ITEM_DETLA
public static final QName F_ITEM_DETLA
-
changeType
protected ChangeTypeType changeType
-
objectType
protected QName objectType
-
objectToAdd
protected ObjectType objectToAdd
-
oid
protected String oid
-
itemDelta
protected final List<ItemDeltaType> itemDelta
-
-
Method Detail
-
getChangeType
public ChangeTypeType getChangeType()
Gets the value of the changeType property.- Returns:
- possible object is
ChangeTypeType
-
setChangeType
public void setChangeType(ChangeTypeType value)
Sets the value of the changeType property.- Parameters:
value- allowed object isChangeTypeType
-
getObjectType
public QName getObjectType()
Gets the value of the objectType property.- Returns:
- possible object is
QName
-
setObjectType
public void setObjectType(QName value)
Sets the value of the objectType property.- Parameters:
value- allowed object isQName
-
getObjectToAdd
public ObjectType getObjectToAdd()
Gets the value of the objectToAdd property.
-
setObjectToAdd
public <T extends ObjectType> void setObjectToAdd(T value)
Sets the value of the objectToAdd property.
-
getOid
public String getOid()
Gets the value of the oid property.- Returns:
- possible object is
String
-
setOid
public void setOid(String value)
Sets the value of the oid property.- Parameters:
value- allowed object isString
-
getItemDelta
public List<ItemDeltaType> 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
setmethod 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
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public ObjectDeltaType clone()
Clones the object (objectToAdd is cloned using reflection, assuming it is a subclass of ObjectType, that has public clone() method)
-
-