Class ObjectModificationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class ObjectModificationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Describes a change of attributes of a specific object. All changes are expected to happen atomically, but there may be exceptions. Please check with the documentation of the interface using this type for more details. Used in the interfaces (modifyObject) <p>Java class for ObjectModificationType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="ObjectModificationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="oid" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="itemDelta" type="{http://prism.evolveum.com/xml/ns/public/types-3}ItemDeltaType" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ITEM_DELTA
static ItemName
F_OID
protected List<ItemDeltaType>
itemDelta
protected String
oid
-
Constructor Summary
Constructors Constructor Description ObjectModificationType()
Creates a new {@code ObjectModificationType} instance.ObjectModificationType(ObjectModificationType o)
Creates a new {@code ObjectModificationType} instance by deeply copying a given {@code ObjectModificationType} instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ItemDeltaType
beginItemDelta()
ObjectModificationType
clone()
Creates and returns a deep copy of this object.boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
List<ItemDeltaType>
getItemDelta()
Gets the value of the itemDelta property.String
getOid()
Gets the value of the oid property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
ObjectModificationType
itemDelta(ItemDeltaType value)
ObjectModificationType
oid(String value)
void
setOid(String value)
Sets the value of the oid property.String
toString()
Generates a String representation of the contents of this type.
-
-
-
Constructor Detail
-
ObjectModificationType
public ObjectModificationType()
Creates a new {@code ObjectModificationType} instance.
-
ObjectModificationType
public ObjectModificationType(ObjectModificationType o)
Creates a new {@code ObjectModificationType} instance by deeply copying a given {@code ObjectModificationType} instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- if {@code o} is {@code null}.
-
-
Method Detail
-
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 itemDelta property. <p> 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 <CODE>set</CODE> method for the itemDelta property. <p> For example, to add a new item, do as follows: <pre> getItemDelta().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listItemDeltaType
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
oid
public ObjectModificationType oid(String value)
-
itemDelta
public ObjectModificationType itemDelta(ItemDeltaType value)
-
beginItemDelta
public ItemDeltaType beginItemDelta()
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
-
clone
public ObjectModificationType clone()
Creates and returns a deep copy of this object.
-
-