com.evolveum.prism.xml.ns._public.types_2
Class ObjectDeltaType

java.lang.Object
  extended by com.evolveum.prism.xml.ns._public.types_2.ObjectDeltaType

public class ObjectDeltaType
extends Object

Describes a change of a specific object. This is abstract type. It cannot be used directly. Use the subtypes instead.

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-2}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-2}ItemDeltaType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ObjectDeltaType.ObjectToAdd
          Java class for anonymous complex type.
 
Field Summary
protected  ChangeTypeType changeType
           
protected  List<ItemDeltaType> modification
           
protected  ObjectDeltaType.ObjectToAdd objectToAdd
           
protected  QName objectType
           
protected  String oid
           
 
Constructor Summary
ObjectDeltaType()
           
 
Method Summary
 boolean equals(Object obj)
           
 ChangeTypeType getChangeType()
          Gets the value of the changeType property.
 List<ItemDeltaType> getModification()
          Gets the value of the modification property.
 ObjectDeltaType.ObjectToAdd 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.
 void setObjectToAdd(ObjectDeltaType.ObjectToAdd 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

changeType

protected ChangeTypeType changeType

objectType

protected QName objectType

objectToAdd

protected ObjectDeltaType.ObjectToAdd objectToAdd

oid

protected String oid

modification

protected List<ItemDeltaType> modification
Constructor Detail

ObjectDeltaType

public ObjectDeltaType()
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 is ChangeTypeType

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 is QName

getObjectToAdd

public ObjectDeltaType.ObjectToAdd getObjectToAdd()
Gets the value of the objectToAdd property.

Returns:
possible object is ObjectDeltaType.ObjectToAdd

setObjectToAdd

public void setObjectToAdd(ObjectDeltaType.ObjectToAdd value)
Sets the value of the objectToAdd property.

Parameters:
value - allowed object is ObjectDeltaType.ObjectToAdd

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 is String

getModification

public List<ItemDeltaType> getModification()
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()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 evolveum. All Rights Reserved.