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

java.lang.Object
  extended by com.evolveum.prism.xml.ns._public.types_2.ObjectDeltaType
All Implemented Interfaces:
java.io.Serializable

public class ObjectDeltaType
extends java.lang.Object
implements java.io.Serializable

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="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>
 

See Also:
Serialized Form

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

Field Detail

changeType

protected ChangeTypeType changeType

objectToAdd

protected ObjectDeltaType.ObjectToAdd objectToAdd

oid

protected java.lang.String oid

modification

protected java.util.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

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 java.lang.String getOid()
Gets the value of the oid property.

Returns:
possible object is String

setOid

public void setOid(java.lang.String value)
Sets the value of the oid property.

Parameters:
value - allowed object is String

getModification

public java.util.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 java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 evolveum. All Rights Reserved.